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)

1
vote
1answer
10k views

Why do I get: Failed to download repository information! [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? So I am getting this error when I try to run the system updater: Failed to download repository information Check you internet ...
0
votes
1answer
97 views

How to tell which packages are available to install using apt-get?

Using Ubuntu Software Center I can perform a search on an approximate package name and get the matching packages list to select from. If I work on a remote machine via ssh (i.e. command line only), ...
1
vote
1answer
259 views

Can't connect to wifi and apt-get doesn't work

I've seen a ton of answers to fix my BroadCom BCM4312. However, all of them require apt-get in the Terminal. For whatever reason, anything involving apt-get won't work. It just errors out with Unable ...
0
votes
1answer
39 views

getting this error while installing cinnamon in 11.10

Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 88, in <module> ppa_info = get_ppa_info_from_lp(user, ppa_name) File ...
5
votes
1answer
5k views

apt-get install git-core failed

After running sudo apt-get install git-core, I get Unpacking git-core (from .../git-core_1%3a1.7.4.1-3_all.deb) ... Errors were encountered while processing: ...
17
votes
1answer
5k views

Why does my 64-bit system look for 32-bit repos?

I've got a 64-bit 12.10 install on my Laptop. When running apt-get update, it downloads package lists for 32-bit packages (as well as source and 64-bit package lists). Why does it look for 32-bit ...
0
votes
1answer
2k views

apt-get error: Unable to find expected entry contrib/binary-i386/Packages in Meta-index file (malformed Release file?)

I am getting below error when I try to update. I had gone through the previous articles related to this question but none of them were helpless. Could you please help me to rectify this? W: Failed to ...
0
votes
0answers
27 views

phpmyadmin stuck in apt-get [duplicate]

Possible Duplicate: How do I fix a “Could not get lock /var/lib/dpkg/lock” problem? So I tried to install PHPmyadmin, but it got stuck, so I needed to force shut it down ... Now when I try ...
5
votes
1answer
23k views

Failed to fetch repositories [duplicate]

Possible Duplicate: How to install software or upgrade from old unsupported release? How can I fix a 404 Error using the Ubuntu archives? I am having trouble downloading the Ubuntu ...
1
vote
0answers
1k views

How to resolve dpkg error code (1)?

I get the following apt-get error message: sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to ...
0
votes
1answer
963 views

Unable to install php5 on 12.10 [duplicate]

I am trying to install php5 on Ubuntu 12.10 Desktop and getting the following error: sudo apt-get install php5 php5-cli libapache2-mod-php5 Reading package lists... Done Building dependency tree ...
6
votes
0answers
73 views

Is there a way to download updates differentially rather than via .deb files? [duplicate]

Possible Duplicate: When will Ubuntu include delta updates? In the old days, you downloaded or installed packages from a CD, and then a year later you got the new version of your ...
3
votes
0answers
1k views

How do I fix the “Duplicate sources.list entry” warning? [duplicate]

When I run sudo apt-get install -f I get this output: Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed ...
1
vote
0answers
2k views

How can I run Sublime as a normal user? [closed]

I've installed Sublime Text using this method and the installation seems to have went through just fine. However, I can't seem to run sublime as a normal user. I can only get it to run when I run it ...
6
votes
1answer
8k views

apt-get asks me to insert CD, why? [duplicate]

Possible Duplicate: I can’t update 12.04 LTS I tried to install several package before and it happened before, actually Iþm getting this for sudo apt-get install libvte-dev and this is ...
0
votes
1answer
591 views

How do you remove individual packages from the list in synaptic package manager?

I would like to be able to remove references to a particular, individual package in a repository. If I do not want install something it would be nice to speed up apt-get update(by skipping those) and ...
4
votes
2answers
1k views

How to revert an 'apt-get remove' action after pressing CTRL+Z

I ran by mistake apt-get remove WRONG_PACKAGE, after realizing this, I pressed CTRL+Z to break the process since removing that package started removing around 100+ other packages. Now when I try to ...
20
votes
1answer
35k views

How to fix GPG in updater [duplicate]

I have asked this question before, but it was closed as a "duplicate." I can assure you that my scenario is original, as it does not refer to third party PPA's. I am having GPG problems with system ...
18
votes
5answers
20k views

node.js conflicts: /sbin/node vs /usr/bin/node

I have two Ubuntu 12.10 machines: machine A is a VMWare VM and machine B is and old Acer laptop. On both machines, I installed node using apt-get. However machine A installs the main binary as ...
5
votes
1answer
4k views

How to get mit-scheme from the package manager? [closed]

I installed the latest version of x64 lubuntu and I want to install a scheme interpreter. Strangely, in Synaptic only debugger and documentation is available to install. I would rather not compile my ...
6
votes
2answers
2k views

libgtk-3-0 dependency issues

I've been trying to update standard packages on my Ubuntu box. There's literally nothing extra on this box except for VirtualBox for some Windows stuff I run. Here's one output: $ sudo apt-get update ...
5
votes
1answer
3k views

How can I stop unattended-upgrades from rebooting the machine?

I just had a look at my Amazon EC2 instance and noticed I had 20 minutes exactly of downtime. I didn't know what caused it so I logged in to SSH and tried upgrading my packages, and saw that the ...
2
votes
1answer
1k views

“Hash sum mismatch” on trying to install Kile

After installing Ubuntu 12.04 I was trying to install Kile in order to edit .tex files. But this message showed up on attempting to install Kile and Updates: W:Failed to fetch ...
1
vote
2answers
400 views

Unable to install VLC on 12.04, have tried all the solutions posted on related questions

I really have tried a number of the solutions posted on similar questions, no matter what approach I attempt, I can only ever install the following packages: ii libvlc5 ...
5
votes
1answer
285 views

upstart init script remains on apt-get remove

I just created my first .deb file ever from a Python script. I included a package.upstart file under package/debian and all installed great. However, I noticed that apt-get remove package leaves the ...
1
vote
1answer
639 views

broken packages - libg11-mesa-dri:i386

happy new year! Not so for my PC :o) While installing the IA32-libs my PC ran into a broken package problem. ( The system is ubuntu 12.10 - 64 bit and I want to compile 32bit targets.) The console ...
5
votes
2answers
8k views

