aptitude is a front-end to the Advanced Packaging Tool (APT). It displays a list of software packages and allows the user to interactively pick packages to install or remove. In addition to a curses based interface, it also has a command line interface.

learn more… | top users | synonyms

39
votes
6answers
52k views

Apt-cache: How to list all installed packages with version number?

apt-cache dump --installed doesn't work, it lists uninstalled packages as well. I want to list the install packages each by one line, with the installed version number.
4
votes
4answers
28k views

apt error: Could not perform immediate configuration on

I have issues running the following command: root@X100e:~# apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... ...
100
votes
4answers
263k views

How to reinstall a package using apt-get?

It seems that my aptitude is somehow broken sudo aptitude update 0% [Working]Segmentation fault dmesg [223282.616599] aptitude[30972]: segfault at 67707f ip 7f954dcfae5d sp 7ffff5a5f950 error 4 in ...
0
votes
1answer
2k views

Downgrade my current NVidia driver to a specific version

Recently my NVidia driver was updated from 270.41.06-0ubuntu1 to 270.41.06-0ubuntu1.1, but I have troubles with it. Is there an easy way to rollback with aptitude to the version before?
20
votes
9answers
59k views

How can I undo or rollback an “apt-get upgrade” command on Ubuntu?

Is there a way in Ubuntu to rollback or undo the last upgrade after doing an apt-get upgrade if you don't like the results?
0
votes
1answer
195 views

Get changes to local config files with apt

When I'm updating a package and a new configuration file is shipped, I'm asked whether I want to keep my version, install the new one or view the differences. As I have to document an older server, I'...
1
vote
1answer
2k views

sudo apt-get install apache2 does not fetch apache

Trying out sudo apt-get install apache2 This is what I get root@x27:/home/test# sudo apt-get install apache2 Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
2answers
445 views

View list of updated packages after apt-upgrade on debian-based linux systems

I just did an update on my Debian system and it was very long. I'd like to know now, after the upgrades have already been applied, which packages were upgraded and which were not.
1
vote
0answers
16 views

How to chose dependancy alternative during package installation on Debian

I want to install Roundcube and use PostgreSQL but Debian wants to install mariadb and mysql as a dependancy. Details: I am trying to install Roundcube which depends on roundcube-core which in turn ...
0
votes
0answers
29 views

aptitude's %t format option doesn't show archives of installed pkgs - why (bug)?

According to the aptitude user's manual (Section "Customizing how packages are displayed"), %t in a format string will display "the archive in which the package is found". Therefore, when I enter -- $...
0
votes
0answers
119 views

Broke apt-get while installing plesk

I wanted to install plesk. So, I followed their official procedure Then It showed the following error after downloading few packages - E: Unable to correct problems, you have held broken packages. -...
3
votes
2answers
3k views

Install cython on python 3.x

I need to install cython for python3.x .I have an ubuntu installation with python 2.6, 2.7 and 3.2 on it. Trying to apt-get the cython package installs pymodules only in 2.x versions. Is there a way ...
0
votes
1answer
3k views

Debian is saying that i'm out of space when ever i try to install or remove packages

here's the return from df: ~$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/debian-root 321041 310074 0 100% / udev 10240 ...
1
vote
1answer
1k views

How to fix apt-get missing key error after adding deb source for package?

I'm using Mint Linux 17. I tried to install a debian package by adding a repository to my source list like so: # add heroku repository to apt echo "deb http://toolbelt.heroku.com/ubuntu ./" > /etc/...
59
votes
4answers
12k views

What are “Super Cow Powers” and why doesn't my aptitude have them?

sudo aptitude help aptitude 0.4.11.11 Usage: aptitude [-S fname] [-u|-i] aptitude [options] <action> ... Actions (if none is specified, aptitude will enter interactive mode): ... This ...
0
votes
0answers
19 views

Default yes to apt-get/aptitude install unless uninstall

There's a lot of answers how to remove the need to type Y when using apt-get install (hint: use -y or --yes) and this works great until you run into dependency issues and the suggested action is to ...
3
votes
2answers
12k views

Authenticating and adding public key for apt

