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

Keeping 12.04 Server updated properly [duplicate]

Possible Duplicate: What is the difference between apt-get upgrade and apt-get dist-upgrade? I just installed a copy of 12.04 Server and would like to know if I should use apt-get ...
3
votes
1answer
626 views

Installed package curl and got a postfix error!? How do I fix postfix now?

I have a couple questions related to the error below: Why was postfix reconfigured when I installed curl? Is this normal? What do I need to do to resolve the postfix error mentioned? sudo apt-get ...
2
votes
3answers
10k views

How to solve apt “package cannot be configured because package is in a different version” errors?

I can't say what steps brought me into this: → sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 ...
1
vote
2answers
584 views

Update Manager offers update for ibus-hangul & nabi packages but they can't be installed

Update Manager offers update for ibus-hangul & nabi packages but they can't be installed (i can't check their checkboxes). Why? What unmet dependencies they have and how i can met them? Thank ...
3
votes
3answers
5k views

Unauthenticated packages after upgrade to 12.04

I upgraded an 11.10 box to 12.04 yesterday. This morning I tried to run an apt-get upgrade and encountered the following: sudo apt-get upgrade [sudo] password for brian: Reading package lists... ...
8
votes
4answers
4k views

Where are the daily builds for Chromium for 12.04?

I am running now Ubuntu 12.04 Precise Pangolin but i still have today problem with this sources for chromium. Anyone have the Daily-Dev apt sources for chromium? Failed to fetch ...
0
votes
2answers
84 views

Installing a package from repositories of an older release on a newer Ubuntu

Snmpd for Ubuntu 11.10 has some issues, so I want to install snmpd from Ubuntu 10.04 lucid repositories. How can this be done?
0
votes
1answer
328 views

Accidentaly hit esc during a do-release-upgrade?

While doing a do-release-upgrade (from 11.10 to 12.04), I accidentally hit esc and noticed that this interrupted the download of the file being donwloaded at the time and then skipping to the next ...
2
votes
0answers
57 views

Apt-get packages “kept back” [duplicate]

Possible Duplicate: “The following packages have been kept back:” Why and how do I solve it? Does anyone know how to fix this? I would really like to be able to update my ...
1
vote
0answers
104 views

Upgrading from 12.04 beta 2 to stable 12.04 [duplicate]

Possible Duplicate: I installed an alpha or beta, am I up to date with the final release if I keep upgrading? How to upgrade from beta 2 release of 12.04 to stable release of 12.04? Do I ...
2
votes
1answer
286 views

trustworthy p2p solution to accelerate apt-get dist-upgrade

Do you know any good and working solution for making apt-get dist-ugprade faster? I remember trying out apt-p2p a while ago but it was not wokring well. thanks!
8
votes
8answers
10k views

Failed to download repository information due to missing CDROM

When updating I got this error message: W:Failed to fetch cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release amd64 (20111012)/dists/oneiric/main/binary-i386/Packages Please use apt-cdrom to make this ...
0
votes
2answers
1k views

Unable to install updates in Ubuntu server

Unable to install Ubuntu server 11.10 updates. When I try to update using apt I get the following error: reading package lists... done Building dependence tree .... done E:unable to locate package ...
0
votes
1answer
73 views

How retrieve files in a minimal ubuntu installation? aka how apt-get retrieves files?