How to analyze a “[Waiting for headers]” problem during “apt-get update”?

sudo apt-get update sometimes becomes stucked: ... 99% [Waiting for headers] This seems to be a common problem and can have several reasons. For example, on one machine, it was caused because I ...
8
votes
1answer
435 views

How can I know which commands were installed with a package?

How can I get a list of commands that have been installed with a particular package? For example, if I install Chromium, what should type now? Or if I install moreutils, how do I know which commands ...
3
votes
2answers
2k views

I'm having dependency problems with wine and multiarch on 12.04x64. I need a solution

EDIT 3: See bottom, for TL;DR-ish version. I want to install wine1.5, from the ppa:ubuntu-wine/ppa repository. Fair enough right? (I'm running 12.04 x64 and a custom kernel.) I added their ...
0
votes
1answer
1k views

Installing libgtk-3-dev on Ubuntu 10.04

How can I install Libgtk-3-dev on Ubuntu 10.04? If I try sudo apt-get install libgtk-3-dev I get Couldn't find Package. It's not a typo and it's in correctly so I have no idea where to go. Not going ...
2
votes
0answers
1k views

Unable to install VirtualBox 4.2 on Ubuntu 12.10

I am trying to install VirualBox 4.2 on Ubuntu 12.10 but when this is the error I get: The following packages have unmet dependencies: virtualbox-4.2 : Depends: libqt4-opengl (>= 4:4.7.2) but it ...
3
votes
1answer
2k views

linux-image-generic seems to be broken

I'm using Ubuntu 12.04. Recently I can't install anything anymore. I always get the following error message: Setting up linux-image-3.2.0-34-generic (3.2.0-34.53) ... Running depmod. ...
2
votes
2answers
5k views

How to Remove KDE Login Screen?

I accidentally installed KDE on my Ubuntu 12.04 Machine the other day, to find I really don't have a liking for it. I runned a apt-get command to remove the kde-full package, but programs like ...
3
votes
1answer
1k views

Remove User interaction from apt-get when installing/removing things in a script

I have a script which removes libreoffice and installs openoffice instead, how can I get apt-get to stop requiring the user to confirm this operation? I only want this to happen in the script so what ...
3
votes
1answer
763 views

What are the error codes and messages returned for `apt-get update` failures?

Where can I find the error codes returned by a failed apt-get update command? Can you please point me to the code, or specs, that calls out the error messages returned from an apt-get update failure? ...
0
votes
1answer
2k views

How to fix 404 error installing updates? [duplicate]

Possible Duplicate: How can I fix a 404 Error using a PPA? I am not able to install any software on my Ubuntu 12.04 LTS system. Here is the output of sudo apt-get update Ign ...
4
votes
0answers
639 views

Update manager - Failed to load package list [closed]

Come to do some updates in 12.10 today and get the error E:Malformed Description-md5 line; includes invalid character 'd72e12fa21290d21a54b'4e8480abad1', E:Malformed Description-md5 line; includes ...
1
vote
1answer
853 views

Packaging system broken due to missing `/var/lib/dpkg/available` file [closed]

When I want to install a program, I'm unable to. For example: pooya@pooya:~$ sudo apt-get install vlc debconf: apt-extracttemplates failed: No such file or directory Extracting templates from ...
5
votes
2answers
3k views

apt-get upgrade stuck on postgresql dependency

I ran sudo apt-get upgrade on my 12.04 server, and I have become stuck with a PostgreSQL dependency. The console output (of sudo apt-get -f install) is below: dpkg: dependency problems prevent ...
0
votes
1answer
1k views

I can't install any packages without it failing - I get an error about config.dat being locked - how can I fix this?

I had a power failure on my laptop, so I ended up crashing in the middle of a package installation. How do I fix this error? jrg@atlantis:~$ sudo apt-get upgrade --fix-missing Reading package ...
1
vote
1answer
474 views

“Could not find '' executable.” after apt-get install/remove

I get this message (Could not find '' executable.) in terminal after using sudo apt-get since I installed and removed Krusader. I'm using Ubuntu 12.10 with Unity. $ sudo apt-get remove gstm Reading ...
1
vote
1answer
586 views

How to fix “no installation candidate” error installing pessulus on Ubuntu 12.10?

How can I install pessulus on Ubuntu 12.10? We are currently upgrading hardware and Ubuntu 12.10 supports the multi-touch screen that we're about to use. When I enter the command apt-get install ...
-1
votes
4answers
14k views

How to install Canon LBP2900 printer in ubuntu 12.10

Sir.. I have recently upgraded to ubuntu 12.10. I recently bought Canon LBP2900 printer. Unfortunately I tried to install it ..there is no use. Please tell me how to install it and work with it.
-1
votes
2answers
3k views

apt problems: can't install GParted on Ubuntu 11.04

I'm trying to install GParted on my Ubuntu sudo apt-get install gparted but I'm getting the following output: root@adam-desktop:/home/adam# sudo apt-get install gparted Reading package lists... ...
0
votes
2answers
32 views

How to browse or search software package list with the right version naming?

I want to install a specific version of ipython (0.13.1), but it kept telling me that particular version does not exist. I am wondering if I am using the wrong version name, so it can not match the ...
2
votes
1answer
52 views

How to share architecture-independent latex files across multiple setups

I have 3 ubuntu computers, 2 of them running 32-bit and one 64-bit. I want to install latex and texmaker on all of them. However, the downloads are pretty large and i don't want to unnecessarily ...
50
votes
3answers
101k views

What is the Difference Between `apt-get purge` and `apt-get remove`? [duplicate]

Possible Duplicate: What is the correct way to completely remove an application? Is there any difference between sudo apt-get purge <package-name> and sudo apt-get remove ...
4
votes
1answer
2k views

Getting older packages from ppa

Can I install an older version of a specific package from a ppa? Specifically, I want to get an older version of xserver-xorg-video-intel (and dependencies) from xorg-edgers ppa. The reason is that ...
4
votes
2answers
9k views

How to rollback an apt-get upgrade from command line?

I remotely administer a 12.04 LTS desktop and will periodically do sudo apt-get update sudo apt-get upgrade However, if the upgrade installs something that causes a system issue, I'd like to ...
12
votes
3answers
1k views

How to prevent so many instances of apt-check running?

I have an Ubuntu 12.04 server that just crashed because of a very obvious cause: 30+ of apt-check processes consuming all memory, the OOM killer kicking in, killing vital services. I'm not sure where ...