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
4 views

do-release-upgrade crashed, now how to restore?

I had a weird disk error (software-side: btrfs) that caused my upgrade to 14.10 to fail halfway through. I've been able to get things working fairly well, but two things are troubling me: Several ...
35
votes
2answers
29k views

Why am I getting authentication errors for packages from an Ubuntu repository?

I'm experimenting with VPNs, so I wanted to install pptpd. john@desktop:~$ sudo apt-get install pptpd [sudo] password for john: <snip> The following extra packages will be installed: bcrelay ...
4
votes
1answer
209 views
+100

Can't install libglew-dev because libcheese and libclutter don't have the required versions

I'm getting the following error message when attempting to install libglew-dev, Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not ...
0
votes
0answers
18 views

fresh install of Ubuntu 12.04 server addition, error: Depends: liberror-perl but it is not installable [duplicate]

I just downloaded an iso of 64 bit Ubuntu 12.04 Server (ubuntu-12.04.5-server-amd64.iso) and installed in a VMware VM. After installation finished, I attempted to install git with sudo apt-get install ...
-1
votes
1answer
85 views

Steam dependencies can't be installed [duplicate]

I found a few questions that were similar to this but none of them were enough like my particular case to be of any use. Whenever I open Steam, a terminal opens up: Steam needs to install these ...
2
votes
2answers
5k views

Steam needs libgl1-mesa-dri:i386, libgl1-mesa-glx:i386

I have just installed Steam on my Ubuntu 13.10 64 bit and it works well and I can play games but each time I launch it I get the following prompt: Steam needs to install these additional packages: ...
0
votes
0answers
11 views

E: Package 'openswan' has no installation candidate

I am on Ubuntu MATE 14.10, I have all my software sources turned on in 'Software & Updates', I have run apt-get update, etc, but I am still getting the following error when I run sudo apt-get ...
0
votes
0answers
9 views

Unable to update and install mysql-server in Ubuntu VPS

i am trying to install mysql-server and i am having a really hard time (note: just started using Linux). When i try installing MYSQL xxx@vps:~# apt-get install mysql-server mysql-client Reading ...
-1
votes
0answers
10 views

Lots of package dependencies Ubuntu 14-04 errors

I have installed & used Ubuntu 14.04 several times before facing this type of errors. Now i reinstalled Ubuntu 14.04 on my machine, but when i try to install some packages, this error appeared. It ...
1
vote
2answers
3k views

Told command dpkg cannot be found

On issuing the command sudo dpkg -i (package name) at chronos@localhost ~ $, I get the response sudo: dpkg: command not found. Anyone know why? I'm trying to load version 3 of network-manager and ...
0
votes
1answer
13 views

apt-get: unmet dependencies, but dependencies can't install

I'm in a spot where Ubuntu 12.04 LTS wants to do a dist-upgrade, but I can't do anything because /boot is full. ~$ df -h /dev/sda1 228M 227M 0 100% /boot I want ...
0
votes
0answers
5 views

APT_AUTOGEN setting just affecting the package being installed or all?

I have got rkhunter version 1.4.2, and I was just wondering about the APT_AUTOGEN option which I currently have enabled. Does this mean that when I install new software that it just adds that software ...
0
votes
0answers
10 views

apt-get autoremove gives dependency errors, and apt-get -f install needs the space on boot im trying to free up

im new to linux and have been running a server from my house while im at school to try to learn a little bit about it, but ive run into an issue. after about half a year of it running, i realized my ...
1
vote
1answer
212 views

Package upgrade hangs forever on mysql-apt-configure [on hold]

I'm on Linux Mint 17.1 and usually let the update manager update all the packages it suggest. Yesterday it got stuck with an update for MySql. The mysql-apt-config didn't finish for ours so I had to ...
0
votes
0answers
6 views

Broken packages error while installing zookeeper-server

I am running Ubuntu 14.04 LTS (Trusty) and was trying to install Cloudera Hadoop with Yarn by following this tutorial. Under the options I choose To add the CDH 5 repository: and customized url for ...
6
votes
1answer
842 views

apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

When I do upgrade it gets stuck here: user@plato:~# sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done ...
-1
votes
0answers
26 views

