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
3answers
510 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
518 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
183 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
5k 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
11k 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
788 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 ...
94
votes
9answers
61k 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
649 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
348 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
591 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 ...
58
votes
6answers
82k 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
481 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 ...
4
votes
3answers
6k views

apt-get: How to overwrite existing files from another package?

I'm trying to install Gnome3 for Natty, using the source deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu natty main, however the following error: $ sudo apt-get install -f ... Unpacking ...
6
votes
4answers
24k views

Old version of gcc for new Ubuntu

Is there a repository containing packages for old versions of gcc, for the latest Ubuntu. I want to install gcc3 alongside gcc 4, for programs that need gcc3 specifically.
10
votes
3answers
8k views

Apt-get install multiple packages without stopping

I am making a bash script that installs various packages using apt-get install. However, I notice that if there is a line that says: sudo apt-get install package1 package2 package3 and either of ...
2
votes
3answers
2k views

How to install Gloobus Preview in Natty?

I keep getting this error when I try to install Gloobus preview in Natty : Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be ...
0
votes
1answer
1k views

Specifying which ethernet port for apt to use

I'm trying to perform an update using the normal sudo apt-get update. However my main ethernet does not have access to the outside world (long story I think I purposely did this and forgot how I did ...
111
votes
8answers
119k views

How can I get apt to use a mirror close to me, or choose a faster mirror?

Downloading from the main Ubuntu archive is slow even when it's not release day, how can I get apt-get to automatically use a mirror that is close to me?
4
votes
1answer
3k views

dump dpkg package list for fresh installation [duplicate]

Possible Duplicate: Best way to backup all settings, list of installed packages, tweaks, etc? I've heard that I can dump the dpkg package list of currently installed applications, then ...
4
votes
3answers
1k views

Find out what packages were installed with a particular package?

I have a simple question. When you install a package using apt-get install, oftentimes, it will install several dependency packages as well as the main one. I was wondering if there is a way to ...
2
votes
2answers
9k views

How do I configure apt to use a Proxy.pac file?

