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

57
votes
4answers
132k 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
15 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 ...
97
votes
8answers
43k 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
7 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 ...
16
votes
2answers
13k 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
28 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 ...
49
votes
3answers
66k 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.
0
votes
6answers
3k 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: ...
1
vote
1answer
118 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
7k 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 ...
0
votes
0answers
380 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 ...
31
votes
8answers
6k 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 ...
22
votes
7answers
15k 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
168 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 ...
6
votes
1answer
16k 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
22k 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 ...
0
votes
0answers
24 views

Packages in (K)ubuntu

1) First question How to list really installed packages in ubuntu? The problem of dpkg --get-selections (the command written in almost any forum) is that its second column (= install / deinstall) ...
1
vote
0answers
301 views

apt-get update still doesn't find autoconf

I'm using Debian Squeeze, was trying to update automake and then in the process of configuring found that autoconf was too old. Trying to install autoconf, I get this: apt-get install autoconf ...
0
votes
1answer
72 views

Installing build-essentials with linux-headers package

I'm trying to update the network card drivers on my Debian based server. I'm following this guide: Driver installation guide I reached the step aptitude install build-essential linux-headers-`uname ...
4
votes
6answers
3k views

Smallest linux with apt repositories?

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
1answer
86 views

How do I see aptitude “Search patterns”? (~n, ~i, ~U,..)

While opening man aptitude I see this in many places: (see the section “Search Patterns” in the aptitude reference manual). How do I open this reference manual? I want to find patterns like ~i ...
7
votes
3answers
5k views

How can I specify the repository from which a package will be installed? (emacs-snapshot)

I want to install emacs-snapshot from http://emacs.orebokech.com But there is already an emacs-snapshot in Ubuntu's repositories. How can I specify the repository from which a package will be ...
0
votes
1answer
28 views

Mark package never to be installed with aptitude

I'm using aptitude as package manager in Debian. How to mark the package never to be installed by it? Because from time to time, when I install some gnome utilities etc., systemd package gets ...
3
votes
1answer
3k views

Removing iceweasel from Debian

On Debian Wheezy, when trying to remove Iceweasel, aptitude suggests, both when I try it via GUI and via aptitude remove iceweasel to also remove the following: 1) gnome ...
51
votes
3answers
10k 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
2answers
1k 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 ...
3
votes
5answers
3k views

How can I find out what distro I am running? [duplicate]

I have been assigned to do a job on a server but am unsure what dist is running. /proc/version tells me: Linux version 2.6.18-194.26.1.el5.028stab079.2 (root@rhel5-build-x64) (gcc version 4.1.2 ...
3
votes
2answers
9k 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 ...
1
vote
2answers
419 views

How do I restore original configuration file that's in the home directory?

I'm asking in general but also because I'd like to know how to restore a configuration file of the Transmission bittorrent client (apt package is named transmission-gtk). I'm on Ubuntu 13.10, and it ...
7
votes
3answers
4k views

Debian - Can't stop MySQL; permissions?

I just tried to upgrade from debian squeeze to unstable by replacing 'squeeze' with 'unstable' in /etc/apt/sources.list. The upgrade went smoothly except for mysql, which failed because it couldn't ...
2
votes
1answer
160 views

Ubuntu - compare original package and installed parameters

I'd like to compare the actual config files for, say, Apache and the ones provided in the original package. The purpose is to have a list of modifications since initial installation because I didn't ...
28
votes
6answers
37k 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.
0
votes
0answers
485 views

Unable to update libc6:armhf 2.13-38+rpi2

I'm trying to install PION package and I'm unable to do this on RaspberryPi: pi@raspberrypi ~ $ sudo aptitude install libpion-dev The following NEW packages will be installed: libc-dev-bin{a} ...
15
votes
4answers
45k views

How do I add a apt-get repository without editing /etc/apt/sources.list?

I want to add a repository to apt-get (without potentially messing up /etc/apt/sources.list) through the user of a script. This script may run multiple times so I can't just append the entry each ...
3
votes
2answers
590 views

How do I list all packages from unstable / experimental?

I'm running a Debian testing system with some packages installed from unstable or experimental, using apt pinning. How can I list all packages that come from unstable or experimental? I'd like to use ...
0
votes
1answer
177 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, ...
13
votes
2answers
24k views

How to get source with apt-get source in Ubuntu?

I need to install pure-ftpd from source and need to do apt-get source pure-ftpd but I get this message: E: You must put some 'source' URIs in your sources.list I found some documentation about this ...
0
votes
1answer
3k views

E: Some index files failed to download. They have been ignored…” when tunning “sudo aptitude update”?

This is what the end of output after I run sudo apt-get update on Ubuntu 12.04: 35% [Working]W: Failed to fetch http://ppa.launchpad.net/eclipse-team/ppa/ubuntu/dists/precise/main/source/Sources 404 ...
1
vote
2answers
324 views

How to keep a Debian install running after several apt-get dist-upgrade

I have been using my Debian install for a while and I kept dist-upgrading because I didn't want to reinstall everything after every new Release. But now I'm starting to get a few errors at the reboot ...
2
votes
1answer
144 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, ...
1
vote
2answers
2k views

Linux offline install apt-get

I'm new the Linux world and I have what is probably a very basic question but I can't seem to find out how to do it. I trying to find a way to make offline installs of applications I get from ...
7
votes
5answers
6k 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 ...
15
votes
7answers
46k 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?
1
vote
0answers
561 views

apt over SSH hangs on my Raspberry Pi

I have a very strange phenomenon on my R-Pi. If I run either apt or aptitude via a remote SSH shell, the processor jumps to 100% (top shows it's apt). If I connect my keyboard and run it on an ...
1
vote
1answer
812 views

Installing older version of gcc using apt-get

i am trying to install GCC version 3.2 using apt-get. But it complains the following root@chid-VirtualBox:/home/chid/Downloads# apt-get install gcc=3.2 Reading package lists... Done Building ...
1
vote
0answers
119 views

Privoxy causes problems with apt-get update

I recently got a strange problem with privoxy when using apt-get (or aptitude) to fetch new package lists. This is especially strange since it worked fine for several months... I'm running Ubuntu ...
2
votes
1answer
835 views

apt-get install: Error: Timeout was reached?

What has gone wrong if this error message appears AFTER apt-get has finished downloading and installing packages? ... Processing triggers for menu ... Error: Timeout was reached Edit: This ...
4
votes
3answers
22k 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... ...
0
votes
1answer
1k views

Installing Erlang & RabbitMQ on debian - package issues

I'm trying to get RabbitMQ setup, but something funky is going on with my dependencies. I'm running a Debian 7.1 that will be used as a server, hence has no desktop environment. I try to install ...
0
votes
0answers
133 views

libgphoto2-2-dev is installed, but pkg-config wont list it. Deb Wheezy new install

I am trying to use node-gphoto2 from npm, but I am having trouble with the libgphoto2-2-dev dependency. I've installed it, but pkg-config says it's not there. $ sudo aptitude search gphoto p ...