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)

11
votes
4answers
26k views

What is the command line equivalent for the update manager?

When I do sudo apt-get update sudo apt-get upgrade Sometimes the Ubuntu GUI Update Manager will still have some items left. e.g. “Complete Generic Linuux kernel”. I know there's also sudo apt-get ...
45
votes
7answers
30k views

Is it possible to undo an apt-get install command?

I installed Carpadio on my Xubuntu install (a Live USB), which then pulled like over 50 packages from, I suppose, the Ubuntu side of the repository. Now I would like to undo this. However for all my ...
3
votes
2answers
27 views

Splitting a large package into smaller ones/upgrade path for users?

I maintain a couple of large packages that we use internally and starting with the next release I would like to split those into smaller packages. These packages are already installed in a number of ...
10
votes
5answers
4k views

apt-get broken: No module named debian.deb822

sys.path: ['/usr/lib/update-notifier', '/usr/local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/python2.6/plat-linux3', '/usr/local/lib/python2.6/lib-tk', ...
0
votes
3answers
3k views

Problem installing Grub Customizer in Lubuntu

I'm using Lubuntu. I tried to install Grub Customizer but I have problems. I used the following commands: sudo add-apt-repository ppa:danielrichter2007/grub-customizer sudo apt-get update sudo ...
3
votes
2answers
3k views

How to use 'apt' to get source code and then do separate compile

I want to get the source code for a project and then build it the same way that apt would. E.g. I want the working source code and be able to run 'make' or similar command on the source. How can I ...
2
votes
1answer
806 views

how to upgrade gearman server on Ubuntu 11.10

I am completely new to Linux/Ubuntu and command-line. At work I needed to install gearman server and workers on an Ubuntu 11.10 Rackspace box. I ran this command apt-get install gearman-job-server to ...
1
vote
1answer
489 views

Trying to install smlnj on Ubuntu 10.04, REPL not working

I have installed smlnj using sudo apt-get install smlnj, but when I try to run it on the CLI using sml, I get this error /usr/lib/smlnj/bin/.run/run.x86-linux: 1: Syntax error: "(" unexpected. I ...
4
votes
1answer
755 views

apt-get upgrade fails with `Permission denied`

I have recently installed 12.04 and all seemed to be well, until today when I got a series of errors when trying to run apt-get upgrade: $ sudo apt-get upgrade Reading package lists... Done ...
2
votes
1answer
15k views

Ubuntu 12.10: Package libc6-dev-i386 is not available

I'm building 32 bit boost thread libraries on 32 bit Ubuntu 12.10. When building I get the error /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory I googled the problem ...
1
vote
1answer
446 views

Error while installing package - Ubuntu 12.04

Below is the error i am getting. when i install or upgrade , i have been struggling for a while to solve . sudo apt-get upgrade Reading package lists... Done Building dependency tree ...
1
vote
1answer
6k views

Package network-manager-openvpn is not available, but is referred to by another package

I'm trying out Ubuntu's live cd and have booted in from a USB. I want to check if it will work with my VPN or not. I already have Network Manager installed, but when I go to Configure VPNs, I can only ...
3
votes
5answers
3k views

issues in installation of mongo DB

I was installing mongo DB on my Ubuntu-12.04 system, but while i give the following command in my terminal apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 It gives me the following ...
1
vote
0answers
544 views

cannot reinstall skype after manually removing its “held back” package

I am running 12.04 (precise) Ubuntu on my computer, which I keep it up to date. Recently skype started being listed as a "kept back" package whenever I ran a software update. Stupidly I uninstalled ...
1
vote
0answers
1k views

Packages not found despite correct /etc/apt/source.list

My /etc/apt/sources.list looks like this deb http://de.archive.ubuntu.com/ubuntu quantal main restricted universe multiverse deb http://de.archive.ubuntu.com/ubuntu quantal-updates main restricted ...
0
votes
2answers
153 views

Problem in upgrading and opening software center [duplicate]

I am runing Ubuntu 12.04. I cannot open Ubuntu Software Center and cannot upgrade anything. When I tried to upgrade using terminal with following lines: sudo apt-get update sudo apt-get upgrade My ...
2
votes
1answer
789 views

Half installed package error

Received the following error when attempting to install from Terminal: Selecting previously unselected package dassault-systemes-draftsight. (Reading database … 211618 files and directories currently ...
3
votes
3answers
12k views

“Unmet Dependencies” problem when trying apt-get install

Anytime I try to install python packages using the command: sudo apt-get install python-package I get the following output: Reading package lists... Done Building dependency tree Reading ...
8
votes
5answers
23k views

Errors running apt-get update and apt-get install mysql-server

Since yesterday I've been trying to run apt-get update unsuccessfully in Ubuntu instances I am creating on the EC2. In specific I've been getting these errors: Ign http://security.ubuntu.com ...
0
votes
1answer
96 views

Jenkins polling for Ubuntu Kernel upgrades?

Say I wanted to distribute a binary kernel module for a custom in-house piece of hardware to users inside my company. The ideal situation is that it requires no compilation on the part of the user. ...
1
vote
0answers
651 views

Duplicate source.list entry for Chrome [duplicate]

When ever i am updating using apt-get update or via Synaptic, there will be some errors. Can any one help me to solve the issue? I Google about it a lot, but didn't succeed. Errors are given below: ...
4
votes
1answer
631 views

Installing a previous version of a package when you don't have the .deb available?

Same question as how-to-downgrade-a-package-via-apt-get, except what if it's on a newly deployed server and the archived .deb is not there? For example, ...
6
votes
2answers
1k views

list all suggested packages for currently installed packages

Every time I install a package: sudo apt-get install <pkg> apt-get displays a list of suggested packages. I have simply ignored these so far, but some of these suggestions are actually good ...
2
votes
0answers
61 views

Cannot connect to ubuntuarchive.hnsdc.com, how to install g++? [duplicate]

Possible Duplicate: ‘Some index files failed to download’ while updating I am using Ubuntu 10.04. I typed sudo apt-get install g++ in the terminal and got the following output. I can't ...
5
votes
3answers
11k views

How to install rar (no installation candidate)?

I need the package rar. But I get this error whenever I try to install it: Reading package Lists... Done Building dependency tree Reading state information... Done Package rar ist not available, but ...
1
vote
1answer
5k views

How to install apps when APT says “Could not perform immediate configuration”?

My problem is, when I want to install apps like apt-get install <appsname>, I get an error: root@bt:/# apt-get install bluefish Reading package lists... Done Building dependency tree ...
2
votes
0answers
424 views

how to restart upgrade during middle of upgrade session

I was upgrading from Ubuntu 11.10 to 12.04 sudo do-release-upgrade after this downloaded 700 Mb of packages in approximately 10 hours and upgrade etc started I am finally stuck up here during the ...
1
vote
1answer
1k views

How can I specify the languages that apt-get uses?

At some point in my installation, I must've selected several languages as default. When I run sudo apt-get update, I got output similar to the following. Ign http://ppa.launchpad.net quantal/main ...
1
vote
1answer
378 views

squid-deb-proxy on client side unable to get packages from the server

I am having 2 laptops on one of them I did a do-release-upgrade and it took near about 10 hours to upgrade to 12.04 now I want to upgrade second laptop also so I used following thread Best way to ...
4
votes
1answer
1k views

How can I fix dependency problems with firefox? [duplicate]

Possible Duplicate: How do I resolve unmet dependencies? I can't do anything from Ubuntu Software Center or from Terminal This is what i get from command line: deus@comp:~$ sudo apt-get ...
0
votes
1answer
88 views

using the downloaded upgrade packages from one laptop to another [duplicate]

Possible Duplicate: How can I install software or packages without Internet (offline)? I have upgraded Ubuntu 11.10 (amd64) to 12.04 (amd64) on one of the laptops I have, I have another ...
2
votes
0answers
96 views

Malformed line in source list [duplicate]

Possible Duplicate: How do I remove a malformed line from my sources.list? Whenever I use the command sudo apt-get update, it shows up the following errors: E: Malformed line 13 in source ...
2
votes
2answers
5k views

nginx dependency problem trying to upgrade

Trying to upgrade my Ubuntu 12.04 vps I get the following error: henrik@neung:~$ sudo apt-get upgrade [sudo] password for henrik: Reading package lists... Done Building dependency tree ...
0
votes
0answers
30 views

Unable to install ia32-libs [duplicate]

Possible Duplicate: Manually installing ia32-libs-multiarch on Ubuntu 12.10 64bit I can not install ia32-libs, and some other libs, neither with apt-get nor with aptitude. I have Ubuntu ...
2
votes
1answer
8k views

How to install GCC 4.7 on Lubuntu 11.10?

I installed Lubuntu 11.10 and I installed build-essential with this command: sudo apt-get install build-essential Now I have gcc 4.6 I read on some forum that adding the next PPA I'll be able to ...
0
votes
0answers
296 views

getting error Resource temporarily unavailable [duplicate]

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) no matter what i try to install i get this error, also i get unity & unity 2d not installed so if ...
1
vote
2answers
471 views

Is there no support for microphone recording in Flash Player for linux?

Is there no support for microphone recording in Flash Player for Linux? My microphone works fine with Skype. Why is Adobe FlashPlayer unable to use it? Is there no support from Adobe? Also: My ...
1
vote
1answer
1k views

python-problem-report python-apport apport break apt-get

I can no longer install or upgrade packages with apt-get since the packages python-problem-report, python-apport and apport seem to cause some problems. Any apt-get command I have tried results in the ...
1
vote
1answer
641 views

How to mount / after running “apt-get remove php5-curl”?

While trying to tear down a Drupal dev environment, I ran sudo apt-get remove php5-curl It started removing all kinds of packages, like the browser, among other things. I hit Ctrl+C when I saw what ...
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
961 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 ...