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
0answers
2k views

How to set apt options like “Acquire::http::No-Cache=true” in preseed.cfg [closed]

Something on our company's network is causing some apt updates to fail during an unattended install. We recently discovered that we can fix the apt problem on a previously successful installation ...
2
votes
2answers
346 views

Remove specified packages if they have no dependencies

I installed a package by mistake and immediately removed (purged it to be exact) it, but other than the package itself, none of the dependencies that installed alongside was removed. I do not know if ...
2
votes
2answers
909 views

enable auto-completion of apt-get for non-privileged user?

I've enabled apt-get in SUDO without password , and bash autocompletion for it need to be enabled as well , but how ? If i try to source that file: %> . /etc/bash_completion.d/apt No command ...
6
votes
2answers
4k views

timeout errors in apt-get update/install

I'm trying to do an apt-get update or apt-get install xyz and I'm seeing timeouts like this: W: Failed to fetch http://eu-west-1.ec2.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg ...
0
votes
2answers
450 views

How do I fix an error while updating packages cache? [closed]

When I try to update in Ubuntu 11.04 after installation, I get the following error E: Some index files failed to download. They have been ignored, or old ones used instead. I tried the following ...
0
votes
1answer
3k views

How to install libnss3-dev?

My installation failing log: sam@/home/sam/code/ros/ai/cram/roslisp_repl$ sudo apt-get update Get:1 http://packages.ros.org maverick Release.gpg [198B] Ign http://packages.ros.org/ros/ubuntu/ ...
5
votes
3answers
2k views

How to use apt-get to install packages without one specify package?

For example: The following command will install all packages that match it's pattern: sudo apt-get install k3b-* If I want to use that instruction but don't want to install one specific package ...
2
votes
1answer
1k views

Is there a newer version of snort available?

The Snort version available for Lucid is 2.8.5.2, for which snort rules are not available anymore. Is there a ppa for the updated version of snort or are there any good tutorials for installing snort ...
26
votes
7answers
4k views

Why the software center doesn't allow multiple downloads?

I was wondering why the software center doesn't download all the requested apps and install one by one as they finish to download. Or instead why the software center doesn't download an app while the ...
0
votes
2answers
1k views

How do I install an older version of the php5-mhash package?

I have my PHP Version pinned at 5.2.x, Here is the command line output php -version PHP 5.2.10-2ubuntu6 with Suhosin-Patch 0.9.7 (cli) (built: Oct 23 2009 16:30:10) Copyright (c) 1997-2009 The PHP ...
3
votes
2answers
16k views

How to update software through proxy? [duplicate]

Possible Duplicate: apt-get does not work with proxy I am a newbie to Ubuntu/Linux. I am using Ubuntu in office campus and we have a proxy server. I want to update or install new software ...
0
votes
2answers
413 views

Login and install packages when no DM is installed

I recently updated a few machines to 11.10. On one of them, the promt to chose between gdm and lightdm. I tried selecting light dm, but the upgrade tool inevitably returned to the same prompt. I then ...
8
votes
3answers
11k views

Apt-get update with an @ in password error

I want to update ubuntu 11.04 throught apt-get. So I added the following lines in apt.conf export http_proxy=http://username:password@proxyserver.net:port/ export ...
4
votes
1answer
89 views

Is there a utility similar to “apt-file” that can search source packages?

I'm looking for a utility similar to apt-file that allows me to search the contents of source packages for certain files, rather than just binary packages. Is such a utility available for Ubuntu?
1
vote
1answer
1k views

Starting tomcat6 shows missing conf directory.

I've just installed Tomcat6 via apt-get on lucid. Looking at the directory created here: /usr/share/tomcat6 I was expecting a conf directory to be created under this (based on experiences ...
4
votes
1answer
358 views

sort the results from `apt-cache search <keywords>`

Is there a way to sort the results from apt-cache search <keywords>?
16
votes
5answers
46k views

How can I completely remove xfce4 when apt-get remove --purge doesn't work?

