apt-get is a command-line interface to the Advanced Packaging Tool (apt) which is responsible for installing, removing, and upgrading packages.

learn more… | top users | synonyms

1
vote
1answer
2k views

How to specify directory for apt-get to save the packages

is there any way to specify the destination directory for each download in apt -get command to save all the downloaded packages in a custom directory instead of archive directory for offline use. If ...
10
votes
1answer
17k views

How to find installation path for packages installed through apt-get in Ubuntu?

I have been installing python modules using apt-get which works great using the console or launching files from the command line. However I am using Eclipse for easier organisation of files. Eclipse ...
1
vote
1answer
351 views

apt-get download size per package, instead of total download size

Apt-get displays the total size of all downloads required for an upgrade or install. I was wondering if we could get the size of each package that is going to be downloaded as well? An aptitude ...
2
votes
2answers
814 views

GPG error when updating Linux Mint 9

When i run sudo apt-get update, i get the following error W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn't be verified because the public key is not ...
2
votes
1answer
1k views

Problem while installing tzdata-java package (unmet dependencies)

I got a Debian 6.0 at home, upgrade from Lenny. I need to install the tzdata-java package but when I do an apt-get install I receive this message: The following packages have unmet dependencies: ...
3
votes
1answer
455 views

Alternatives to Gentoo Prefix?

Are there any package managers that: work without root privileges, and install packages at a custom location (similar to ./configure --prefix), and install stable packages (unlike Gentoo Prefix ...
1
vote
2answers
206 views

How do I read User Guide in apt-doc on Ubuntu?

I just installed apt-doc package. My question is how do I read the User Guide in this package ? In general how do I use the items from a package once I install it ?
0
votes
2answers
2k views

Problem updating with apt-get

I'm running Ubuntu 11.04 with gnome-shell and I have a conflict in apt-get that don't let me upgrade / install new packages (my system is in Spanish, because of that some output is in this language) ...
15
votes
2answers
2k views

Why does apt-get sometimes asks for confirmation?

Sometimes it does this: After this operation, 713kB of additional disk space will be used. Do you want to continue [Y/n]? And sometimes not, and just assumes 'yes' and downloads automatically (I ...
2
votes
2answers
583 views

Want to hold a package from upgrading. Don't work

I'm having a xen box which runs squeeze. the linux-image-2.6.32-5-686-bigmem never upgrades properly and I want to stop it from upgrading any more. It's annoying that it tries and fails every time I ...
1
vote
1answer
1k views

Why can't Ubuntu 10.04's apt-get install php 5.2.10 from a ppa?

I'm trying to install PHP 5.2.10 on Ubuntu 10.04 using apt-get. I used Approach 3 from this page but instead of using add-apt-repository I made a file called ...
0
votes
1answer
1k views

ntop won't install properly after reinstall (Ubuntu 11.04)

I installed ntop (with all its dependencies) like this: sudo apt-get install ntop After that I decided to remove it by issuing the following commands: sudo apt-get remove ntop sudo apt-get ...
6
votes
1answer
5k views

installing the latest R version (2.13.0) on Ubuntu 11.04

I just upgraded my Ubuntu desktop 10.10 to 11.04. I everything works fine except when trying to update the current R 2.12.1 to R 2.13.0. I followed the readme: ...
2
votes
2answers
208 views

How to prevent Ubuntu/Debian users from accessing apt-get or downloading from the web, etc?

Is it possible to have a user in Ubuntu/Debian that does not have access to synaptic, apt-get, dpkg and cannot even download anything from the Web, but has root privileges otherwise? Original post ...
2
votes
2answers
5k views

Add to sources.list with a command? (not a redirect or text editor)

I'm using Debian stable (squeeze) and found this command add-apt-repository but it's not found when I try use it. I'm sure I've used a command before which added a repo but I can't remember what it ...
3
votes
2answers
2k views

Is it possible to install Gentoo portage manager (emerge) on Ubuntu?

And vice versa? For example install apt-get on Gentoo and connect Ubuntu's repositories. And if it is possible how can I do it? (at least in general terms)
1
vote
1answer
396 views

How to recursively build a package and its dependencies on a Debian-based system?

Basically I want apt-get's dependency resolving ability, and to compile packages with customized options (such as the loader path). Can that be done with the apt-* suite? If not, perhaps I can try ...
2
votes
2answers
461 views

Size of download in MacPorts

When i try to install a package through apt-get on linux, it shows me the total amount to be downloaded and the space that will be used after install. Is there a way to view this information while ...
1
vote
2answers
4k views

Installing Mercurial on Debian using apt-get

I am trying to install Mercurial using apt-get on a web server running Debian. I would prefer to have the latest stable version of Mercurial but I would be happy with anything reasonably recent. I ...
3
votes
1answer
1k views

Why does apt-get remove gnome if I remove a package?

If I remove transmission-gtk it shows a long list of packages. It want to remove gnome completely. Is there a meta package I can install to keep my system together and I can remove an application that ...
27
votes
2answers
20k views

How can I check the version of packages to be installed with apt-get?

After running apt-get upgrade, I get a list of the packages that will be upgraded. I would like to know the version number for one of these packages. (Not the current one but the one that will be ...