Aptitude is a quite powerful package manager leveraging CLI and an ncurses-style interface.

learn more… | top users | synonyms

104
votes
6answers
34k views

Is aptitude still considered superior to apt-get?

When I first started with Ubuntu using aptitude was the 'in-thing', with some stated improvements over apt-get. Am I correct in saying that apt-get has now 'caught up' with aptitude, and it makes ...
1
vote
0answers
3k views

Update manager generates 404 error while attempting update. Will not update [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? While running update manager in Ubuntu 11.10 Oneric Ocelot I receive this list of errors. > W:Failed to fetch > ...
20
votes
6answers
6k views

How do I figure out what package something is in without resorting to Google?

I often find myself wanting to install something, but I'm unsure of what package it's in. This is a very common occurrence for me: $ make html sphinx-build -b djangohtml -d _build/doctrees . ...
21
votes
1answer
11k views

Restoring all data and dependencies from dpkg --set-selections '*'

So I can run on one machine: dpkg --get-selections '*' > selection.txt On another machine: dpkg --set-selections < selection.txt ... followed by either of the following: aptitude install ...
39
votes
2answers
10k views

What is the difference between dpkg and aptitude/apt-get?

When installing a software via dpkg -i packageA.deb, will the dependencies required by packageA be downloaded and installed automatically? How is this different from using apt-get or aptitude?
13
votes
1answer
6k views

Assign highest priority to my local repository

Summary How can I make apt-get prefer local repository packages instead of downloading again the same package version from official repositories? The local repository is signed and trusted. We've ...
26
votes
8answers
11k views

Generating list of manually installed packages and querying individual packages

I'd like to get a list of packages installed manually by apt or aptitude and be able to find out whether a foobar package was installed manually or automatically. Is there any neat way of doing that ...
4
votes
3answers
3k views

Backup Software Sources

In Ubuntu 10.04, when I goto System > Administration > Software Sources and goto the Authentication tab, I can view all of my keys allowing me to download from third party sources. How would I back ...
15
votes
1answer
12k views

Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files?

When running apt-get -y install <packages ...> on Ubuntu 10.04 I would like apt-get (or aptitude if that makes it easier) to not prompt me when installing additional dependencies (behavior of -y ...
8
votes
2answers
9k views

I can't add PPA repository behind the proxy

I'm trying to add the ppa repository (as a root) with the following command: export HTTP_PROXY="http://firstname.surname@xxx.com:my_pass@165.x.x.232:8080" add-apt-repository ppa:nilarimogard/webupd8 ...
3
votes
1answer
1k views

apt-get : unmet dependencies

I wish to compile vim7.3 with python-interp enabled, which requires python-dev package. The problem is I have python-2.6.6-2ubuntu2 while python-dev requires python-2.6.6-2ubuntu1. (I don't how i got ...
6
votes
2answers
4k views

How can I make apt-get upgrade the kernel, similarly to aptitude?

Installed new Ubuntu Server 12.04 on Windows Azure After apt-get upgrade, console shows: The following packages have been kept back: linux-image-extra-virtual linux-image-virtual linux-tools ...
4
votes
2answers
703 views

list all suggested packages for currently installed packages

Every time I install a package: sudo apt-get install <pkg> apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good ...
4
votes
1answer
1k views

Why does aptitude want to remove a bunch of files?

Recently I encountered dependencies resolve issues when using APTITUDE (it is my favorite). Nevertheless, I started to feel that APTITUDE does not behave as it is supposed to be in 64 bits systems ...
3
votes
2answers
360 views

How can I set up aptitude-curses so that it doesn't automatically select *recommended* packages?

When I select a package for installation using aptitude-curses, sometimes a huge list of extra packages appear selected under "Packages being automatically installed to satisfy dependencies". When I ...
2
votes
1answer
2k views

Installing flash on Ubuntu

I have an EC2 instance running Ubuntu 12.10 and I'd like to install Flash Player on it. However, when I try to install it as follows, I'm unable to. Some hint on how I could proceed? Thanks. $ sudo ...
2
votes
1answer
3k views

packages been kept back

I tried both aptitude -y safe-upgrade and apt-get upgrade -f but in both cases, I get: Reading package lists... Done Building dependency tree Reading state information... Done The following ...
2
votes
1answer
4k views

Which INPUT rules do I need to add to iptables so apt (apt-get, aptitude) can work (update, upgrade, search, install)?

I need to use aptitude to update and install software but it fails. It says... 0% [Connecting to archive.ubuntu.com] ...and halts. I need to type CTRL-C to move out. I'm using Ubuntu Server 10.04 ...
1
vote
1answer
5k views

How do I install missing dependencies on my system?

I was fooling around trying to fix this problem, and I removed some important packages. When I realized that it was cleaning out more things that I had intended, I just rebooted, rather than try to ...
0
votes
1answer
168 views

aptitude problem using mariadb repository on Ubuntu 13.10

I installed mariadb 5.5 on my ubuntu laptop like described here: sudo add-apt-repository "deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu $(lsb_release -c -s) main" and it works fine so far, ...
20
votes
4answers
781 views

Is it possible to tell what packages I've installed that aren't in the vanilla install?

I've upgraded Ubuntu on my laptop all the way from 7.04 to 10.04 without ever wiping the disk. I have a sneaking suspicion that means I have a bunch of crufty packages that I don't use and that are ...
22
votes
3answers
5k views

apt-get vs. aptitude .vs synaptic compatibility

I had been a Debian user for almost 3 years... but memories have gone really fuzzy... I "kind of" remember that I should only use one of the package managers... Either apt-get, aptitude, or synaptic, ...
11
votes
3answers
4k views

Why does update-mime-database complain about uri/rtspt and other unusual types?

When running update-mime-database - usually automatically launched by apt-get - why do I reliably get complaints like: Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' ...
10
votes
3answers
6k views

How to use wildcards with aptitude?

Is there a way to use wildcards with aptitude such as in the following: sudo apt-get remove openoffice*.*
7
votes
1answer
644 views

Can I see more details of an aptitude dist-upgrade? [duplicate]

When I type aptitude dist-upgrade I get for example: Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information ...
3
votes
1answer
485 views

How to list installed packages in apt that are not backed by a repository?

I suppose you could build a list of all packages that would be installed if you started with an empty apt database and installed everything that deborphan -a currently tells you. Then compare that ...
25
votes
3answers
1k views

Why was aptitude removed in favor of apt-get?

Why was aptitude removed in favor of apt-get by default? I read it somewhere, but forgot - anyone bother to clear it up? And doesn't Debian prefer aptitude and Canonical apt-get? Update From the ...
12
votes
2answers
488 views

Possible problems in mixed use of apt-get, aptitude and synaptic

Even though aptitude and synaptic are both front-end to the APT (and I myself stick only with apt-get), peculiarities in each of the available dpkg/APT frontends seem to cause problems and confusions ...
10
votes
2answers
12k views

How to remove warnings like `Unknown media type …`

Each time apt-get tries to process triggers for shared-mime-info, it reports warnings like: ... Processing triggers for shared-mime-info... Unknown media type in type 'all/all' Unknown media type in ...
8
votes
4answers
9k views

Why does apt-get fail when automated with cron?

I'm trying to use cron to automate my system updates. You can see my crontab, commands, and resulting errors below. When I run upgrades.sh as root, the script runs fine. When cron runs it, apt-get -y ...
5
votes
2answers
235 views

How exactly does Synaptic keep track of “New in repository” packages?

Is this info part of APT cache or does it create a separate file to compare with new cache? Where is it stored then?
19
votes
6answers
9k views

How to see packages installed on a given date using aptitude

Does anyone know if there's an easy way to find a list of packages installed, sorted by date, when using aptitude (or apt-get)? I was installing a bunch of packages to try something new, and it ...
10
votes
3answers
9k views

Why does “tasksel” give an “aptitude failed” error?

The problem started in the following way. I was using tasksel from the terminal menu that it shows when I simply do sudo tasksel. I select Lamp Server from the list and started to install all packages ...
8
votes
3answers
785 views

Is there a way to check if a program is available in the repository by commandline?

When i find a interesting program i want to test and install in ubuntu i first check if it's available in the repository. For that i use the software center. But does a possibility exist to check it ...
8
votes
3answers
4k views

What is the equivalent apt-get or aptitude command

Is there an equivalent to the yum "whatprovides" option in apt-get? For example on CentOS yum whatprovides /usr/share/gdm/themes/TreeFlower/background.png Tells me ...
7
votes
2answers
3k views

Is there a safe way to reinstall via the package manager?

Assume, I have a system with all the packages installed, which I want, and all configuration files set up as desired. However, the files on the file system could have become corrupted or missing due ...
3
votes
1answer
4k views

Using sudo aptitude/apt-get update does not work

Trying to update via terminal via aptitude or apt-get is not working. There is no other package management program running in the background or any other user. I tried both, sudo aptitude update ...
3
votes
2answers
3k views

How do I pin a particular MySQL version to avoid unnecessary upgrades?

I'm running a MySQL server, and want to keep it up to date with regular apt-upgrades. I don't want this to cause MySQL to upgrade unless I'm doing it during scheduled downtime! How do I alter my ...
2
votes
2answers
715 views

How to install a package from a PPA and ignore the official one?

How do I tell aptitude to grab a package specifically from a PPA and ignore the one from official repository?
17
votes
1answer
1k views

How to remove everything Ubuntu One-related?

Is sudo aptitude purge ubuntuone? sufficient to remove everything Ubuntu One-related from my system?
3
votes
1answer
318 views

Show available/installed version in the output of aptitude search

Is it possible to make aptitude show the available/installed version of a package in an output of aptitude search mypackage? I know that I can show the version via aptitude show mypackage, but I want ...
2
votes
0answers
156 views

Rollback instead of completing dpkg-configure -a?

On a new VPS, aptitude dist-upgrade hangs during /usr/sbin/grub. Now, aptitude is in a bad state: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. I ...
1
vote
1answer
95 views

How do I find which packages could be set as automatically installed?

I am having a hard time understand who depends on who using apt-cache depends and apt-cache rdepends. I am keeping a long list of packages that I installed to solve a number of dependency problems. I ...
0
votes
0answers
42 views

How can you add a second main repository to sources.list?

I had a problem with some software, that doesn't provide a PPA but a whole alternative main repository, to install it. adding that repository to my sources.list made aptitude install a newer kernel ...
0
votes
1answer
593 views

Cannot add or remove packages; Errors were encountered while processing: libbz2-1.0 libbz2-1.0:i386

I noticed Ubuntu had not asked me to update in a while, which is strange. So, I opened the update manager and received the message, Software index is broken It is impossible to install or remove any ...
0
votes
1answer
2k views

aptitude upgrade linux 3.2.0-39 problem

since yesterday I am trying to upgrade my system to the latest version. I am using Ubuntu Server 12.04.2 LTS. The strangest thing happens when I try to upgrade my system. Here is the output of ...
0
votes
1answer
220 views

how safe is deb http://debian.nfgd.net/debian unstable main?

How safe is it to install these two packages? root@dur:/home/thufir# root@dur:/home/thufir# tail /etc/apt/sources.list ## This software is not part of Ubuntu, but is offered by third-party ## ...
0
votes
1answer
1k views

aptitude unable to find dependencies, broken packages

I installed an ubuntu on a virtual machine 6 months ago. I never needed a ssh connection until now. But when I try to install sshd, I get this error: root@onur-vmdesktop:/home/onur# apt-get install ...