can't install ubuntu-sdk after installing ubuntu 14.04.2

Now I can't install ubuntu-sdk and I can't resolve the problem. I used: sudo add-apt-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install ubuntu-sdk ...
-1
votes
0answers
21 views

what to do for UBUNTU SOFTWARE CENTER and the UPDATE command? [duplicate]

this is the result i get after "SUDO APT-GET UPDATE" command E: Malformed line 56 in source list /etc/apt/sources.list (dist parse) E: The list of sources could not be read. what to do now?? ...
1
vote
1answer
22 views

avoid installing some packages from metapackage

I want to install xubuntu-desktop (a very large metapackage) but leaving out some of the packages on it (around 10). The current way I do this is in two steps: 1) install metapackage, and 2) purge ...
1
vote
1answer
34 views

How to get rid of this message about a failed install [on hold]

I installed Ubuntu 11 after its end of life. I then tried to install java from the repositories. However, the installation failed. Since then, every time I install some other package apt-get tries to ...
0
votes
0answers
7 views

key exists already,but still get: GPG error.. The following signatures … public key is not available

I am using ubuntu 14.04 64bit desktop,and updating worked fine before,but suddenly It doesn't(It is a long time from last updating,so I can't ensure what operation leads this problem).As you can see ...
0
votes
0answers
9 views

I apepar to have broken apt-get - how do I figure out what I need to do to fix it?

The first clue that something was wrong as that aptd likes to eat all the CPU: Help: “aptd” is maxing out my CPU? I should have been clued in by the fact that my upgrade died in a rather spectacular ...
0
votes
0answers
14 views

A huge apt log file from failed upgrade - what went wrong & how do I fix it?

When attempting to upgrade from the 12.04 to a newer LTS it seemed to hang for ages (a good day or two) on "preparing for upgrade" and then the whole system started to suffer. Eventually I rebooted ...
0
votes
1answer
28 views

Can't install anything with software center

Every time I open Software center I get this message: New software can't be installed, because there is a problem with the software currently installed. Do you want to repair this problem now? I ...
1
vote
2answers
30k views

sudo apt-get install ubuntu-desktop, Error: unable to locate package

When I try sudo apt-get install ubuntu-desktop I get the error message: unable to locate package ubuntu-desktop. Where do I obtain the package? Or what am I doing wrong?
34
votes
2answers
38k views

What is difference between the options “autoclean”, “autoremove” and “clean”?

apt-get has a few options which looks the same to me: autoclean, autoremove and clean. What do each of them do?
1
vote
0answers
22 views

Error 404 when trying to install the package linux-image-extra

I am trying to install the package below on ubuntu/trusty64 apt-get install -y linux-image-extra-`uname -r` and getting the following error Err http://security.ubuntu.com/ubuntu/ ...
0
votes
0answers
20 views

Package dependencies broken

So I've been trying to install cmake using apt. sudo apt-get install cmake But I get this error message: Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
1answer
24 views

Boost install with apt-get fails

I am trying to install the boost libraries through libboost-all-dev: sudo apt-get install libboost-all-dev Reading package lists... Done Building dependency tree Reading state information... ...
2
votes
2answers
672 views

Application icons in system settings disappear after deleting Text Entry

I used to install ibus pinyin in 12.04 following steps as belows: Settings-->Language Support-->Install/Remove Languages, check Chinese item $ sudo apt-get install ibus ibus-clutter ibus-gtk ...
1
vote
1answer
147 views

Packages are broken with unmet dependencies - cannot install fglrx

I'm new to Ubuntu and trying to survive, but, I can't figure this one out - hopefully it's easy! Ubuntu Software Center says: New software can't be installed, because there is a problem with the ...
0
votes
0answers
32 views

Can't apt update on Ubuntu 14.04 [duplicate]

Here is log. W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ppa.launchpad.net trusty Release: The ...
2
votes
1answer
192 views

Apt Terminal Progress Bar source code Ubuntu 14.04

I have read an article in OMG Ubuntu[0] about enabling the progress bar in the terminal. I'm browsing apt launchpad page [1] and browisng the code. Someone knows exactly where is the code for the ...
3
votes
1answer
99 views