Starting with a Ubuntu server, I wanted a window manager, so I installed xfce4. I used sudo apt-get install xfce4 to do this. To remove it, I used sudo apt-get remove --purge xfce4 which ...
3
votes
1answer
1k views

How to recover from uninstall of ubuntu-desktop?

In my infinite wisdom, during a system upgrade, I somehow managed to remove 'ubuntu-desktop' and several other key packages. As a consequence, my desktop is now gone - I only see a standard X terminal ...
3
votes
3answers
8k views

How to install a different version of python-dev?

The default python version on my ubuntu system is 2.7, but 2.6 is still present. I've installed headers (apt-get install python-dev), since it's needed to compile and install python packages, for ...
3
votes
1answer
10k views

apt-get install python-software-properties dependency problems

So, I was trying to add a repository using add-apt-repository and I got this error: sudo add-apt-repository ppa:gijzelaar/opencv2 [sudo] password for foo: Traceback (most recent call last): File ...
1
vote
1answer
465 views

Ubuntu Software Center Error: Failed to lock the package manager

Ever since I installed Ubuntu 10.10 I've been getting this error when trying to install ANYTHING via software center and have only been able to install software via Synaptic and apt-get. I 'm sure ...
1
vote
1answer
1k views

How do I remove a package with “rU” status?

I was trying to install some 32bit libraries with dpkg -i --force-architecture command. But it failed due to dependency problem. Now if I try to install 64 bit version of the same library, it says it ...
3
votes
1answer
738 views

How to troubleshoot apt-get connection problems? [duplicate]

Possible Duplicate: timeout errors in apt-get update/install I am working at a client where there is no proxy server for connecting to the internet. I can download URLs with wget from the ...
3
votes
2answers
373 views

Is it possible to prevent the installation of a required package?

If you install a program which depends on a number of other packages which are not installed, then apt-get automatically installs those dependencies. In allmost all cases this is the desired ...
0
votes
1answer
496 views

Not able to Upgrade my ubuntu distro

I am using My ubuntu 10.04 lucid.I wanted to do upgrade my distro to 10.10.When i am doing distro upgradation in update manager.i get the Error Message.i have tried even via console as well as I am ...
2
votes
1answer
334 views

When I want to reload synaptic package manager, I get an error

When i click reload after few minutes I get this error : W: Failed to fetch gzip:/var/lib/apt/lists/partial/ir.archive.ubuntu.com_ubuntu_dists_natty_ universe_binary-i386_Packages Hash Sum ...
4
votes
1answer
704 views

Bypassing excessive dependencies when installing r-base-core

I'm trying to install R (via r-base-core) on an ubuntu 10.10 server. It is trying to install all of the following: The following NEW packages will be installed: apt-xapian-index apturl ...
8
votes
1answer
255 views

Annotating packages at installation to ease maintenance with apt / aptitude

I manage my packages with aptitude. I occasionally go through my list of packages, removing obsolete applications (in the sense that I do not want to use them any more). For example, while I have a ...
1
vote
2answers
1k views

Rollback Xubuntu-desktop install: Change GDM Theme

I recently installed xubuntu-desktop but much to my dismay, lots of applications came with it that I didn't want. I apt-get removed xubuntu-desktop but it turns out I had to go through each ...
14
votes
1answer
18k views

What exactly does sudo apt-get -f install do?

I have seen it before. I am just wondering what exactly does it do?
1
vote
1answer
143 views

What is the best way to deal with local DEB packages (i.e. ones not installed from repos)? [closed]

I just want a "guru's opinion" on the best way to deal with those pesky little "singleton" debs that you don't get out of any APT repo. For example google-chrome (I know they finally made a repo), ...
3
votes
1answer
2k views

How do I ignore a conflicting package on a regex match in apt-get?

I'm trying to install all but one of the R packages which are currently in the Ubuntu repositories: However, when I go to do so sudo apt-get install 'r-cran-*' I get an error: Some packages could ...
7
votes
1answer
469 views

Why is Update Manager getting stuck unless I hit 'q'?

When I try to install updates (via either Update Manager or apt-get upgrade) the usual apt upgrade process is stopped as it shows me some changelogs, for example: Nothing will happen until I hit ...
20
votes
1answer
3k views

