Questions tagged [aptitude]

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.

Filter by
Sorted by
Tagged with
397 votes
7 answers
278k 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 ...
Jay Conrod's user avatar
  • 5,620
253 votes
5 answers
781k 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 ...
Vokuhila-Oliba's user avatar
195 votes
4 answers
398k 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 apt-get install ./package.deb? If not, how to handle the dependencies in a very very easy way?
Louis's user avatar
  • 2,634
129 votes
5 answers
79k views

How do I find out which package owns a file?

How do I find out what Debian package a file came from?
97 votes
5 answers
55k 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 ...
Vokuhila-Oliba's user avatar
85 votes
4 answers
32k 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 ...
brianegge's user avatar
  • 1,699
71 votes
3 answers
69k 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).
therefromhere's user avatar
56 votes
7 answers
85k 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.
Lenik's user avatar
  • 18.3k
52 votes
5 answers
117k 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 ...
elviejo79's user avatar
  • 1,103
48 votes
3 answers
23k views

What is the difference between Recommended and Suggested packages (Ubuntu)

On Ubuntu when you install a package, there can be dependencies, recommendations and suggestions. For example: virtualbox-ose has adduser as dependency, libgl1 as recommendation and libpulse0 as ...
Peter Smit's user avatar
  • 9,496
46 votes
8 answers
44k 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 ...
Boldewyn's user avatar
  • 4,388
38 votes
8 answers
12k 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 ...
quark's user avatar
  • 878
36 votes
9 answers
47k views

How to work around blocked outbound hkp port for apt keys

I'm using Ubuntu 9.10, and need to add some apt repositories. Unfortunately, I get messages like this when running sudo apt-get update: W: GPG error: http://ppa.launchpad.net karmic Release: The ...
Kief's user avatar
  • 753
34 votes
12 answers
130k 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?
jjclarkson's user avatar
19 votes
4 answers
89k 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 ...
Daisetsu's user avatar
  • 5,961
17 votes
3 answers
34k 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 ...
Jonas's user avatar
  • 27.5k
17 votes
4 answers
24k views

Ubuntu + latest samba version, symlinks no longer work on share mounted in windows

I just apt-getted (apt-got?) the latest software for my Ubuntu 9.10 linux box, and I noticed that samba was the included in the update. After the install, the symlinks in my home directory no longer ...
Roy Rico's user avatar
  • 5,918
15 votes
7 answers
26k 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 ...
spoulson's user avatar
  • 1,620
15 votes
3 answers
26k 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 ...
user avatar
14 votes
1 answer
41k views

after changing sources.list on ubuntu, how do I make him reload/refresh?

after changing sources.list on ubuntu, how do I make him reload/refresh? So new packages in the new sources will be found?
Itay Moav -Malimovka's user avatar
14 votes
2 answers
3k views

Install packages through apt-get or gem?

If a package is available both through apt-get and gem, which one should I choose? I'm on Ubuntu and I don't know if I should install rake through apt-get or gem. I use both apt-get and gem packages ...
ajsie's user avatar
  • 1,889
12 votes
5 answers
31k views

How to install a single package from Debian sid?

Take ibus-sunpinyin for example, which isn't existed in the squeeze release. I'm not going to switch the whole system to the sid branch, so, I want to download the single package from sid repository ...
Lenik's user avatar
  • 18.3k
12 votes
2 answers
1k 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 ...
u1686_grawity's user avatar
12 votes
2 answers
75k 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 ...
Jane Panda's user avatar
  • 1,218
11 votes
6 answers
49k views

Q: How to fix apt-get update error Mirror sync in progress?

I have difficulties when install postgresql-client.9.4 on debian 10. printf "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main" > /etc/apt/sources.list.d/pgdg.list wget --quiet -O - ...
udnpico's user avatar
  • 113
11 votes
4 answers
5k views

How can I display the list of all packages installed on my Debian system?

How can I get the list of all packages installed on my Debian system (I know this one is easy)? And also a list of all packages marked as manual? I am thinking about system upgrade, but I can't ...
Grzenio's user avatar
  • 2,967
11 votes
2 answers
2k views

Can Debian identify rarely used packages?

I'd like to find a tool that could tell me which Debian packages on my system have been rarely or never used, perhaps by looking at file lists and access times. This is to find candidates for ...
Norman Ramsey's user avatar
11 votes
2 answers
5k views

How do I install the latest version of packages in Ubuntu?

For example I want to install the latest version of "numpy". I type the following: "sudo apt-get install python-numpy". When I type this the first time it installs something and if I type this the ...
11 votes
3 answers
8k views

Why can’t I stop the MySQL service on Debian?

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 ...
anon's user avatar
  • 111
