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.
228
questions
398
votes
7
answers
279k
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 ...
254
votes
5
answers
784k
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 ...
195
votes
4
answers
400k
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?
129
votes
5
answers
80k
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 ...
86
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 ...
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).
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.
52
votes
5
answers
118k
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 ...
49
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 ...
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 ...
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 ...
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 ...
34
votes
12
answers
131k
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?
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 ...
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 ...
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 ...
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 ...
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 ...
14
votes
1
answer
42k
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?
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 ...
13
votes
5
answers
32k
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 ...
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 ...
12
votes
2
answers
76k
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 ...
11
votes
6
answers
50k
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 - ...
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 ...
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 ...
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
9k
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 ...
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, ...
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-...
10
votes
2
answers
2k
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 ...
9
votes
2
answers
15k
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 ...
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-...
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-...
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... ...
8
votes
3
answers
26k
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 ...
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 ...
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/...
7
votes
3
answers
985
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 ...
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?
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/...
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 ...
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 ...
6
votes
2
answers
6k
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?
...
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 (...
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 ...
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 ...
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 ...
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 ...