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.

390 questions
351
votes
22 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,733
203
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
  • 2,143
199
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,868
156
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,267
  • 3
  • 27
  • 25
125
votes
11 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,679
96
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,870
91
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,396
  • 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,608
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
51
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
  • 77,855
48
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…
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,870
43
votes
6 answers

Terminate unattended-upgrades or whatever is using apt in ubuntu 18.04 or later editions

It happens often that when I boot my Ubuntu 18 machines and I want to manually update my software I get stuck into errors involving something already using apt (endless waiting unattended-upgrades and / or other services). Most of time with machines…
39
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…
37
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,419
1
2 3
25 26