What is the 'popularity-contest' package for?

I'm installing ubuntu server at the moment, and noticed it in the configuration phase. What does this package do, what is it for?
8
votes
4answers
8k views

Find (and reinstall) packages with corrupted files (without breaking anything)

I usually prefer to fix a Linux system than to reinstall from scratch. My computers have seen many distribution upgrades and a list of PPAs or third-party repositories. APT usually makes sure that ...
7
votes
4answers
1k views

CPAN vs. APT: Conflicts in versions?

I can't find the answer to this anywhere: Does a module installed via APT conflict with one installed via CPAN? Along with that question are these: Where does the installed CPAN modules live? Are ...
10
votes
1answer
14k views

Force apt-get to overwrite file installed by another package

(I realize a similar question was asked before but the answers there don't handle these details) I'm on Ubuntu 10.10 and need both python2.5 (coming from deadnsakes -- ...
4
votes
2answers
123 views

Is there a way to use the search functions of synaptic from the command line?

I love Synaptic's ability to search the repo for both installed and uninstalled packages, but I would like to use this same ability through the apt command line utility, so I can search for packages ...
1
vote
1answer
362 views

Danger of using an untrusted apt mirror or proxy

My vague understanding of the authentication mechanisms behind debian/ubuntu packaging tells me that it should be safe to install packages downloaded from an untrusted server or proxy as long as apt ...
6
votes
2answers
422 views

Is there an RSS feed that alerts subscribers of new/updated packages in the official repositories?

I'm a serial apt-getter (running it often throughout the day), and I find it a great way to see where Ubuntu developers are most active. That being said, an RSS feed would probably be a smarter/safer ...
0
votes
2answers
251 views

APT user guide and where can I find it?

I am trying to get hold of the APT user guide to browse some of the more advanced options other than just apt-get etc. however whenever I type man aptI get a message telling me manpage is not loaded. ...
9
votes
5answers
57k views

How I do a system restore?

Problem I Faced I installed something that crashed my Wifi drivers that I compiled earlier. Un-installing the same package doesn't helped. Finally, I re-compiled my wifi drivers and things are good. ...
4
votes
2answers
2k views

Repository down? How do I workaround?

I'm getting the following errors while trying to install Samba on a ubuntu server 10.04 LTS instance: Failed to fetch ...
11
votes
2answers
16k views

Install MS Truetype Fonts system-wide for all users

I would like to install the MS Truetype Fonts that come through the package ttf-mscorefonts-installer, so I did: sudo apt-get install ttf-mscorefonts-installer Accepting the license, the process ...
46
votes
2answers
109k views

How do I install svn?

I am trying to install svn and am running into issues. The command I am running is sudo apt-get install svn. When I run this, I get the error "Unable to locate package svn". Why is this? How do I ...
2
votes
1answer
7k views

Completely uninstallation LAMP

I just install LAMP by using a command line. sudo apt-get install lamp-server^ it's work! then I needed to uninstall them so I tried to sudo apt-get remove lamp-server^ by the way, It's show me to ...
1
vote
1answer
3k views

How to download a package for offline installation? [duplicate]

Possible Duplicate: How can I install software offline? sudo apt-get install {x} ex: X = ghdl I want download the package "X" to my USB . How can I do that ? Second, my computer ...
4
votes
1answer
680 views

Reload Package List -> Downloading Translation… failed

When using Synaptic with Ubuntu 11.04, it always tries to download lots of translation repositories, but the calls fail. This hasn't happened for me with earlier versions of Ubuntu. It's pretty ...
0
votes
1answer
391 views

Why does my apache still do nothing after a complete purge and reinstall?

I followed this guide, to the best of my understanding: https://help.ubuntu.com/community/ApacheMySQLPHP And I'm stuck right after the install. Here's what I did so far: since I already had a ...
15
votes
3answers
12k views

How can I install a package without installing its dependencies?

I'm trying to install Alacarte and the dependencies are huge, basically all of GNOME. I know that they are unnecessary. Is there an option in Synaptic or an apt-get flag for this?