I'm running pbuilder, which setup a minimal ubuntu installation, and I'd like to retrieve some files without «wget» (it's not installed by default), since apt-get can retrieve .deb files I imagine ...
2
votes
0answers
39 views

How to create a protocol similar to apt:package? [closed]

I wanted to define a protocol to work similar to "apt:package" that works as follows: "apt" is associated with the program "apturl" that when calling the "apt:package" it calls the "apturl" passing ...
2
votes
1answer
527 views

Difference of output of apt-rdepends and apt-get install

When I issue the command apt-rdepends -p python-epydoc | grep NotInstalled I get the below output $ apt-rdepends -p python-epydoc | grep NotInstalled Reading package lists... Done Building dependency ...
-1
votes
1answer
157 views

Applications Won't Install Due To Failed Previous Install

An application that never finished installing is preventing me from getting new applications and i can't seem to fix this. How do i fix my issue? Please note that I cannot install via either the ...
1
vote
1answer
11k views

gcc-arm-linux-gnueabi package not found on 10.04 LTS (Lucid)

I am trying to install the gcc-arm-linux-gnueabi package, but this is the error I am getting: $ sudo apt-get install gcc-arm-linux-gnueabi Reading package lists... Done Building dependency tree ...
1
vote
1answer
2k views

Save *.deb files from var/cache/apt/archives folder for future installation

How can I store away the *.deb files from var/cache/apt/archives directory for future installation in case I need to reinstall the OS in ubuntu 11.10. I tried copying and saving away but after OS ...
2
votes
1answer
321 views

Custom package is uninstallable

I have a custom package I've built, python-amqplib, which relies on python >= 2.5. I'm using repoman to push to my repo via Jenkins, which reports the build was pushed successfully. After an apt-get ...
3
votes
2answers
6k views

/etc/apt/apt.conf gets cleared every time I change proxy settings under settings->network->Network proxy

I use a proxy server settings at work but when i get home, my network connection uses no proxy settings. every time i get home and use the proxy settings under settings->networks->Network Proxy to ...
7
votes
2answers
2k views

How do I set up a private apt repository that can support multiple versions?

I'm looking on how to setup a private apt repository (on 10.04 LTS) that can support multiple versions. I understand that you cannot have multiple versions of a package installed on a server. This is ...
1
vote
3answers
1k views

apt-get update really slow when i'm at the university

When i'm using my university connection I can't run apt-get update normally as I do at home or any other place. Everything else (that use connection) works properly. I've already tried to change the ...
3
votes
2answers
5k views

Unable to locate package openAL

After this command sudo apt-get install openal I got this message: E: Unable to locate package openal
0
votes
0answers
154 views

Cannot access my update manager [duplicate]

Possible Duplicate: How do I fix “malformed line” errors in sources.list? I cannot open my update manager it says: E:Malformed line 54 in source list /etc/apt/sources.list (dist parse), ...
5
votes
2answers
2k views

When I attempt to remove g++ why does apt-get attempt to install it? [closed]

Note: Originally I had a long background explanation leading up to why I was trying to perform apt-get remove g++. I have deleted that as irrelevant after trying this in a clean install of 11.10 ...
3
votes
1answer
881 views

Run /etc/cron.daily/apt at a specific time (i.e. without anacron)

I want to setup a cron job to download up-to-date package only at night. But I found that the cron.daily jobs will be run by anacron if it's installed, so if my computer fails to wake-up at night to ...
3
votes
1answer
561 views

Broken package manager due to incorrect Banshee package

Sup, so, I'm not familiar with linux at all so help is much appreciated. I've been trying to boot my pc up from a live CD unsuccessfully. I get to the stage at which there are the options to test ...
4
votes
4answers
9k views

How do I fix “Unknown error executing gpgv” when doing sudo apt-get update?

I got the following error Reading package lists... Done W: GPG error: http://extras.ubuntu.com oneiric Release: Unknown error executing gpgv executing gpgv ---- ---- W: GPG error: ...
4
votes
3answers
9k views

How do I install ccmake?

How do I install ccmake (not cmake)? I have tried the following to no avail: sudo apt-get install ccmake
0
votes
2answers
398 views

Unable to install applications (Oneiric)

When I use the software center to install something, I get the error: An unhandlable error occured There seems to be a programming error in aptdaemon, the software that allows you to ...
25
votes
6answers
52k views

Where are mysql-admin and query-browser?

In terminal I run next commands: sudo apt-get install mysql-server sudo apt-get install mysql-admin sudo apt-get install mysql-query-browser With first command - all ok. But for latest two ...
2
votes
1answer
1k views

Cannot install packages. “Warning: untrusted versions…” plus “method driver /usr/lib/apt/methods/http could not be found”

Judging from Internet forums, these errors appear to be popular when attempting to install packages: steve:~$ sudo aptitude install examplepackage The following NEW packages will be installed: ...
2
votes
1answer
641 views

Help finding missing mumble-server dependencies

I'm trying to install the mumble-server package using apt-get install mumble-server on Ubuntu 11.10 Server Edition on Rackspace Cloud. Problem is it can't find dependencies it should have found ...
2
votes
1answer
2k views

Could not open lock file /var/lock/aptitude No such file or directory

For all those who installed aptitude to easily search through apt on ubuntu 11+, upon upgrading to 11.10 I am now receiving this error. [ ERR] Reading state information E: Could not open lock file ...
2
votes
1answer
486 views

Why does aptitude list a package as not installed while dpkg says it is installed?

When I stat on my 11.10 machine aptitude search lightdm I get this: p gir1.2-lightdm-1 - Typelib file for liblightdm-1 p liblightdm-gobject-1-0 - LightDM ...
1
vote
1answer
2k views

apt-get install kernel source error

apt-get source linux-image-$(uname -r) gives me the below error Reading package lists... Done Building dependency tree Reading state information... Done Picking 'linux' as source package ...
66
votes
23answers
114k views

How to fix Duplicate sources.list entry?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages ...
2
votes
1answer
1k views

How to safely remove or repair plymouth package?

I have a broken package... So far nothing horrible. The problem is that it is Plymouth, and it seems that if I remove it, I will remove half of the packages of my system... So here is my question: if ...
1
vote
1answer
281 views

cannot update 10.04 server

I've tried to update 10.04.3 Server but I get an error (sorry but trey're written in slovene) says that cannot download updates and cannot connect to http://si.archive.ubuntu.com lucid Release Any ...
1
vote
1answer
4k views

