Questions tagged [aptitude]

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

Aptitude is a quite powerful package manager leveraging CLI and an ncurses-style interface. It includes very powerful conflict resolution, and uses a very similar command-line syntax to apt. Often, its powerful resolution engine can help fix package trouble that apt cannot. It is part of the aptitude package.

388 questions
317
votes
20 answers

How to list manually installed 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. How can we do that from the command line?
Umang
  • 6,313
  • 4
  • 20
  • 16
198
votes
6 answers

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 little difference which is used (although it is…
8128
  • 28,630
  • 27
  • 111
  • 145
173
votes
8 answers

Force update from unsigned repository

I'm using an unsigned repo in Ubuntu 16.04 from Debian multimedia: deb http://www.deb-multimedia.org jessie main To install deb-multimedia-keyring, I'm running: apt-get update && apt-get install deb-multimedia-keyring -y This gives an error: W:…
Shan
  • 1,843
  • 2
  • 11
  • 7
155
votes
4 answers

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?
Aniket Thakur
  • 4,227
  • 3
  • 25
  • 24
115
votes
10 answers

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 broken package and fail. Attempting to install…
Bijak
  • 1,559
  • 2
  • 11
  • 7
95
votes
1 answer

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

When running apt-get -y install 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 as I understand it) and but not prompt me about…
0xC0000022L
  • 5,656
  • 6
  • 52
  • 91
86
votes
6 answers

The following packages have unmet dependencies!

I am writing this because I am very confused about installing PostgreSQL 9.3 on my Ubuntu 14.04. First I need it for my Python/Django development, and I ran into the problem when I tried to install it. Now I have this error and it is driving me…
copser
  • 1,366
  • 3
  • 14
  • 22
57
votes
4 answers

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 type 'all/allfiles' Unknown media type in type…
Lenik
  • 10,188
  • 12
  • 34
  • 36
56
votes
8 answers

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 installed a bunch of packages to try something new, but it didn't work out. I'd like to remove all of these packages,…
Mikeage
  • 663
  • 1
  • 5
  • 8
49
votes
1 answer

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 already tried apt preferences priority. Original…
Anwar
  • 75,875
  • 31
  • 191
  • 309
46
votes
4 answers

apt-get or aptitude equivalent to yum whatprovides

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 redhat-logos-4.9.99-11.el5.centos.noarch : CentOS-related icons and pictures. Repo…
Richard Holloway
  • 29,974
  • 7
  • 52
  • 57
45
votes
2 answers

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 apt-get -u dselect-upgrade ... to install the packages…
0xC0000022L
  • 5,656
  • 6
  • 52
  • 91
38
votes
2 answers

What's difference of apt-get and aptitude?

What is difference of apt-get and aptitude? Does both of them use same repositories? Which one is better?
SuB
  • 4,119
  • 5
  • 24
  • 33
36
votes
4 answers

aptitude safe-upgrade equivalence with apt-get

Is there an equivalent to doing aptitude safe-upgrade using apt-get?
Lorin Hochstein
  • 5,265
  • 7
  • 25
  • 31
35
votes
5 answers

How do I delete all packages which match a certain pattern?

I want to uninstall libreoffice. This program consists of about three dozen modules. Ideally, they could be removed with: aptitude remove libreoffice3.6* libreoffice-debian-menus libobasis3.6-* but that fails with Couldn't find any package whose…
Aaron Digulla
  • 1,202
  • 3
  • 13
  • 25
1
2 3
25 26