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)

3
votes
1answer
3k views

Why can't I purge apache2.2-bin and apache2.2-common?

I have tried to completely remove apache2.2 from my system. But the only thing that happens is that apt-get will remove "apache2-mpm-prefork" and install "apache2-mpm-worker". I have killed all ...
30
votes
3answers
20k views

Show apt-get installed packages history via commandline?

Is there a way to show the history of installed packages that were installed by apt-get via commandline?
2
votes
1answer
337 views

How do I clean build and installs, ie un-build?

I have installed and downloaded and built mongodb, and just one works. $ mongo mongo: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory $ ...
16
votes
2answers
8k views

easy_install/pip or apt-get

As noted in the Ubuntu wiki page on Rails it is recommended that gems manages your Rails/Ruby dependencies. What is the best practise with Python packages like Django? Should I install them through ...
5
votes
5answers
2k views

Is there apt-cacher for Windows?

I have two computers. C1: Windows with Internet connection. C2: Ubuntu connected with C1 but not connected with Internet. I'd like to access apt repositories to update or install some packages on ...
11
votes
5answers
2k views

Syncing apt-get installations between multiple computers

Is there a way to synchronize my installations (and removals) between multiple PCs? Preferably with dropbox - since I'm already using that to keep my files in sync. I thought of an alias for the ...
7
votes
1answer
2k views

What does add-apt-repository mean?

What does this mean? sudo add-apt-repository ppa:maco.m/ruby sudo apt-get update sudo apt-get install rubygems Hows does it differ from running sudo apt-get install rubygems Thanks.
0
votes
3answers
2k views

Problem installing eclipse-platform

I am trying to install the eclipse-platform package in a new Ubuntu 10.10 and I am getting the following error (via the Ubuntu software center): Failed to fetch ...
12
votes
4answers
35k views

Do Dpkg and apt-get install dependencies?

I've been wondering, is there a way to tell dpkg or apt-get that when I want to install a package also install all the dependencies it requires? I installed a package using dpkg but it complained ...
5
votes
0answers
522 views

How do you resolve the error “E: Unmet dependencies.”? [duplicate]

Possible Duplicate: How do I resolve unmet dependencies? I did try apt-get -f install but that didn't work either. The problem appeared after installing a modified version of ...
10
votes
2answers
13k views

apt-get update stuck on “Waiting for Headers” when using Windows XP ICS

I'm setting up a Maverick server on a spare PC. The install completes fine and the system boots up into the shell. However, when I try to do a apt-get update , apt hangs on almost every entry with the ...
5
votes
1answer
3k views

Where did Mercurial install to?

I used sudo apt-get install mercurial to install Hg.. where did it put the executable? I need to specify the location in Netbeans. Is there a general way to find where apt-get installs things? ...
3
votes
3answers
947 views

Can't locate enemy-territory in terminal?

I have an issue trying to install True Combat: Elite. I followed these steps, But when I do the 4th step, I get this: E: Unable to locate package enemy-territory Can anyone help? ...
2
votes
2answers
3k views

Cannot install build essential from the CD?

After a fresh installation of Ubuntu 10.10 I tried to install build-essential from the Ubuntu installation CD. I put the cd in the cdrom and in the software repositories i checked the box install from ...
1
vote
1answer
291 views

How to undo an improper purge?

As the title says, I did sudo apt-get purge mysql* and as a result, all packages with mysql in their name were purged. I tried a sudo apt-get install mysql* But, it also selected packages that ...
8
votes
3answers
790 views

Is there a way to check if a program is available in the repository by commandline?

When i find a interesting program i want to test and install in ubuntu i first check if it's available in the repository. For that i use the software center. But does a possibility exist to check it ...
11
votes
3answers
4k views

Why does update-mime-database complain about uri/rtspt and other unusual types?

