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

Install java on Linux through shell without apt-get

I'd like to run multicraft on one of my servers. After some intensive debugging/installing I realised the server didn't yet have a Java Runtime Environment. I figured it would be easy to install, but ...
1
vote
1answer
131 views

Change the Ubuntu program that runs when a command can't be found

When I type a command not found in a PATH in ubuntu, I get something like this: $ rdesktop The program 'rdesktop' is currently not installed. You can install it by typing: sudo apt-get install ...
1
vote
1answer
415 views

Debian upgrade x11-common error

I upgraded my Debian but I'm getting an error. How can I go around this problem? Processing triggers for man-db ... Setting up x11-common (1:7.6+8~bpo60+1) ... Template parse error near ...
2
votes
2answers
3k views

Mistakenly ran “sudo apt-get remove python” (system is not working in normal mode, is there any solution?)

By mistake I ran the following command: sudo apt-get remove python After this my PC is no longer working properly. It shows graphics problem during restarting and every time it starts in Grub ...
1
vote
0answers
48 views

used wrong ubuntu mirror to install packages

I work with a computer system that has a ubuntu mirror locally installed. The OS is ubuntu 9.10 (karmic) Server. I see that a colleague changed the regular /etc/apt/sources.list file to access the ...
1
vote
1answer
378 views

Where are Ubuntu packages that I can't find by name (OpenJDK, Ruby, etc.)?

Just installed Ubuntu 9.0.4. When using apt-get, I found I could not get packages like OpenJDK, Ruby etc. Do I need to add some additional repository?
5
votes
2answers
3k views

Is it safe to install Ubuntu packages on Debian?

I've found online guides to adding Ubuntu PPAs and repositories to a Debian system. Is this a bad idea? If so, why?
2
votes
2answers
477 views

Fear of apt-get upgrade: Will it break my website?

Ok, I have a website that I manage on an Ubuntu box, but I haven't updated apache2 in a while. I would like to get up to date with the security patches etc. The problem is that I don't have a Test ...
0
votes
0answers
823 views

apt-get can't see the latest version of yasm

I'm trying to build Firefox and I get an error I need a the newest version of yasm, 1.0.1 and I only have 0.8.0. I did the logical thing: $ sudo apt-get upgrade yasm Reading package lists... Done ...
1
vote
0answers
252 views

Trouble installing libqt4-dev on Ubuntu Karmic

I'm having trouble installing libqt4-dev on Ubuntu Karmic. Here's the output: The following packages have unmet dependencies: libqt4-core: Depends: libqtcore4 (= 4:4.7.0-0ubuntu2~lucid1~ppa2) but ...
2
votes
2answers
2k views

Can I install Ubuntu apt-get packages offline

I have installed Ubuntu 11.04 in my system. I don't have any internet connection to the system. How can I install various packages. Is there a package collection available as CD/DVD(which I can ...
0
votes
1answer
576 views

How to install skype in an ALT Linux distro (Simply Linux 6)

I've installed Simply Linux 6 (a distro by ALT Linux Team which based on the "p6" branch of their package repository; ftp, torrent). Now I want to use Skype, but there is no skype package in the list ...
1
vote
2answers
284 views

What's the correct way to shutdown system while apt-get is still running

What's the correct way to shutdown system while apt-get is still running? apt-get complains about unclean shutdown when I just shutdown computer.
1
vote
2answers
387 views

apt-get install old version proftpd

I am looking to install proftpd 1.2.9. I found the source in the historic directories of the proftpd site, however I cannot get it to compile. If need be, I can post the errors.. but there were a lot ...
0
votes
1answer
149 views

Not able to upgrade my Ubuntu distribution

I am using Ubuntu 10.04 "Lucid". I wanted to upgrade my distribution to 10.10. When I performing th upgrade in Update Manager, I get an error message. I have even tried to update via console as ...
0
votes
1answer
145 views

Error after modifying sources.list

I modified sources.list and now it wont load. I took everything out except for the first line and it still errors out. Any ideas based on it's output? sources.list: deb ...
2
votes
4answers
5k views

“Packages can't be authenticated” during apt-get install on Ubuntu 9.04

I am trying to download gcc using apt-get install on Ubuntu 9.04 Jaunty, but when apt-get is trying to download the file I receive an error: WARNING: The following packages cannot be authenticated! ...
0
votes
0answers
75 views

If aptitude is more preferable then why does bash advise apt-get? [duplicate]

Possible Duplicate: On Ubuntu, why "sudo apt-get" sometimes and "sudo aptitude" other times? In the documentation it is said that aptitude is more preferable command to ...
2
votes
0answers
261 views

Why did “apt-get install libnss3-ld” delete everything on my system?

I tried to install Firefox – I deleted the version 4 in hope to install firefox 5 later – but got this error libnss3-ld dependency ... I decided to do this sudo apt-get install ...
2
votes
1answer
1k views

Grab all dependencies from apt-get for offline install (Ubuntu 11)

How do I use apt-get to install a package on an offline computer? With a separate (connected) computer, I can use apt-get --download [package] to pull the package I'm interested in but this fails to ...
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
14k 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
329 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
789 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
401 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
164 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
525 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
205 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
373 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
421 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
3k 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 ...