Advanced Packaging Tool, the package manager for Debian-based distributions. It is also the most used tool for installing packages in Ubuntu. Questions about using any of the apt tools should use this tag.

learn more… | top users | synonyms (1)

2
votes
1answer
5k views

How do I troubleshoot a “connection failed” error when using `apt-get install`?

I need to install and run some 32-bit software on my 64-bit Ubuntu 11.04 machine, so it was suggested I run sudo apt-get install ia32-libs. I got the following: $ sudo apt-get install ia32-libs ...
1
vote
1answer
335 views

ubuntu software center crashes after fail install

I tried to install libboost-system1.42-dev package but for some reason it crashed for the first time. Now for ANY package I try to install I get: Traceback (most recent call last): File ...
13
votes
1answer
6k views

Hold packages back from updates without APT Pin?

I know about pinning packages with Apt. That's not what I want to do. Other questions have been answered with either using pinning or by using pins temporarily. I don't want to do this. What I want ...
2
votes
2answers
1k views

Help! I broke apt-get with partial install of ubuntu-restricted-extras [duplicate]

Possible Duplicate: Cannot install any software from the Software Center due to ttf-mscorefonts-installer package error I was trying to install ubuntu-restricted-extras from the command ...
2
votes
1answer
4k views

How do I update virtualenv?

