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)

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
934 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
569 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: ...
5
votes
3answers
11k 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
401 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
55k 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
672 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 ...
4
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
500 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 ...
74
votes
24answers
136k 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
287 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
356 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
250 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
831 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
494 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
4k 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 ...
13
votes
6answers
38k 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 ...
3
votes
1answer
72 views

How to install 11.10 package on 11.04?

I use rsnapshot to backup various machines, and there is a bug fix between 1.3.1-1 and 1.3.1-3 which is important to me. Unfortunately, this bug fix is only packaged for Oneiric, and a couple of my ...
2
votes
1answer
1k views

Added PPA but apt-get update shows that it's URL is being ignored

I have just added the Handbrake PPA to my Ubuntu system using apt-add-repository ppa:stebbins/handbrake-releases as root. I've then run apt-get update but whenever I run this I get the following line ...
6
votes
4answers
1k views

What is the recommended method for getting & installing updates for an Alpha or Beta release?

I am new and do not, of course, know a lot about installing and maintaining an Ubuntu release. One of the "tricks" I have learned to use is sudo apt-get update followed by sudo apt-get upgrade to ...
0
votes
1answer
3k views

Missing php.ini after apt-get install php5

I just installed php5 as root via apt-get install php5, and for whatever reason I can't find my php.ini file. Running locate php.ini or ls /etc/ | grep php.ini both yield no results. Is there ...
3
votes
3answers
8k views

Apt-get failed to fetch from Ubuntu server with error code 404

I just updated from 10.04 to Oneiric and now I can not use my apt-get anymore. When I do I got the following error: Ign http://security.ubuntu.com oneiric-security InRelease Ign ...
1
vote
0answers
50 views

Fixing dpkg after installation of broken packages? [duplicate]

Possible Duplicate: How to remove all associated files and configuration settings of an app installed through 'force architecture' command I installed a broken package, and now ...
1
vote
1answer
892 views

make a deb repository from packages installed in one server

i have to servers, the main of them , called server1 is a working ubuntu server, with some packages hold in some version, and some of them compiled from deb-src too. I want to make a local repository ...
1
vote
1answer
2k views

Will upgrading ubuntu kernel to a newer downgrade the old kernel?

i have an ubuntu desktop 11.10 64 bit upgraded from 11.04, with kernel 3.3.0 generic installed from packages. I plan to upgrade automatically to 12.04 LTS. I saw in the release info that the official ...
11
votes
4answers
12k views

bypass the yes/no prompt in apt-get upgrade

in order avoid typing out all of the apt-get commands when updating my computer i have made a simple alias command to do it. But i really want to be able to just type in my alias and let it do its ...
22
votes
2answers
35k views

How to install suggested packages in apt-get

I know the question has been asked before, but please hear me out. So I wanted to install screenlets. I ran sudo apt-get install screenlets, and this is what I got: The following extra packages will ...
0
votes
1answer
267 views

Trigger script execution on after apt-get upgrade for a certain package?

Question: I have customized an application startup script. Unfortunately, it gets overwritten every time I do apt-get dist-upgrade when there is an update available (quite often). Now I have ...
3
votes
1answer
792 views

How can I install any package in a particular directory with apt-get?

I would like to know if there is any way that I can make apt-get to install packages in a directory other than /usr/bin. Say I want apt-get to install all the packages from now on to /software. Its ...
12
votes
3answers
51k views

apt-get install openjdk-7-jdk doesn't install javac. Why?

The program 'javac' can be found in the following packages: * openjdk-6-jdk * ecj * gcj-4.4-jdk * gcj-4.6-jdk * gcj-4.5-jdk * openjdk-7-jdk Then I run sudo apt-get install openjdk-7-jdk and ...
5
votes
3answers
941 views

is there a use case for `apt-get install` without `update`?

Every time I see instructions to run apt-get install, it says to run apt-get updatefirst. Same for upgrade and dist-upgrade. Why doesn't install automatically do update? Is there a case where you ...
13
votes
2answers
15k views

aptitude safe-upgrade equivalence with apt-get

Is there an equivalent to doing aptitude safe-upgrade using apt-get?
2
votes
2answers
2k views

unmet dependencies and broken count>0 problem

I tried installing fbreader, following all the steps, but ended up with unmet dependencies, i also think a file is referenced in two locations at once and hence killing it.. any ideas how I can fix ...
6
votes
4answers
13k views

where are apt-get files stored?

i have an ubuntu with three virtual machines running inside running ubuntu also i update the host using apt-get update but i can update VM's, it takes a long time + uses a lot of bandwith which ...
1
vote
1answer
3k views

Unable to upgrade due to “SystemError: E:Method has died unexpectedly!” error

These are the errors shows by different client Update Manager: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate ...
16
votes
5answers
65k views

How to downgrade from PHP 5.4 to 5.3

Recently I upgraded PHP to 5.4, but it seems to be failing on me because APC isn't working with it, however this gave me no choice but to downgrade to 5.3, how can I do this? I executed apt-get ...
2
votes
1answer
2k views

apt-get update fails due to “Unable to connect to localhost:8250” error

Im trying to run sudo apt-get update. I know the server is up and my internet is working. any clues? sudo apt-get update Err http://ppa.launchpad.net oneiric InRelease Err ...
0
votes
3answers
665 views

Get list of recommended packages (suggestions) for touch screen support after apt-get install lxde

I was manually installing X server and lxde on my cellphone's chrooted ubuntu. There were a couple of packages suggested after install related to touchscreen support. I can't remember the name of ...
0
votes
1answer
531 views

libimobiledevice wants to remove all my other packages

When running the command sudo apt-get remove libimobiledevice2 I get: The following packages will be REMOVED: ... gdm gdm-guest-session gnome-power-manager gnome-session gnome-session-bin ...
0
votes
2answers
4k views

All kind of errors while running apt-get update, GPG, BADSIG and more

Okay, I dont know what is going on and thats why I am writing here. I have seen many questions asked and the sollutions to the issues with gpg errors are either sudo -i apt-get clean cd /var/lib/apt ...
1
vote
1answer
553 views

apt-get doesnt download files from NFS location

I have switched to unix from last 3 months and trying to understand install process and in particular apt-get. I am able to successfully install and download the packages when I configure my ...