I was trying to get the official mongodb for Ubuntu, following the instructions at http://www.mongodb.org/display/DOCS/Ubuntu+and+Debian+packages After adding the deb http://downloads-distro.mongodb....
0
votes
1answer
652 views

I cannot update Kali Linu via apt-get, it's a fresh install

I installed Kali for the second time, since I tried to update to Sana. And now I can't update. It looks like it's using kotnet.kuleuven.be:53 specifically, which is this University log-in for internet ...
4
votes
1answer
6k views

Postgresql has broken apt-get on Ubuntu

On ubuntu 12.04, whenever I try to install a package using apt-get I'm greeted by: The following packages have unmet dependencies: postgresql-9.1 : Depends: postgresql-client-9.1 but it is not going ...
11
votes
3answers
813 views

Making aptitude less verbose

People say that aptitude on Debian is so much better than apt-get, but I find it less usable. (See examples below.) Is there any configuration magic for aptitude to get rid of those useless status ...
0
votes
0answers
485 views

Where to reset sources list for apt-get on Mint 16?

I'm trying to fix my apt-get, as it has been 404ing on sudo apt-get update for a while. However, nothing I do seems to fix these numerous 404s. It appears that there are many different places to ...
5
votes
3answers
2k views

In Ubuntu/Debian, how do I mark a package as non-auto removable?

Suppose I have a package (a Python package in this case) that I install using Synaptic. Because the version of this package is somewhat outdated, I remove it in Synaptic and then install it using ...
3
votes
2answers
367 views

Making aptitude work properly through a proxy invoked with sudo

I use Debian 6. I'm sitting behind a proxy, so I configured Debian to use that proxy. Browsing and any HTTP and FTP activity through GUI works OK. I wanted to update my package repository so I typed ...
1
vote
7answers
5k views

why apt-get cannot install any application?

when trying to install application using apt-get, I always get /bin/sh: /usr/sbin/dpkg-preconfigure: not found for example: $sudo apt-get install libssl-dev [sudo] password for camino: ...
89
votes
5answers
44k views

Aptitude vs. apt-get: Which is the recommended (aka the “right”) tool to use?

Some time ago I read that aptitude is the preferred tool for installation on Debian-based systems. But when you search around on how to administer a Debian-based system, then aptitude is rarely ...
0
votes
2answers
438 views

Upgraded from Wheezy to Jessie, but aptitude still hits wheezy URLs

I upgraded Wheezy to Jessie by following the release notes - chapter 4, but now when I do an aptitude update I get URLs containing wheezy in them: root@debian:/home/paullik# aptitude update Hit http:...
4
votes
6answers
4k views

Smallest linux with apt repositories? [closed]

Does someone knows a small linux distro that comes with apt package? I tried puppy linux and dsl, but I didn't like any of those. I am looking to setup a LAMP into a virtual machine with a small ...
1
vote
0answers
71 views

How to hide foreign architecture?

I have an amd64 Debian but I had to install some i386 packages. I don't want to remove this foreign architecture, I just would like to hide it so that, for example, when I seach for libc in aptitude I ...
4
votes
3answers
3k views

How do I remove configuration files for a program that's not installed?

I'm basically looking for an apt-get purge for programs that are already uninstalled. (I'm running Debian squeeze and using aptitude for package management.)
0
votes
1answer
41 views

Will application version <X> be available natively in Ubuntu version <Y>?

Specifically I want to know if MySQL 5.7 will be available natively (fully integrated, no fiddling with repositories) in Ubuntu 15.04. But I'm really more interested in a general answer, like, is ...
2
votes
4answers
1k views

Upgrading only certain packages via the getdeb repo

I'm a bit confused about how getdeb.net works now. The last time I got a package from there was a while ago; at that point the procedure was that you would just download a .deb for each package that ...
24
votes
3answers
21k views

Which Debian package architecture am I using?

What's the command to find out which Debian package architecture I'm using? eg, on a 64 bit x86, I'm expecting something like amd64, i386 on 32 bit x86 and darwin-x86_64 from OSX 10.6 (via Fink).
0
votes
1answer
44 views

Aptitude aborts automatically after running resolver