I have installed python-virtualenv version 1.4.9 and the latest version is 1.6.1. How do I update to version 1.6.1. Do I have to uninstall version 1.4.9? If so, how do I uninstall it? (Crossposted ...
11
votes
4answers
5k views

downgrade ppa packages to versions available at a previous point in time

The backstory is that the normal Intel GPU drivers don't do the various OpenGL extensions that my hobby coding and some games want. So I have to install xorg-edgers and then its happy. However, last ...
6
votes
1answer
5k views

How to reinstall many removed packages at once?

I used sudo apt-get remove python command and accidently removed a bunch of packages that were required. I logged in via command line and installed ubuntu-desktop again but there are other packages ...
21
votes
1answer
4k views

How to limit the download speed of APT? [duplicate]

I am downloading a very large package and my internet connection isn't the fastest, so browsing the web at the same time is a pain. How can I limit the bandwidth apt-get uses?
23
votes
3answers
6k views

How to find the number of packages needing update from the command line?

I'm working on some system admin automation using fabric and I'd like to be able to monitor the number of packages that need upgrading on a given machine. This is the same information that I can see ...
3
votes
1answer
253 views

Download selected packages to a local repository

Actually I'm a bit new to Linux and I need to download some selected packages (debian ubuntu) to my local repository. So could you please help me to figure this out?
2
votes
1answer
3k views

Error Installing Ettercap-gtk

I'm trying to reinstall ettercap-gtk after I removed it, since it was randomly closing out for some reason, and this is the error I get # apt-get install ettercap-gtk Reading package lists... Done ...
10
votes
4answers
5k views

Get package description using apt

How do I get the prosaic description of a package using apt? I tried both apt-cache show and apt-cache showpkg but no luck. Using synaptic it's easy as typing the package name and the description is ...
11
votes
2answers
17k views

Apt “could not find a distribution template” error

When I attempt to install anything using apt-get I get the following error: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 60, in <module> sp = ...
0
votes
2answers
21k views

How to install gfortran?

I installed sage on ubuntu but nothing on the command line executes. The relevant portion in the long error message is: ImportError: libgfortran.so.3: cannot open shared object file: No such file or ...
8
votes
2answers
30k views

What to do when can't update anymore with apt-get? [duplicate]

I'm using Ubuntu 9.04 as multipurpose server, so no GUI here. I haven't used it for a while and now when trying to install or update packages with apt-get it throws errors. An excerpt of the error ...
4
votes
1answer
459 views

Recompile all packages and trigger on updates

I am using Ubuntu on a bespoke router and after seeing the latency drops capable with custom compiling on Gentoo, I would like to recompile all packages with CFLAGS="-march=atom". The guide for this ...
2
votes
1answer
65 views

dpkg --print-avail PACKAGE fails

I just happened to notice that dpkg --print-avail PACKAGE (same as dpkg -p PACKAGE) is failing on my Ubuntu 10.04.2 server. Should I be concerned? For example: $ dpkg -p a2ps Package `a2ps' is not ...
23
votes
2answers
54k views

How do I use apt-get to only download packages?

I have apt-get 0.7.23.1 on host machine. I do not have root, thus not able to update it, or install other packages. I want to download .deb packages with it, but neither apt-get -d bash (Invalid ...
4
votes
2answers
347 views

Run a line command from a web (Clicking in a webpage link)

Is it possible to execute a command from a single link? For example when a user clicks on a link it does this: sudo apt-get install vlc wine openshot but by clicking on a link
2
votes
1answer
721 views

Adding apt-get packages to a usb boot drive (and storing them on the drive)?

I want to compile some 3rd party software and install it on a bootable usb drive...there are several packages that I need to install with apt-get before I compile it. How could I store the apt-get ...
3
votes
0answers
2k views

How to fix “Problem with MergeList” error when running an update? [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update After "sudo apt-get update" in terminal, I get: 58% [99 Translation-en lzma 0 B] [Connecting to ...
0
votes
1answer
1k views

Apt-get connection timeout [closed]

apt-get stopped working for me. It resolves us.archive.ubuntu.com to an IP address, but then does not connect to that address. I can ping that IP address and can also do a wget on the IP address and ...
1
vote
1answer
2k views

“fastestmirror” like plugin for Ubuntu? [duplicate]

Possible Duplicate: How can I get apt to use a mirror close to me? Are there any plugins for apt like the fastestmirror on e.g.: Fedora? So that the selected repo mirror for Ubuntu is ...
1
vote
1answer
1k views

Missing python.h when trying to install Apache Thrift

I have tried many times over to install Thrift (http://thrift.apache.org/) in Ubuntu Server. I tried it on two machines... And one I had nothing on it before; meaning fresh Ubuntu installation. I ...
0
votes
3answers
323 views

I cannot install Java. It locks

Here is where it locks-up: Setting up openjdk-6-jre-headless (6b20-1.9.7-0ubuntu1) ... Even control-c does not stop it. I have to close the ssh session by closing the terminal. I have tried two ...
1
vote
1answer
562 views

GCC headers on Ubuntu

I was wondering, if there was a go to place to look for c headers, and how to get them on Ubuntu, often times a quick Google search gets me the apt-get package. I was wondering if it possible look up ...
2
votes
1answer
3k views

How can I install Eclipse with Ant 1.8?

I have previously installed eclipse on lucid with ant 1.7 with no trouble. I need to update my ant to 1.8, but this required me to uninstall eclipse, since the "ant1.8" package isn't seen by apt-get ...
0
votes
1answer
1k views

Changing the update server from india to main server: 404 Not Found [duplicate]

Possible Duplicate: Failed to fetch in.archive.ubuntu.com/ubuntu/dists/maverick/Release I recently installed Ubuntu 10.04.2 server and like to upgrade the packages to the latest. ...
3
votes
1answer
366 views

Why are my two ubuntu installs on separate partitions sharing the same apt-get data?

I have two ubuntu installs on two separate partitions, one Unity and one Gnome-Shell. They both use a common encrypted /home partition. That sort of setup has worked well for me in the past, but for ...
1
vote
0answers
966 views

Upgrading to 10.10 [closed]

Hey guys, Ive had some problems with my linux system, slowly been figuring things out. But im quite stumped on this problem, ill copy a section of code for you... Errors were encountered while ...
1
vote
1answer
43 views

If I add some packages to “Recommends:”, will apps pull them in with the update?

I have a quesion about Debian packaging. I know that if I make a package depend on a larger number of packages then before, the newly introduced dependencies will be automatically downloaded by almost ...
7
votes
1answer
11k views

Apt-get update error: http://extras.ubuntu.com Public key unavailable [duplicate]

GPG error: http://extras.ubuntu.com natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192 I think I selected to ...
294
votes
6answers
263k views

How to upgrade a single package using apt-get?

How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter: upgrade upgrade is used to install the newest versions of ...
1
vote
1answer
1k views

Apt-get ignoring a repo even if I clear the cache

I'm trying to get the ubuntugis repo to install on a server and I keep getting the line: Ign http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu/ lucid/main Translation-en_GB when I do an ...
18
votes
3answers
8k views

How to list packages from a ppa/source in command line?

I want to list all the files from a source, say extras.ubuntu.com from the command line. What is the command for that? dpkg --list lists all files or just the filename.
2
votes
3answers
545 views

Installing apt module without internet [duplicate]

Possible Duplicate: Identifying and Downloading Dependency for an Offline PC How can I take an apt module from an internet enabled Ubuntu and get it to a USB for a non internet install? I ...
1
vote
1answer
529 views

apt does not work in public wifi [duplicate]

Possible Duplicate: “Problem with MergeList” error when trying to do an update I get the following message when running apt on this public hotel wifi: $ sudo apt-get update Ign ...
6
votes
1answer
184 views

Why are the hidden settings-folders not deleted when purging an application?

I did sudo apt-get remove --purge for several packages, but apparently the personal settings are kept. Is there a command or tool to delete them automatically?
4
votes
4answers
6k views

How do remove the CD / DVD install as a source for apt-get packages when installing new features?

I'm running a Ubuntu server (9.0.4 'Jaunty') as a VMware image. It's a real pain on the odd occasion I need to install a new package to have to fish out the install CD-ROM, and make it available to ...
-1
votes
1answer
7k views

Uninstall NVidia drivers? [duplicate]

I've upgraded from 10.04 to 10.10 (in order to be able to upgrade to 11.04). It seems like the current graphics drivers are incompatible with the latest kernel I have. I don't know if I have ...
2
votes
2answers
13k views

How do I force apt-get to update the state of package versions?

I installed Natty Narwhal last night, and cam across a problem with update manager. I had initially instructed update manager to "Install updates", but the dialog that popped up stayed on "waiting..." ...
1
vote
3answers
1k views

how to install package to a specific hard disk drive partition

By default apt-get installs packages in the drive that the ubuntu installation resides on. But can i install a package other than the ubuntu partition ? If i can, how to do it ?
0
votes
2answers
853 views

“apt-get --print-uris” to list URI for downloading extra functionality package for amarok,reqonk

Hello I do not have internet connection at my home. So i use "apt-get --print-uris" to list the http's and take it to other PC with internet connection and use wget to download them. I am facing ...
120
votes
10answers
82k views

Trouble downloading packages list due to a “Hash sum mismatch” error

When I check for updates, I get a "Failed To Download Repository Information" error. This is what comes up under details: W: Failed to fetch ...
0
votes
1answer
742 views

Installing via apt-get install always give “The HTTP server sent an invalid Content-Range header”

When I try to install software like Wine 1.3, I alwasys get something like ... Err http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ natty/main wine1.3 amd64 1.3.19-0ubuntu1~maverick1~ppa1 The HTTP ...
2
votes
1answer
362 views

gnome-themes-standard tries to overwrite a file from gnome-accessability-themes

I was trying to install gnome3 on my ubuntu but because of some reason, apt-get went into an invalid state after the installation (which was incomplete i think). Whenever I try any apt-get operation, ...
3
votes
1answer
83 views

How to know which versions of application I can install via apt

I try to use apt-cache search gedit But there is no information about version. I am trying to install gedit 2.30.4 (by default it is 3.x on Gnome 3). But there is no gedit with this version. sudo ...
2
votes
0answers
645 views

Disable signature probing for repositories in update-manager [closed]

Update-manager brought up an update today, but refused to install it. "This action would require the installation of packages from not authenticated package sources." (transliterated error ...
70
votes
6answers
95k views

How do you select the fastest mirror from the command line?

I want to update my sources.list file with the fastest server from the command line in a fresh Ubuntu Server install. I know this is trivially easy with the GUI, but there doesn't seem to be a simple ...
2
votes
3answers
501 views

apt-get doesn't load third-party PPA's

I have a server running Ubuntu Server 11.04, and when I add a PPA via add-apt-repository, apt-get doesn't load the PPA when I do apt-get update. It's specifically this PPA I need to add, but same ...