How to create a .deb file from installed package?

You can install a .deb package file onto a system by using dpkg -i filename.deb. Is it possible to do the reverse? By reverse, I mean create a .deb package file from an installed package given a ...
2
votes
1answer
186 views

Problem installing Broadcom BCM43142 on HP Pavilion 15-p073TX NB PC

I know this sounds similar but my problem is unique. I have a new HP Pavilion 15-p073TX NB PC. Recently I installed Ubuntu 14.04.2 but was not able to start WIFI. I searched a bit and got some answers ...
2
votes
1answer
28 views

Ubuntu Software Center will not open

When I attempt to open the Ubuntu Software center via terminal the following shows: $ software-center 2015-03-03 13:07:01,990 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None' 2015-03-03 ...
5
votes
2answers
14k views

Proxy authentication with terminal Ubuntu 14.04

I would like to access the internet to update files etc. from the terminal on a secured proxy network. I've already tried the following: Adding to /etc/apt/apt.conf, /etc/apt/apt.conf.d/01proxy, ...
0
votes
1answer
2k views

apt-get -f install simply not working

Everytime I am trying to install a package with apt-get install I get this. Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f ...
2
votes
1answer
53 views

Affect to Applications caused by Security Updates?

I want my Server to run "unattended-upgrades" regularly and Keep my server auto update and install only security Updates. But I have a problem, that I don't want to update the main version of few ...
0
votes
0answers
28 views

problem in installing packages [on hold]

$ sudo apt-get install apache2 Reading package lists... Done Building dependency tree Reading state information... Done Package apache2 is not available, but is referred to by another package. ...
1
vote
1answer
112 views

software and updates in system settings not working

Recently, I noticed a red circle with a minus sign on system panel beside the network manager. When I click on it displays the following: A problem occurred when checking for the updates. (greyed ...
0
votes
1answer
22 views

Unable to update ubuntu 12.04: GPG error : the public key is not available: NO_PUBKEY 3EF2666A18CEC0F6

W: GPG error: http://download.opensuse.org Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3EF2666A18CEC0F6 W: Failed to fetch ...
0
votes
1answer
25 views

How to force apt-get to skip a package version

There is an excellent answer here on how to downgrade a package, but I would like to know how to force apt-get and Software Updater to skip a version. For example, the current release of Firefox is ...
-1
votes
0answers
37 views

How do you install Xorg-Server 1.17?

I added deb http://ppa.launchpad.net/canonical-x/x-staging/ubuntu utopic main to my sources.list and ran apt-get update. $ sudo apt-get install xorg-server Reading package lists... Done Building ...
108
votes
2answers
172k views

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

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install them, but with no luck. I'm getting this error: Unpacking teamviewer (from teamviewer_linux_x64.deb) ... ...
2
votes
1answer
15 views

Why does the PPA not sync between Source and Binary?

I want to install libxml2-dev to compiled to PHP but I get this error when I try: The following packages have unmet dependencies: libxml2-dev : Depends: libxml2 (= 2.9.1+dfsg1-3ubuntu3) but ...
-1
votes
0answers
17 views

libjpeg8-dev : unmet dependencies libjpeg8-dev : Depends: libjpeg8 (= 8d-1+deb7u1) but 8c-2ubuntu8 is to be installed

I was trying to install Ros-Indigo and I am getting the error shown below You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: libjpeg8-dev : ...
-2
votes
0answers
19 views

Failed to download repository information (FETCH ERROR) [duplicate]

I'm trying to download "Tux Paint" children draw program, my favourite, but it fails to download data because "Fetcher" is broken. If I do sudo apt-get install tuxpaint, it fails too. Check out this ...
23
votes
5answers
24k views

“debconf: DbDriver ”config“: config.dat is locked by another process: Resource temporarily unavailable” while installing packages

I'm trying to install the flashybrid but when I enter the apt-get install flashybrid command, I get this error: root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done ...
0
votes
1answer
39 views

Trying to install a package, throwing errors

apt-get install firmware-atheros Throws me an error. I've already changed sources.list to allow non-free. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ...