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)

101
votes
8answers
232k views

What does “sudo apt-get update” do?

I am wondering what sudo apt-get update does? What does it update?
0
votes
0answers
8 views

Cannot Install Airtime

I tried to install Airtime 2.5.1 on ubuntu 13.04 and on ububtu 14.04 and both times I got this message in terminal: Setting up airtime (2.5.1-3) ... Setting up apache2... Site airtime-vhost already ...
19
votes
1answer
13k views

How can I remove gpg key that I added using apt-key add -?

I don't need the key in my server's keyring anymore. Is it possible to remove it? I added the key using this command: curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add - Thanks ...
1
vote
0answers
5 views

Error while installing ubuntu-sdk-libs-dev in fresh Ubuntu 14.10 armhf schroot

I just created a fresh Ubuntu 14.10 armhf schroot using the Ubuntu SDK. In the schroot I tried running apt-get install ubuntu-sdk-libs-dev in order to develop apps for Ubuntu touch but I'm getting an ...
1
vote
2answers
23k views

“dpkg-divert: error: rename involves overwriting `protocol.txt' with different file `protocol-precise.txt'” while upgrading xorg [duplicate]

This happen after the download of Ubuntu 13.04 and I can't even download stuff because of this problem: root@Viktor-Dator:/home/viktor# sudo apt-get upgrade Reading package lists... Done Building ...
0
votes
1answer
36 views

problem installing package

I've faced following problems while installing packages- installArchives() failed: E: Cannot get debconf version. Is debconf installed? debconf: apt-extracttemplates failed: No such file or directory ...
10
votes
4answers
26k views

How to only install updates from a specific repository?

How do I limit the updates that are installed to those from a specific set of repositories? Is this at all possible?
1
vote
2answers
62 views

What's the official method for checking integrity of a source package?

I want to add a feature to pam, and I figured a good starting point was to download the libpam-modules source. On download, I notice this warning: gpgv: Can't check signature: public key not found ...
0
votes
1answer
2k views

Unable to upgrade to 14.04

I am trying to upgrade from Kubuntu 13.10 to 14.04. When I start the distribution upgrade, I get this message after "setting new software channels": An unresolvable problem occurred while ...
0
votes
1answer
24 views

Stuck in a mess

