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)

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
134k 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
20 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
605 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
24 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
15 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
15 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
16 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
26 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
100k 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
32 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
17 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
8 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
164 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
703 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
24 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
14 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
567 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
371 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
17 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
15 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
22 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 ...
0
votes
1answer
31 views

Dist-Upgrade - LibreOffice dependencies later than required

When I try to update my Ubuntu box, I get this error : dpkg: dependency problems prevent configuration of libreoffice-base: libreoffice-base depends on libreoffice-base-core (= ...
1
vote
0answers
15 views

apt-get upgrade complains about authentication of packages

I am currently using Ubuntu 14.04.1 server. When issuing a: sudo apt-get upgrade apt-get says: WARNING: The following packages cannot be authenticated This is a fresh install from an ISO that ...
0
votes
0answers
9 views

Apt-get and dpkg not working due to mono-complete

After installing the mono-complete package, no matter what I do in apt-get and dpkg, even apt-get -f install and the likes, except for apt-get update, I ALWAYS get the following errors: Setting ...
0
votes
0answers
18 views

Encountered a section with no package [duplicate]

I've recently installed ubuntu 14.04. I was quit satisfied with it till yesterday when I couldn't open ubuntu software center. I've received a notification like this: E:Encountered a section with no ...
1
vote
2answers
479 views

apt authentication failure on self-signed package

I did create a gpg key using "gpg --gen-key", here is the listing: > gpg --list-keys /home/<user>/.gnupg/pubring.gpg -------------------------------- pub 2048R/99EDE0B7 2013-02-05 uid ...
0
votes
1answer
18 views

The following packages were automatically installed and are no longer required with important libs

The following packages were automatically installed and are no longer required: libopenal1:i386 libsdl-ttf2.0-0:i386 libgconf-2-4:i386 libatk1.0-0:i386 libstdc++5:i386 libpam-winbind ttf-umefont ...
40
votes
7answers
18k 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 ...
0
votes
3answers
51 views

dpkg error when using apt-get install

I upgraded to Ubuntu 14.04 from 12.04 and every time I use apt-get install for any package it ends with a bunch of errors about processing some of my latex packages. Including a snippet below: ...
0
votes
0answers
24 views

'Error:Opening the cache' [on hold]

I am using Ubuntu 12.04 LTS 32-bit Linux dist. I have tried the 2 approaches below and it seems that there is a lot of work to do. I am new to Ubuntu and need help. Am I coming at this problem the ...
0
votes
0answers
32 views

How to build C++ application that links to actual .so.$(version) file at runtime rather to a .so symbolic link [on hold]

I've installed a base-dev library (a dependency) for building my C++ application. I packed the application using dpkg-buildpackage -fakeroot -b. when installing myapp.deb. on target machine the base1 ...
0
votes
4answers
2k views

Download softwares along with dependancy

I am trying to download xen hypervisor so that when ever Internet isn't available I can install it. I am using this: sudo apt-get download xen-hypervisor-4.1-i386 This will create a .deb file, but ...
175
votes
11answers
124k views

“The following packages have been kept back:” Why and how do I solve it?

I just added a PPA repository for the development version of the GIMP, but I get this error The following packages have been kept back: gimp gimp-data libgegl-0.0-0 libgimp2.0 Why and how can I ...
2
votes
6answers
4k views

Can't install Skype 4.3 on Ubuntu 14.04 64 bit

First of all, I think this question is not duplicated, because I have tried all other solutions I found here, but nothing solved my problem. I use Ubuntu 14.04 64 bit. I have tried until now: sudo ...
-1
votes
1answer
18 views

Problems compiling scangearmp

I have already installed some missing packages, but i still get that error. Can anyone help me identify what is missing ? Thanks a lot ...
0
votes
0answers
17 views

Unable to install bsddb185, Python library for opening Berkeley DB version 1.85 files on Ubuntu

I am writing a python program that makes use of some legacy Berkeley DB 1.85 files. Unfortunately I am unable to install the bsddb185 Python package, either for Python version 2.x and for Python 3. ...
0
votes
0answers
108 views

sudo apt-get update command not working

I'm on Ubuntu 14.04 and I tried running sudo apt-get update but I get the below error: W: Failed to fetch http://ubuntu.tuxuri.com/ubuntu/dists/trusty-security/InRelease W: Failed to fetch ...