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

learn more… | top users | synonyms

1
vote
1answer
217 views

install package with apt-get and remove with aptitude?

Anything wrong with this practice? would it work? If I install package with apt-get and remove with aptitude? In addition, I recently removed webmin. Does apt-get --purge remove - delete also ...
2
votes
1answer
3k 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 ...
4
votes
1answer
127 views

Remove aptitude's “Press Enter To Continue” after installations

Whenever I install/update with the curses interface of aptitude, it keeps the log window open and asks you to press enter. Can I just let aptitude skip this and return to the main screen if nothing ...
22
votes
3answers
2k views

Command-line equivalences of some tasks in Synaptic

I already use apt-get for most of my package management. Yet, there are times when I occasionally need to use Synaptic to do certain things. I would like to learn the equivalent commands for doing the ...
10
votes
3answers
5k 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*.*
2
votes
2answers
2k views

How to install aptitude without an internet connection?

I've just installed Ubuntu 11.04 and there no internet connection. Firstly I've tried sudo apt-get install aptitude, but it says that there's no installation for this. Then I downloaded on USB ...
1
vote
1answer
1k views

How do I remove a package with “rU” status?

I was trying to install some 32bit libraries with dpkg -i --force-architecture command. But it failed due to dependency problem. Now if I try to install 64 bit version of the same library, it says it ...
4
votes
1answer
183 views

Annotating packages at installation to ease maintenance with apt / aptitude

I manage my packages with aptitude. I occasionally go through my list of packages, removing obsolete applications (in the sense that I do not want to use them any more). For example, while I have a ...
7
votes
2answers
2k 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 ...
1
vote
1answer
4k 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 ...
2
votes
2answers
602 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?
3
votes
1answer
106 views

How can I prevent a package from being automatically removed in order to install another one?

This is the example: I want to install elementary-desktop (from PPA), but it requires to remove esound in order to install pulseaudio (which I removed because it was causing problems with many apps). ...
0
votes
4answers
1k views

How to do critical system updates through the Command Line under Kubuntu 10.10

I really need to do some system updates because sometimes my S.O Kubuntu 10.10 fails to start, crash down or keeps freezing after I log in. The problem is, I cannot use KPackageKit because it ...
7
votes
2answers
7k 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 ...
4
votes
1answer
1k views

Crash during installation of flashplugin-installer after upgrade

I can't install flashplugin-installer after having upgraded from Maverick to Natty. Something crashes during the installation: $ sudo aptitude install flashplugin-installer The following NEW packages ...
10
votes
7answers
6k 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 ...
0
votes
2answers
174 views

Ubuntu Netbook update interrupted

I was updating my netbook latest version after 1st installation so a lot of updates where there. The updates were downloaded and it was being installed. The computer got switched off in between. Now ...
19
votes
6answers
5k 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 . ...
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 ...
24
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 ...
5
votes
1answer
10k views

Where can I install termcap from?

From apt-get or aptitude there's just termcap-compact, but I still see "no termcap library found" when trying to install my software (a development kit from another enterprise). This happens just on ...
22
votes
3answers
4k 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, ...
6
votes
4answers
8k 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 ...
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
612 views

What's wrong with tasksel ubuntustudio- packages?

Trying to install any of ubuntustudio- (ubuntustudio-audio, ubuntustudio-font-meta, etc.) "tasks" with tasksel always fails, saying "tasksel: aptitude failed (100)" (while other options, like ...
4
votes
1answer
3k views

aptitude update gives 404's for intrepid

I'm having issues trying to update my packages. I haven't used this server since last September and now I'm getting 404 errors on all the intrepid repos. How do I fix this? Thanks aptitude update ...
8
votes
3answers
710 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 ...
9
votes
3answers
3k 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' ...
3
votes
2answers
1k 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 ...
4
votes
1answer
147 views

What will be the default set of package management tools in future versions of Ubuntu?

With the introduction of Ubuntu Software Centre, I remember reading, though I can't find any reliable source right now, that the various package managers were going to eventually be deprecated. ...
2
votes
2answers
195 views

determining the source for a package upgrade

Running aptitude dist-upgrade on my system currently results in an attempt to upgrade a few packages. All of these packages are being flagged as "untrusted packages" which "could compromise your ...
4
votes
2answers
2k views

How to clean up aptitude output?

Every time I use the CLI to install something with aptitude I get this output: warning, in file '/var/lib/dpkg/status' near line 60509 package 'virtualbox-3.0': error in Version string ...
7
votes
7answers
8k 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, ...
3
votes
3answers
2k views

apt-get upgrade segfault!

I installed ubuntu server 10.04 and booted as normal. Some time later, I booted the server and tried to install a new package/upgrade the existing packages using: sudo apt-get upgrade sudo aptitude ...
2
votes
1answer
939 views

list of apt-get packages for upgrade

I have a 9.10 machine used for development by one of my colleagues. A new team member has joined us, and he wants to have the same development environment on his 10.04 machine as the one used on the ...
6
votes
8answers
2k views

Useful apt (dpkg) commands

Please post your less-known, but useful apt commands involving apt-*, dpkg, or aptitude.
10
votes
4answers
1k views

How do you I find a list of softwares which are outdated and needs upgrade?

How do I find a list of packages that are outdated and need to be upgraded using aptitude? I am using Ubuntu 10.04.
4
votes
2answers
2k views

What does “selecting previously deselected package” mean?

Whenever I install software from the command-line using apt-get or aptitude, I see messages like this: Selecting previously deselected package foobar-cil-dev. I understand "downloading" and ...
17
votes
1answer
938 views

How to remove everything Ubuntu One-related?

Is sudo aptitude purge ubuntuone? sufficient to remove everything Ubuntu One-related from my system?
12
votes
2answers
460 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 ...
0
votes
1answer
1k views

Aptitude in ubuntu 10.10 [duplicate]

Possible Duplicate: Tab completion for commands Aptitude command is missing from Ubuntu 10.10. I just installed it using apt-get install aptitude but it doesn't support autocompletion as it ...
3
votes
1answer
535 views

What are benefits of aptitude compared to apt-get? [duplicate]

Possible Duplicate: Is aptitude really better than apt-get? To install a package I can "apt-get install" or "aptitude install", to search - "apt-cache search" or "aptitude search". I find ...
5
votes
2answers
3k views

Update problems: packages held back

When I try and upgrade I get packages that are kept back, when I use dist-upgrade they will be upgraded however I get this warning: Current status: 5 updates [-1]. will@will-desktop:~$ sudo aptitude ...
6
votes
1answer
610 views

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

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 ...
8
votes
3answers
3k 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 ...
18
votes
7answers
9k 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
2k 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 ...
89
votes
4answers
28k 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
3answers
745 views

Why would the aptitude binary be missing if its package is installed?

Yesterday I upgraded a laptop from Kubuntu 9.04 (Lucid) to 9.10 (Karmic). Then afterwards I tried to install some software $ sudo aptitude install dont-remember-what-it-was and I get sudo: ...
20
votes
4answers
699 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 ...