When running update-mime-database - usually automatically launched by apt-get - why do I reliably get complaints like: Unknown media type in type 'all/all' Unknown media type in type 'all/allfiles' ...
3
votes
2answers
2k views

Can I use apt-get or aptitude to install software to non standard location?

When I install a software using apt-get it installs to default locations i.e to /usr/bin, /usr/lib, /usr/share and etc. For example when I install "Meld Diff Viewer" using sudo apt-get install meld ...
4
votes
2answers
154 views

What will be the default set of package management tools in future versions of Ubuntu?

With the introduction of Ubuntu Software Centre, I remember reading, though I can't find any reliable source right now, that the various package managers were going to eventually be deprecated. ...
14
votes
4answers
14k views

Installing suggested/recommended packages?

I ran the following code and got this package needs these packages, now it also says these packages are suggested, and theses are recommended. How do I get those up to install as well. ...
6
votes
2answers
599 views

How to upgrade to a newer version of a package than is available in the repository?

While using an open source genealogy program I encountered an error. I submitted a bug report and the author quickly fixed the problem (Yay for open source!). Now I want off course to try the latest ...
1
vote
2answers
2k views

How to quietly install LDAP on Ubuntu client

I'd like to install libpam-ldap to use ldap on a client machine and I was hopping to use sudo apt-get install -qq libpam-ldap to quietly install the package as part of a bash script used to ...
2
votes
2answers
200 views

determining the source for a package upgrade

Running aptitude dist-upgrade on my system currently results in an attempt to upgrade a few packages. All of these packages are being flagged as "untrusted packages" which "could compromise your ...
9
votes
0answers
9k views

How to correctly remove a PPA source? [duplicate]

Possible Duplicate: How can PPAs be removed? If I've added a PPA with "sudo add-apt-repository" should I just delete a file in /etc/apt/sources.list.d, or there is a command for removal?
5
votes
1answer
493 views

Can you recommend a good tutorial on building custom package versions?

After installing Ubuntu 11.04 I was disappointed by the fact there are still Scala 2.7 (when 2.8 is long ago current actual branch) and Mono 2.6 (when pretty a time has passed after 2.8 release). I am ...
10
votes
1answer
3k views

How to fake a package version installed?

Being an early adopter and using 11.04 daily builds I sometimes meet a situation when some packages require earlier versions of other packages than those I have installed. Usually newer (but refused) ...
2
votes
1answer
1k views

Ubuntu Extras keyring error [duplicate]

Recently I got lots of GPG errors and tried the following methods at various stages: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3E5C1192 sudo apt-get install -reinstall ...
319
votes
15answers
421k views

How to list all installed packages?

I'd like to output a list of all installed packages into a text file, so that I can review it and bulk-install on another system. How to do this?
8
votes
1answer
3k views

What does Ign mean in update manager?

When I run update from the terminal, I get the following list where many repositories are shown with "Ign". Does it mean the update manager will always ignore updates from those repositories? Apart ...
14
votes
5answers
16k views

How to remove a deb without removing its dependencies

I would like to install the most recent version of boto, which I do via python setup.py install Yet when I try to remove the old version the following packages also get removed: apt-get remove ...
2
votes
2answers
564 views

How to recreate cache for “APTonCD” after cleaning cache through apt-get clean?

I recently had to opt for cleaning my cache through apt-get clean after getting lots of GPG errors during update. But it's created another problem for me since I want to create an "APTonCD" for ...
3
votes
1answer
505 views

What do these apt commands do?

What do these commands do? Acquire::http::No-Cache=True -o Acquire::BrokenProxy=true update Acquire::http::Max-Age "0"
1
vote
4answers
2k views

How to fix GPG error/BADSIG while running apt-get update? [duplicate]

Possible Duplicate: What is the easiest way to resolve apt-get BADSIG GPG errors? Of late, I've been getting this long list of errors every time I run apt-get update from the terminal. ...
1
vote
2answers
950 views

Error installing a package: “trying to overwrite directory /usr/share/pixmaps”

