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

learn more… | top users | synonyms

114
votes
6answers
48k 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
7k 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 . ...
24
votes
1answer
15k 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 ...
56
votes
2answers
19k 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?
17
votes
1answer
9k 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 ...
49
votes
9answers
17k 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 ...
21
votes
1answer
17k 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 ...
3
votes
2answers
2k views

Can I use apt-get or aptitude to install software to non standard location?

When I install a software using apt-get it installs to default locations i.e to /usr/bin, /usr/lib, /usr/share and etc. For example when I install "Meld Diff Viewer" using sudo apt-get install meld ...
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 ...
5
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 ...
11
votes
3answers
8k 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*.*
6
votes
3answers
13k views

How to remove/install a package that is not fully installed?

I went to install bsnes the other day and for whatever reason the installation failed. Now, I cannot update, install new packages, or do basically any apt-get commands as they all try to process this ...
3
votes
1answer
4k 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 ...
15
votes
2answers
19k 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 ...
11
votes
2answers
13k 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
628 views

whats the difference between tasksel and normal methods

Recently I have gone through tasksel command usage because of LAMP server setup. Why can't I use apt-get or aptitude there? Why does the Ubuntu wiki page suggest to do it with tasksel only. Is there ...
6
votes
2answers
1k 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 ...
2
votes
1answer
5k 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 ...
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
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
449 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
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 ...
1
vote
1answer
6k 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
310 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
888 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 ...
8
votes
7answers
11k views

Saving deb files from repositories to a custom location for installing offline [duplicate]

Possible Duplicate: How can I install software offline? I want to download and save some deb files, and preferably their dependencies, of certain apps, from the repositories (apt-get, ...
24
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, ...
12
votes
3answers
6k 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' ...
8
votes
2answers
2k views

How to prevent apt-get/aptitude keeping a cache

I have installed Apt-Cacher NG to provide a cache of packages for several machines. I therefore see no point in having aptitude/apt-get keeping their own (second) cache in /var/cache/apt/archives. I ...
7
votes
3answers
2k views

How do I install a package with aptitude?

I've looked at an aptitude tutorial and read the man page, but I just don't get it. After you launch aptitude, how do you say "install package foo"? Or search for all packages with "foo" in their ...
7
votes
1answer
695 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
654 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 ...
26
votes
9answers
11k 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 ...
25
votes
3answers
2k 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
4answers
12k 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 ...
12
votes
2answers
547 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
4answers
11k 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
269 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?
4
votes
2answers
739 views

What is apt-get equivalent of “aptitude why”?

In this answer, I came across this command: aptitude why firefox aptitude whylooks like an useful command but I don't want to install aptitude just for that. What is the apt-get equivalent of ...
10
votes
7answers
8k views

Ubuntu tells me I have packages to upgrade when I don't

I have a server machine that I never log into the X display on, only via ssh. Recently I logged in and it told me I had 12 packages can be updated. 6 updates are security updates. I actually ...
10
votes
3answers
5k 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 ...
8
votes
3answers
870 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 ...
7
votes
2answers
4k 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
4k 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
3answers
8k views

how do I downgrade google chrome?

Presumably after an update, google chrome has very serious problems with page rendering. I want to downgrade it. (Switching to vmlinuz.old and initrd.img.old did not help). $ apt-cache policy ...
2
votes
2answers
927 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?
8
votes
1answer
474 views

Why does aptitude insist on installing packages?

Why does aptitude want to install so many packages when I simply run the following? sudo aptitude install I'd rather not provide specific packages it wants to install because this has happened ...