11 votes
6 answers
15k views

installing packages without sudo access

Is there an easy way to install packages with a large dependency tree, provided that you don't have superuser access? For instance, say I wanted to install firefox. Firefox has a ton of dependencies, ...
user avatar
11 votes
1 answer
3k views

In the output of "aptitude update", what do "Ign" and the other codes mean?

When I run sudo aptitude update from the console, I see output with lines such as this: Get:1 http://security.ubuntu.com lucid-security Release.gpg [198B] Ign http://security.ubuntu.com/ubuntu/ lucid-...
Paul Whittaker's user avatar
10 votes
2 answers
1k views

Is there any way to limit my Internet connection to a per program basis?

My Linux connection is REALLY free. I live in Brazil, so where I live I can only have 1 Mbit/s. Yes I know it's sad, but it's not the point. Everytime I'm updating my Ubuntu 9.04 or downloading ...
igorsantos07's user avatar
  • 1,284
9 votes
2 answers
14k views

“The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059”

I try to update Debian but I get the following error message: % sudo aptitude update Hit http://deb.debian.org/debian bullseye InRelease Hit http://deb.debian.org/debian-security bullseye-security ...
fauve's user avatar
  • 245
9 votes
2 answers
4k views

Automatic linux-headers installation

Is there a way to get the matching Linux kernel headers automatic on a regular kernel update via the Ubuntu packed manager? Every time I get a new kernel I must do an aptitude install linux-headers-...
zzeroo's user avatar
  • 528
9 votes
6 answers
8k 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-...
Rob's user avatar
  • 193
8 votes
7 answers
48k 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... ...
udo's user avatar
  • 8,011
8 votes
3 answers
25k 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 ...
kaiseroskilo's user avatar
8 votes
6 answers
7k 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 ...
fazpas's user avatar
  • 1,603
8 votes
3 answers
20k views

Updating the url list apt-get uses in debian

When I do 'apt-get update' on my VPS I get a lot of error messages: Err http://ftp.debian.org lenny/volatile/main Packages 404 Not Found [IP: 130.89.149.226 80] Err http://ftp.debian.org lenny/...
Saif Bechan's user avatar
  • 3,315
7 votes
3 answers
982 views

How to ReUse Ubuntu APT

When we use ubuntu apt-get the first process is downloading the required files into a temporary folder /var/cache/apt/archives Installation will be done only after that. Can we able to ...
cdb's user avatar
  • 1,069
7 votes
1 answer
37k views

apt-get on Mac OS X? [duplicate]

Possible Duplicate: Apple / Mac OS X - Is there a Package Manager like Linux Is there a version of apt-get on Mac OS X? If not, or it is not recommended, what similar installers are there?
Ritwik Bose's user avatar
6 votes
3 answers
18k views

How to install libevent via aptitude?

It doesn't seem to work. aptitude install libevent1 locate libevent /usr/share/doc/libevent1 /usr/share/doc/libevent1/changelog.Debian.gz /usr/share/doc/libevent1/copyright /var/cache/apt/archives/...
Alex's user avatar
  • 2,481
6 votes
5 answers
12k views

How to name files in /etc/apt/sources.list.d/ to be ignored without warnings?

N: Ignoring file 'cloudera.list_' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension N: Ignoring file 'opera.list_' in directory '/etc/apt/sources.list.d/' as it has an ...
Vi.'s user avatar
  • 17.2k
6 votes
5 answers
14k 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 ...
fuumind's user avatar
  • 423
6 votes
2 answers
5k 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? ...
gcb's user avatar
  • 4,871
6 votes
1 answer
2k 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 (...
VasyaNovikov's user avatar
  • 3,486
6 votes
2 answers
455 views

Linux has many dependencies when installing a small mp3 player

I try to install a small audio player named "Audacious" with the following command: sudo apt-get install audacious and it tells me that it depends audacious-plugins, so I try to install the ...
smwikipedia's user avatar
6 votes
1 answer
546 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 ...
Ruslan Sverchkov's user avatar
6 votes
3 answers
2k views

Aptitude Untrusted source, gpg, keyserver

I have mirrored the Ubuntu archive repository (I must say it's rather huge). Then, I can apt-get install with no problem, but it prompts with following warning: WARNING: The following packages ...
Lenik's user avatar
  • 18.3k
6 votes
3 answers
472 views

Packages in weird state

On my Debian system I seem to have a few packages in weird state. When I run upgrade, they are always to be intstalled: grzes:/home/ga# apt-get dist-upgrade Reading package lists... Done Building ...
Grzenio's user avatar
  • 2,967

1
2 3 4 5