I'm stuck in mess. I recently blanked my administrative password. When I try to do anything that requires a password, I don't have one. Also installing software from the networking bash console(to ...
1
vote
1answer
31 views

After removing the latest kernel, how can I be notified of kernel updates again?

Yesterday, I updated all packages through the software updater. It installed kernel 3.13.0-35. When I rebooted, I would get a completely unresponsive blank screen, so I went back to the Grub menu ...
3
votes
7answers
3k views

apt-get upgrade stuck at the same package

Current status I've started to suspect this is not an Ubuntu issue, but related to the internet connection here at my work. Until I'm sure, Im leaving my question below: Original question I'm ...
0
votes
1answer
58 views

dpkg: error processing package linux-image-generic (--configure): dependency problems - leaving unconfigured

dpkg --configure -a Setting up linux-image-3.13.0-35-generic (3.13.0-35.62) ... Running depmod. update-initramfs: deferring update (hook will be called later) The link /initrd.img is a dangling ...
0
votes
0answers
8 views

Patch a package by adding new files to it?

I'm trying to patch an existing package, and my patch is supposed to change some files and add some files and directories to the package. All seems to work, the .patch file in debian/patches looks ...
0
votes
1answer
19 views

Java is installed but not recognized

austin@HP-ENVY-m6-Notebook-PC:~$ java -version The program 'java' can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless * ...
1
vote
1answer
16 views

Where can I find statistics on package downloads and dependencies?

Is there a site that lists (or ranks) Ubuntu/Debian packages by downloads or dependency count? The Node.js package manager npm has leaderboards, as does PyPI (unofficially). It'd be interesting to see ...
14
votes
2answers
11k views

“method driver /usr/lib/apt/methods/https could not be found” update error

sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. michael@Ubuntu:~$ sudo apt-get clean michael@Ubuntu:~$ cd /var/lib/apt michael@Ubuntu:/var/lib/apt$ sudo mv ...
168
votes
4answers
135k views

How to upgrade a single package using apt-get?

How do I update a single package? As far as man apt-get says apt-get upgrade doesn't take a package/list of packages as parameter: upgrade upgrade is used to install the newest versions of ...
0
votes
1answer
22 views

Unable to get exclusive lock, apt-get busy

Whenever I try a command, I get an error saying: Unable to get exclusive lock Also apt-get is busy, but I am not even running any other application.
0
votes
4answers
607 views

How to prevent script not to stop after apt-get?

I keep some bash snippets and copy&paste them when I needed for management. But I discovered apt-get cancels script execution. Here's my script where problematic. apt-get -y install gcc g++ make ...
0
votes
1answer
26 views

Installing FOG on Ubuntu 12.04

I am trying to install FOG on 12.04 Server LTS. I have downloaded the latest version from SF, but when I try to install it, it fails when trying to install MySQL, specifically with: The following ...
1
vote
0answers
18 views

“Depends: ___ but ___-saucy is to be installed” type broken dependencies after Trusty upgrade

The installer threw an error near the end of the 14.04 Trusty upgrade. unity-control-center is not installed and upon trying to install it I now have a chain of broken dependencies which, after going ...
0
votes
2answers
23 views

Why am I getting Error: need a single repository as argument for sudo add-apt-repository ppa: paolorotolo / android-studio

I am executing the following command as per the instructions in the link. sudo add-apt-repository ppa: paolorotolo / android-studio I am getting the error - Error: need a single repository as ...
0
votes
1answer
25 views

Error occurring while updating the repo

I'm using ubuntu 12.04 LTS and getting this error while updating the repo. How to resolve this GPG error? W: A error occurred during the signature verification. The repository is not updated ...
5
votes
9answers
44k views

apt-get update cannot find ubuntu servers

Running sudo apt-get update fails on my server (that has a 'net connection). Are the servers temporarily broken, or is my apt misconfigured and using old servers? In short, how do I fix this? Here's ...
0
votes
1answer
27 views

Error installing ubuntu-desktop on 14.04

I am trying to install ubuntu-desktop on 14.04 but when I run apt-get install ubuntu-desktop it gives error: Some packages could not be installed. This may mean that you have requested an ...
77
votes
2answers
101k views

Install Teamviewer using a 64-bits system but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependencies error. I tried to install them but with no luck. I'm getting this Error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
2
votes
3answers
8k 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 ...
4
votes
3answers
6k views

Ubuntu 12.04 boots into black blank screen

I installed Ubuntu server 12.04 about 2 weeks ago. It had been working well and running 24/7 until I accidentally restarted it yesterday. Shouldn't have been a problem, yet now it just sits at a black ...
4
votes
4answers
11k views

dpkg: invoke-rc.d: initscript mysql, action “start” failed

I have read a number of the posts here and they all state to run the following commands: Apt-get -f remove ** apt-get update apt-get upgrade apt-get -f install ** I have seen these in various ...
1
vote
3answers
33 views

Problem installing gcc compiler

I tried to install gcc compiler because I want to learn programming I have an old computer 1gb ram so I installed an older version of Ubuntu (10.04) and its working faster than before but when I try ...
0
votes
1answer
36 views

apt-get remove does not remove

After I install, then remove a package, the application is still present: $ sudo apt-get install dhcp3-server Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
18 views

install phpmyadmin error

I want to install phpmyadmin on Ubuntu 14.04 LTS and type the following commands, but I get the following error message on either one of the following command. Anything I can check the configuration ...
0
votes
0answers
10 views

Not able to get the KDE desktop after upgrading from 10.04 to 14.04

I upgraded my laptop from Kubuntu 10.04LTS to 14.04LTS. After upgrade I am not able to get the launchbar, I only see desktop items. After google-ing I tried to re-install unity/compiz but I got this ...
0
votes
1answer
166 views

Installing rbenv apt-get vs git checkout

I'm finding confliccting advice on how to install rbenv (and ruby) in recent ubuntu versions (13.10). Many guides suggest cloning from git, and updating bashrc etc. For example this guide on ...
2
votes
4answers
7k views

Item cannot be installed or removed until the package catalogue is repaired

After installing Microsoft Windows Compatibility Layer (meta-package) i receive an error Item cannot be installed or removed until the package catalogue is repaired. Do you want to repair it ...
1
vote
0answers
14 views

The package information displayed by Ubuntu Software-Center is 17 days back and counting

While re-opening my Ubuntu 12.04 machine after a 2 weeks vacations, and successfully using the Update Manager to update my applications I see that The package information was last updated 17 days ...
0
votes
1answer
5k views

GNOME/GDM not starting

NOTE: While working through my issue and documenting it I discovered the solution, but have decided to post this in case another person has the same/similar issue (see bottom)... After uninstalling ...
3
votes
1answer
704 views

How can I mark all packages with installed dependents as “Automatically Installed”?

There are some similar questions, but here is precisely what I would like to achieve and the dots which I am having trouble connecting: Query a list of "Manually Installed" packages (apt-mark ...
2
votes
2answers
25 views

Maximum space required for ubuntu repository

I am using Ubuntu 12.10 (Quantal) version and it is at EOL. The repositories for older releases that are not supported get moved to an archive server. These repositories are available at ...
0
votes
1answer
15 views

Frostwire Installation Problem

I've been using Ubuntu for a while now but am not very proficient with some of the more technical stuff. Recently I have had trouble with Skype and Frostwire, two programmes that used to work ...
2
votes
2answers
582 views

Installed 14.04 on a non-PAE (Pentium-M), but now I can't update (“This kernel does not support a non-PAE CPU.”)

Here is what I'm looking at. This isn't my computer. I repair PC's and I had an end user with this low powered laptop running XP so I decided to let him try out lubuntu. The install went smoothly with ...
2
votes
2answers
375 views

This kernel does not support a non-PAE CPU

I received the error message: The package system is broken and I am not, to my knowledge, using third party repositories. Following some of the recent posts on similar topics, I looked at other posts ...
1
vote
1answer
2k views

How to install iodbc in Ubuntu 12.10

I need to install the library iodbc (depends on libodbc2) in my Quantal machine. Yet there is creepy dependency problem. This was replaced somehow by unixodbc which I don't have, installed. Here is ...
1
vote
0answers
18 views

Upgrade from 13.10 to 14.04 “rolled back”

I've tried to upgrade my Kubuntu from 13.10 to 14.04, through the notification popup appeared in my taskbar. The upgrade process started, it begun to download about 1800 packages, it downloaded ...
0
votes
1answer
16 views

No Sound on Saved Media Playback

The sound works when playing streaming videos. However, there is no sound when playing saved/downloaded videos using media player or VLC. It started after I ran apt-get upgrade. The system is not ...
0
votes
1answer
30 views

Malformed Line 59 [duplicate]

I've seen a bunch of post about malformed line but I can't understand how they are resolved or what needs to be changed and now I'm getting another error message: (gedit:2708): Gtk-WARNING **: ...
1
vote
0answers
23 views

404 Error for extras.ubuntu

sudo apt-get install and sudo apt-get update show 404 Error not found. So I checked the file /etc/apt/sources.list and replaced all (xx.)archive.ubuntu with old-releases.ubuntu. Everything works ...
0
votes
0answers
65 views

Problem configuring texlive-base

I've had some problems with apt-get updates since upgrading to 14.04. It always ends up reporting errors configuring some packages. Here's the logs that appear relevant: $ sudo dpkg --configure ...
3
votes
3answers
6k views

Is Avant Window Navigator Available For Ubuntu 14.04?

I want to install avant-window-navigator on Ubuntu 14.04. I tried to install by following command: sudo add-apt-repository ppa:awn-testing/ppa sudo apt-get update sudo apt-get install ...