Unable to remove the lock by normal means

I've been installing ubuntu restricted extras via the software center. Everything was going well at first, but then the installation process froze on 'applying changes' stage. I've had this in the ...
2
votes
1answer
344 views

Unable to install blockdiag

I am trying to install a python UML tool called blockdiag via this command: sudo easy_install blockdiag I get the following error and am unable to figure out how to fix it. I have received this ...
-1
votes
1answer
246 views

sudo apt-get remove [software package] removes [software package] but installs something else as well?

I am using Xubuntu 11.10 Oneric on an old ThinkPad. Often, when I run sudo apt-get purge/remove [software package], the requested software package, say, gnome-shell, is removed and replaced with what ...
3
votes
1answer
777 views

How to uninstall softwares installed with `apt-get`

I am a newbie and followed the instructions of the site: http://sejalivre.org/instalando-o-java-6-update-30-no-ubuntu/ in order to install Java and some proprietary software based on Java on my Ubuntu ...
5
votes
7answers
7k views

Apt-Get using Apt-Cacher NG fails to fetch packages with hash sum mismatch

I have a machine who is using Apt-Cacher NG running on another machine as caching proxy. When I try to run sudo apt-get update I get the following errors: W: Failed to fetch ...
4
votes
3answers
473 views

How to download the source packages for all installed packages?

What apt incantations do I need to use to download the source packages for all the installed packages into a directory? (The use case is GPL compliance when giving an installed Ubuntu system to ...
2
votes
1answer
5k views

openjdk-7-jre on Ubuntu 10.10

As mentioned here, by running this command you can install Java 7 JRE. $ sudo apt-get install openjdk-7-jre But sometimes I can't find the package in the official repository of Ubuntu even after ...
3
votes
2answers
3k views

Can't add repository due to 'missing' fingerprint

I am trying to install nginx with php but when I am following a guide, like this one: http://www.justincarmony.com/blog/2011/10/24/setting-up-nginx-php-fpm-on-ubuntu-10-04/ I am always told to add ...
9
votes
6answers
32k views

Package system is broken. How to fix it?

I just recently bought an arduino and requires gcc-avr/avrdude to compile the software. I installed avr for another microprocessor component a while ago but is obviously an outdated version (gcc ...
2
votes
2answers
92 views

What happens if I install updates without checking for new updates first?

Let's say I open the Update Manager, and my package list is a couple of days old, or I do apt-get upgrade without doing an apt-get update first, what is the result of this? If there have been ...