I'm having some issues with aptitude. I'm attempting to install all the fonts available in the debian repos, but apt-get doesn't seem to like the command apt-get install ttf* (its conflict resolver ...
2
votes
1answer
278 views

Could not perform immediate configuration on 'perl'

I'm trying to upgrade a debian squeeze system to wheezy. I've done an apt-get update && apt-get -V upgrade on squeeze, then changed my source.list to reference wheezy not squeeze. then, apt-...
4
votes
2answers
238 views

List of recently installed apt packages

I just spent an hour trying to solve dependencies to build freeCAD from their slightly outdated Wiki. Is there a way to get the packages I installed in the last hour or day with apt-get or aptitude? ...
8
votes
6answers
7k views

apt-get hangs when upgrading mysql-server-5.1

When I attempt to do the following: sudo apt-get update sudo apt-get upgrade on my Ubuntu Server 10.04 installation, it hangs at the following line: Preparing to replace mysql-server-5.1 5.1.41-...
0
votes
1answer
40 views

Cannot install any packages in Ubuntu

I am not able to install any packages into my system using apt. My system was perfect yesterday Have a look please: $ sudo apt-get install indicator-stickynotes Reading package lists... Done ...
172
votes
8answers
84k views

Find what package a file belongs to in Ubuntu/Debian?

I frequently find myself missing a program, man page, or other file when working on my Ubuntu 8.04 system. Is there any simple way to look up what package contains a given file (whether it is ...
0
votes
1answer
13 views

How to temporarily try dev branch of a Git project for which I used aptitude to install stable branch?

I have installed Zathura via aptitude and am running the Debian “Jessie” packaged version. I want to temporarily download and test the development branch from their Git project repository. I’m afraid ...
0
votes
1answer
51 views

aptitude search something # print only package names, no extranea?

aptitude (the less-user-hostile wrapper on apt-get, for you oldsters), searches and prints too much when it finds packages. If I only want to see package names, what type? I suppose a clever cut ...
99
votes
3answers
135k views

How to install local .deb packages with apt-get

Is there a way to install packages store on your HD with apt-get, like a "apt-get install ./package.deb ? If not how to handle the dependencies in a very very easy way.
1
vote
1answer
351 views

Installed Wheezy package on Squeeze, how to rollback?

I 'accedentley' installed a wheezy package (by including the source in my sources.list) to a squeeze system. For the last few days I've been trying to restore it but I have no luck. Here is the ...
7
votes
3answers
9k views

Tell aptitude to ignore broken package

I installed a Amsynth from Lucid in Karmic using: dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb The reason for installing the Lucid version is because Karmic version is 3 years old and ...
1
vote
0answers
2k views

Is there an equivalent of arch linux's yaourt in debian?

I am an arch linux user using some debian machines. I am very used to using yaourt to install any and every random thing I can think of so that even random packages are version controlled on my system....
35
votes
8answers
8k views

How do you track which packages were installed on Ubuntu (Linux)?

(This question is very similar to 10458. It was suggested that Fedora and Ubuntu/Debian are different enough to warrant different answers.) As I use any Ubuntu setup I gradually install a number of ...
33
votes
7answers
24k views

Find packages installed from a certain repository with aptitude

I'm in search for something analog to this question: Zypper: How do I display all packages from a certain repository? Since I'm on Ubuntu, I need an aptitude based solution: How can I get a list of ...
5
votes
1answer
242 views

Upgrade from 10.04 to 12.04: apt/aptitude debug information

I have an issue mentioned here: during update from 10.04 to 12.04 The workaround: apt-get -f install -o APT::Immediate-Configure=false python-minimal seems to work, but there are two problems with ...
7
votes
1answer
24k views

How do I completely remove and reinstall Samba on Debian?

My Samba installation has become a mess, and now the services won't even start correctly anymore, for some reason. Is there a way to completely remove Samba, as if it was never there, and then ...
13
votes
7answers
23k views

How to fix broken synaptic updates: “Package is in a very bad inconsistent state”

I have a Dell Mini9 running Ubuntu 8.10. One day I had the bright idea to see if I could install a LAMP stack. I had trouble installing MySQL 5.0. I don't recall the error, but ever since all ...