I'm trying to install a package from a PPA I've added. (Yes, I'm the author of the package if that helps in any way.) Running a simple install command yields the following: xxxxx@xxxxx:~$ sudo ...
2
votes
5answers
5k views

Unconfigured package error: Package apache2.2-common is not configured yet

While executing apt-get install python-setuptools or apt-get upgrade, there are about a dozen of dependency errors, the top three are: apt-get install python-setuptools Reading package lists... ...
7
votes
3answers
753 views

Clean removal of KDE 4

I recently installed KDE in to my Ubuntu 10.04 machine using apt. (i.e apt-get install kde-desktop) After a while I got enough with the testing and wanted to have gnome again. So I removed all the ...
5
votes
2answers
2k views

How can I make Chromium open apt links with xdg-open?

Hello I installed this extension because I want to open apt links clicked in Chromium with xdg-open. I have looked at this help but haven't been successful. How can I acheive this?
31
votes
7answers
18k views

Is it possible to get a list of most recently installed packages?

Is it possible to get a list of packages that were most recently installed through apt-get?
2
votes
3answers
458 views

Installations, updates and removals always fail. But work after a restart

Whenever I install, update or remove something, it fails and I get a message similar to what is below. After I restart, everything appears to work fine. I just installed some updates using update ...
2
votes
2answers
565 views

Can't print, CUPS package corrupted and hangs on re-install

When I upgraded to Ubuntu 10.4 (Maverick), the upgrade process got stuck on the post-installation of the CUPS package. I had to kill processes and run several forced updates before I could finally ...
2
votes
2answers
760 views

How do I install TweetDeck?

See question here: ===============> http://superuser.com/questions/218868/tweetdeck-adobe-air-on-ubuntu-10-10 Getting the issue: sudo apt-get install Reading package lists... Done Building ...
2
votes
1answer
2k views

Where can I find a Netbeans nightly build?

Is there any chance to install nightly Netbeans via apt? I'd like to get daily updates to newest versions. Any PPA?
1
vote
1answer
1k views

Installing Axel?

How do I install axel on Natty Narwhal? I tried sudo apt-get install axel but it came back with this: james@james-ubuntu-11-04:~$ sudo apt-get install axel [sudo] password for james: Reading ...
97
votes
5answers
90k views

How can I accept the Microsoft EULA agreement for ttf-mscorefonts-installer?

After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement. For some reason my terminal will not allow me to accept, or for some reason I am pressing the wrong ...
6
votes
5answers
8k views

How to install ppa packages in an apt-get style

I want to install ppa packages in a sudo apt-get install <program> style. I don't want to google for the ppa name and I don't want to execute add-apt-repository before executing apt-get. I just ...
7
votes
3answers
310 views

Tracking the popularity of a package over time?

Is there any software or website that allows the user to view a graph of how popular a particular package is? The popcon.ubuntu.com site has raw information on how many people (who have installed ...
3
votes
2answers
283 views

Is it possible to install Firefox 3.0 as well as the default package?

I'm a webdeveloper and using ubuntu 10.10 maverick. I want to track down a bug that appears in firefox 3.0, but not 3.5/3.6. Is there an easy way to install firefox 3.0 without it ...
4
votes
2answers
5k views

Force apt to remove all emacs*

I have a bug-problem with the apt-packages of emacs: >>Error occurred processing debian-ispell.el: File error (("Opening input file" "no such file or directory" ...
3
votes
1answer
387 views

Off-line Repository and software removal

I read up on the process here and came up with this script: for i in `ls -1 /var/cache/apt/archives` ; do sudo cp /var/cache/apt/archives/$i /home/jj/Documents/Repository ; done and to re-install: ...
10
votes
4answers
3k views

Update Manager Error - Authentication Error

When I run Update Manager I get this error: This is what the error box says: W: A error occurred during the signature verification. The repository is not updated and the previous index files ...