So I have a proxy.pac file at work (it doesn't have a username or password) it's just a simple .pac file. I've gotten it to work with Chrome so I can surf the web, but apt-get and update do not work. ...
8
votes
2answers
286 views

What is the program that suggests installable packages?

One of the features of Ubuntu that I really like is the one that suggests packages to install if you try to run a program that isn't installed, like this: $ nmap The program 'nmap' is currently not ...
1
vote
1answer
822 views

How do I get apt links to work with Google Chrome

I was reading another question on ask-ubuntu, where I encountered an apt link. Intrigued, I clicked on it, expecting my browser to launch the software center, only to get a page saying "You don't seem ...
17
votes
4answers
2k views

How to determine the size of a package while using apt prior to downloading?

When using apt-get install <package_name>, and there are dependencies that need to be downloaded, the terminal outputs names of additional packages and total size, and asks for confirmation ...
3
votes
2answers
2k views

Ignore package in update manager

I don't want to update certain packages. But this list of packages appears every time I open update manager. Is there an ignore list feature for packages? So I can add or remove packages from ignore ...
15
votes
6answers
16k views

How can I pause/resume an apt-get update process in a terminal?

My Internet gets paused sometimes because of change in the 3g signal strength and I've to restart the whole apt-get update process again! Each update consumes 13-15 mb and every mb costs here!! Can I ...
0
votes
1answer
626 views

apt-get fails with: “cannot utime”

I have an issue where apt-get fails with the error message "Cannot utime": tar: ./postinst: Cannot utime: Bad file descriptor tar: ./preinst: Cannot utime: Bad file descriptor tar: ./prerm: Cannot ...
6
votes
3answers
13k views

syntax for SOCKS proxy in apt.conf

I want to add SOCKS proxy settings to /etc/apt/apt.conf. What is the syntax for it? Is it same as http and ftp syntax? Thanks.
6
votes
1answer
811 views

How do I enable apt-get tab suggestions on my server?

On my desktop typing python- and pressing Tab offers suggestions of installable packages that are prefixed python. My server doesn't have this ability, how can I fix that?
9
votes
2answers
23k views

What happened to /etc/apt/apt.conf?

I was browsing through the apt folder to try my proxy settings and I was unable to find the apt.conf file in Ubuntu 11.04. Is there any alternative file for it? Adding proxy settings to 99-synaptic ...
0
votes
2answers
943 views

Error message in Update Manager [duplicate]

Possible Duplicate: How do I remove a malformed line from my sources.list? How do I fix “malformed line” errors in sources.list? I am getting an error message when I run the Update ...
2
votes
2answers
662 views

Today's dist-upgrade on Natty

Apt resulted few erronous lines on dist-upgrade. Preparing to replace gir1.2-mutter-2.91 2.91.93-0ubuntu1~build1 (using .../gir1.2-mutter-2.91_3.0.0-0ubuntu1~build1_amd64.deb) ... Unpacking ...
0
votes
1answer
230 views

apt 404 error when when updating with a PPA

sudo apt-get update command always gives me errors. It's been days since my package lists have been updated. Can anyone help me to correct it? Here is the Screenshot: EDIT: here are the commands and ...
1
vote
1answer
556 views

apt-get fail with “Unpacking replacement diff”

I tried to install TeXmacs today by follow commond: sudo apt-get install texmacs but those message come up: Preconfiguring packages ... (Reading database ... dpkg: warning: files list file for ...
8
votes
1answer
9k views

Install mod_jk with apt-get

Is it possible to install mod_jk via apt-get? If yes, what is the name of the package?
1
vote
1answer
144 views

How to skip the terminal update installing progress when the updates is in progress on the unwanted application

I want to skip the terminal update installing progress when the updates is in progress on the unwanted application without removing the source repository from source list
4
votes
1answer
2k views

How can I install multiple versions of Firefox (4.0 and 3.6), preferably using apt

I have the firefox package (Firefox 3.6) installed in Ubuntu 10.04. I'd like to install Firefox 4.0 from the Mozilla PPA but keep 3.6? The instructions look like they'll replace the current firefox ...
4
votes
3answers
29k views

How to repair apt-get command?

When I try to install new package with apt-get install, it doesn't work. apt-get update doesn't work too. Do you know how to reinstall it to work again? Output from sudo dpkg --configure -a : dpkg: ...
2
votes
2answers
2k views

How to install older version on PostgreSQL and PHP5?

Because of differencies in package versions between my development machine and my provider's server, I have to downgrade packages installed on my computer. In Ubuntu 10.04 LTS default PostgreSQL ...
0
votes
1answer
177 views

Is there some way of repairing/installing ubuntu-desktop from a .deb file?

Hiya - I think my desktop is trashed. Nautilus is gone, and when I try to boot to Ubuntu I either get a never-ending login loop, or a black screen with only a mouse-pointer. I think I need to ...
5
votes
2answers
1k views

/usr/lib/apt/methods/http eating my bandwidth!

I've noticed (using nethogs), that /usr/lib/apt/methods/http has multiple processes, which consume ALL of my bandwidth. I want to disable the process(es). I've tried everything: trickle, killall, ...
1
vote
2answers
756 views

How do I install and use python 2.6? [closed]

I use ubuntu 8.04 as I have to use gcc 4.2. I tried to download python 2.6 using apt-get, but the package is not available. Is there any way to use python 2.6 in ubuntu 8.04?
1
vote
2answers
1k views

Is there a way to install MD5 without using apt-get? [closed]

Is there a way to install MD5 in Ubuntu without using apt-get?
0
votes
1answer
368 views

Software Center error: package indexes are changed

I want to download softwares from Ubuntu Software Center, but all the time I am getting this error message: The package indexes are currently changed by apt-get. Please, suggest me what to do.
1
vote
1answer
209 views

What can be done when the repositories listed in sources.list go down

For many days I was trying to do apt-get update and I used to get a error: could not connect to server. I had thought it must be a issue related to my machine. Later, accidentally, when I copied and ...
0
votes
3answers
531 views

How do I install tar 1.20?

I have tar 1.22 installed and I need tar 1.20. I tried: sudo apt-get install tar=1.20 but I got: Version '1.20' for 'tar' was not found When I looked more closely it turned out that the ...
2
votes
0answers
519 views

After update: `/var/lib/dpkg/tmp.ci/md5sums': Is a directory [closed]

after updating my system today the following showed up. This is the result of running apt-get install -f: Reading package lists... Done Building dependency tree Reading state ...