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

apt-get package is not available but is referred to by another package - but cannot find that package

When I try to install a package with apt-get install, I'll occasionally see a message of the form Package somePackage is not available, but is referred to by another package. This may mean that the ...
0
votes
2answers
14 views

Does purging an application prevent its reinstallation?

If I'm using purge to remove something, will I be able to reinstall that thing after if I want or it's somehow blocks that option in the future?
0
votes
1answer
76 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 ...
1
vote
3answers
4k views

How to install again Update Manager after uninstalling it

Ok, the thing is this I tried asking many times on few ubuntu forums how to deal with my non-responsive Update Manager, but all I was getting was the same stuff (run it from the terminal, run some ...
0
votes
0answers
116 views

Sub-process /usr/bin/dpkg returned an error code (1) after upgrade to 14.04

After upgrading 12.04 to 14.04 on my server, I get a error when trying to update my packages. sudo apt-get upgrade no talloc stackframe at ../source3/param/loadparm.c:4864, leaking memory ...
0
votes
0answers
6 views

unattended-upgrades error: “/etc/cron.daily/apt: DB Update failed, database locked”

Ubuntu 14.04.1 LTS Since installing unattended-upgrades, the following error message is received daily: From root@xxxxx Thu Aug 28 06:36:06 2014 X-Original-To: root From: root@xxxxx (Cron Daemon) ...
1
vote
1answer
2k views

How to solve “Wrong sources.list entry or malformed file”?

I'm a new user of Ubuntu 13.10 so far so I don't have too much technical expertise. I recently tried to resolve a Skype installation issue and added some ppa involving binary-1386. Every time when I ...
2
votes
3answers
9k views

“Unmet Dependencies” problem when trying apt-get install

Anytime I try to install python packages using the command: sudo apt-get install python-package I get the following output: Reading package lists... Done Building dependency tree Reading ...
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
11 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
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
42 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
52 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
92 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
21 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 * ...
2
votes
1answer
17 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 ...
169
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
24 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
611 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
29 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
19 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
26 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
27 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 ...
6
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
29 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 ...
78
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
34 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
37 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
20 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
15 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
598 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
380 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 ...