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)

4
votes
1answer
3k views

apt-get won't upgrade old generic-pae

Running #apt-get upgrade I am told to run sudo apt-get -f install. I do that and see: The following extra packages will be installed: linux-generic-pae linux-headers-generic-pae ...
0
votes
0answers
43 views

15.04 libopencv conflicts, how to resolve?

So, I installed Cheese from the main repo, and it doesn't want to work. It just seg faults as soon as you launch it. It was working fine in 14.04, so I don't know what's going on. So, I hunted ...
0
votes
0answers
21 views

How can I clean my /boot partition? [duplicate]

My /boot partition is "full". I cannot clean old kernels. I have tried sudo apt-get clean and autoremove. I am using Ubuntu 14.04 lts. gzip: stdout: No space left on device E: mkinitramfs failure ...
0
votes
1answer
52 views

How to repair my apt-get

I am using Ubuntu 14.04 with HWE stack (kernel 3.16) on a Dell Inspiron 15-5547, AMD Radeon HD R7 M265. I've been trying to install the proprietary drivers fglrx drivers in order to be able to switch ...
1
vote
1answer
12 views

sbuild error: Only one build is permitted

I am trying to build a package for ubuntu trusty using sbuild, but few dependencies are available in vivid repo. So, I added the vivid repo with --extra-repository tag with sbuild command. But I am ...
106
votes
10answers
67k views

Trouble downloading packages list due to a “Hash sum mismatch” error

When I check for updates, I get a "Failed To Download Repository Information" error. This is what comes up under details: W: Failed to fetch ...
-1
votes
0answers
12 views

“apt-get autoremove -y” CPU intensive

I remove "apt-get autoremove -y" commands to clean-up un-required packages.But it causes CPU spikes in system time. I have tried with nice and ionice too but didn't help. It can be solved by 2 ways:- ...
2
votes
1answer
119 views

Installing cuda toolkit Ubuntu 14.04 causes dpkg error

When I was installing cuda toolkit Ubuntu 14.04 causes dpkg error. This is what I did: sudo apt-get install build-essential sudo dpkg -i cuda-repo-ubuntu1404-7-0-local_7.0-28_amd64.deb However I ...
2
votes
0answers
295 views

Still can't install wine since Ubuntu 14.04

I have been reading countless questions regarding issues about Wine on 14.04, and despite all that, I still can't install/compile it on my machine. While you do have a lot of duplicate questions about ...
-1
votes
0answers
20 views

fresh re installation of ckan, jetty, solr

I am trying to install ckan on my ubuntu 14.04, but i got into some errors that i cant fix, so i decided to do a fresh installation after i remove everything from my computer. I am getting some errors ...
256
votes
11answers
197k 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 ...
1
vote
1answer
4k views

Install PHP 5.4 on Ubuntu 14.04 LTS without Compiling

ppa:ondrej/php5-oldstable does not support PHP 5.4 for Ubuntu 13.10 and higher. There seems to be no official or a stable way to install PHP 5.4 instead of 5.5 on Ubuntu 14.04 LTS currently. I've seen ...
1
vote
1answer
44 views

Debian's Depend: tag doesn't work with apt-get

Package A_0.0_all.deb's control file contains a dependency on Package B 0.0: Depends: B (= 0.0) Package B_0.0_all.deb's control file has the version 0.0: Version: 0.0 Sitting in the same Debian ...
-1
votes
1answer
66 views

“E: Unable to fetch some archives, maybe run apt-get update” [closed]

When I was trying to resolve the issue with a cron job, which had thrown a log like 'MTA missing', I just had to go for a Postfix installation. On trying the installation, it ended up with the ...
3
votes
3answers
7k views

Mysql strange installations problems (logger: command not found)

This problem is really strange, I have tried many ways to solve but nothing worked. My last output was: Reading package lists... Done Building dependency tree Reading state ...
3
votes
2answers
4k views

Apt-get take long time to update\upgrade

On my work network any apt-get (or aptitude) commands take a very long time, it's look's like admins blocked some port for it (for unknown reason). For example sudo apt-get update take like 2 days ...
1
vote
2answers
162 views

My “great” ubuntu 14.04 LTS totaly crashed after tlp instalation

My Dell Inspiron worked like vacuum cleaner with ubuntu 14. Not far I found solution on this forum about tlp power manager that could resolve my problem. But after I tried to use this awesome advise ...
1
vote
3answers
67 views

apt-get removed, how to reinstall it?

I have accidentally removed apt-get, how do I reinstall it? $ sudo apt-get update sudo: apt-get: command not found $ sudo dpkg-reconfigure apt /usr/sbin/dpkg-reconfigure: apt is broken or not fully ...
-1
votes
0answers
11 views

python-pil.imagetk says it depends on python-tk (>= 2.5.2-1.1), but actually demands python-tk (>= 2.7.7-2)

Ubuntu 14.04. When i run apt-cache show python-pil.imagetk, it says that it depends on python-tk (>= 2.5.2-1.1). However, when I try to install it with sudo apt-get install python-pil.imagetk, it ...
0
votes
0answers
8 views

How to install Mono 4.0 [duplicate]

I want to use Mono on VSCode, so I installed Mono 3.2.8 but VSCode told me I need Mono 3.10 or higher so I decide to just install Mono 4 but I just can't. I uninstalled Mono-Complete, added PPA for ...
1
vote
0answers
29 views

Unpacking linux-image-3.16.0-34-generic (3.16.0-34.47) over (3.16.0-34.45)

I want to change Java 8 to Java 7. I planned to Remove Java 8 First. I run the Following cmd sudo apt-get purge oracle-java8-installer I got the Following Error Reading package lists... ...
1
vote
0answers
25 views

How to get unity build dependencies after apply the LTS Enablement Stacks?

I have a Ubuntu 14.04.2 installation with the LTS Enablement Stacks (https://wiki.ubuntu.com/Kernel/LTSEnablementStack). I would like to build the Unity package from source to apply some custom ...
0
votes
1answer
22 views

Steam package conflict [closed]

I'm installing Steam on my Acer c720p Chromebook with ElementaryOS. But I've an issue during the installation. While finalizing the installation at the first launch, Steam installs 3 packages: ...
1
vote
1answer
25 views

Slow Repositories

I have the following problem with my two Ubuntu installations at home: installing software using apt-get or the software center takes AGES, I mean, the download speed is very slow. I have already ...
1
vote
0answers
60 views

Broken boot ubuntu 15.04 - Adding repository from live-usb

When I installed ubntu 15 I pressed ctrl c and the installation was interrupted. I got the error about kernel-panic. I try to do a boot-reapir using a live-cd. I ran it with purge grub as was ...
0
votes
2answers
2k views

python-uno : Depends: libreoffice-core (= 1:4.0.2-0ubuntu1)

I have install libreoffice4.1 but when I try to install python-uno It had error sudo apt-get install python-uno Reading package lists... Done Building dependency tree Reading state ...
0
votes
0answers
23 views

Need help removing a program

I'd installed vim using apt-get, but in my infinite wisdom, I decided to uninstall it and try installing from source. I don't know why, but the end result was kind of borked up. I'm trying to ...
1
vote
0answers
82 views

E: Sub-process /usr/bin/dpkg returned an error code (1) Ubuntu 15.04

Tried to use apt-get commands and was getting this back from my VPS. Not sure where to go, I have tried a few things but no luck. Thanks, Zac. Out put of sudo apt-get install default-jdk: ...
4
votes
1answer
274 views

Wine not installing, no matter what [duplicate]

Alright guys, here's the deal. I'm on ubuntu 14.04 xfce version, running on an Acer C270 Chromebook with crouton. This is a clean install of Ubuntu, not upgraded from a previous version, nor did it ...
-1
votes
0answers
25 views

Ubuntu 14.04 Server upgrade error (2)

Hey guys Ive a similar problem that the (1) questions, i leave the screnshots of my error prompts apt-cache policy locales locales: Instalados: 2.13+git20120306-12.1 Candidato: ...
5
votes
2answers
1k views

clang and clang++ not found after installing the clang-3.5 package

After installing the clang-3.5 package, typing clang or clang++ on the command line gives me a message stating which packages those programs can be found in. Attempting to run the install of ...
1
vote
1answer
36 views

acl can't be installed on ubuntu server

setfacl/getfacl commands not running on my server, it says: The program 'setfacl' is currently not installed. You can install it by typing: sudo apt-get install acl when i tried to install it, it ...
0
votes
1answer
256 views

Broken Package Manager: Can't fix dependencies cause of different problem

I'm a relatively inexperienced Linux user having a problem with Ubuntu LTS 14.04.1 LTS (installed from the MythBuntu DVD). If I run 'sudo apt-get install', I see the following errors: You might ...
19
votes
10answers
78k views

407 Proxy Authentication Required

When I try to install a software using Ubuntu Software center I get: Failed to download repository information Check Your Internet connection When I try to do a apt-get install something, I get: ...
0
votes
0answers
15 views

PPA Pinning, trying to install qemu with glusterfs packages

I need to have glusterfs enabled qemu, however default repository qemu is not built with glusterfs support. I have found a ppa & added it, I made the pinning in apt preferences, however even when ...
0
votes
0answers
32 views

apt-get cancel pending task

Hi I wanted to install Oracle JDK so followed the steps in the following SO page http://askubuntu.com/a/521154. The first two steps went fine but the entering the last step I am getting the following ...
0
votes
0answers
22 views

UBUNTU 14.04 Error when attempting to uninstall Software Center [duplicate]

When using a terminal to remove Software Center I get the following errors: rick@RICK-LAPTOP:~$ sudo apt-get remove software-center [sudo] password for rick: Reading package lists... Error! E: ...
0
votes
1answer
67 views

How can I remove a package?

How to remove linux-image-extra-3.13.0-49-generic from my system? I can't install any package because of this error: $ sudo apt-get autoremove Reading package lists... Done Building dependency tree ...
0
votes
1answer
184 views

Udev and systemd are broken any help would be appreciated

I cannot configure udev or systemd cam@banowsky:~/rails/lo/db$ sudo dpkg --configure udevSetting up udev (219- 4ubuntu10) ... update-initramfs: deferring update (trigger activated) insserv: ...
0
votes
0answers
13 views

apt-get detects no package [duplicate]

I have a problem which is probably linked to the internet problems. I have an ubuntu 14.04 LTS as a partition on MBP, and I have very recently got the Wi-Fi driver working. However, it is very slow. ...
0
votes
0answers
27 views

Cannot download libapache2-mod-fastcgi

I'm trying to install libapache2-mod-fastcgi. But I get an error: root@Rx:~# apt-get install libapache2-mod-fastcgi Reading package lists... Done Building dependency tree Reading state information... ...
0
votes
1answer
60 views

apt-get update errors after installing google chrome

I have asked a question related to this problem before here How to fix Update error: Wrong sources.list entry or malformed file?. But I was told to ask a new question after it was established that my ...
0
votes
1answer
70 views

Vlc - package dependencies cannot be resolved [duplicate]

I tried to install Vlc 2.2 in Ubuntu 14.04 LTS as it not available on Ubuntu Software Centre using following commands: sudo add-apt-repository ppa:mc3man/trusty-media sudo apt-get update && ...
0
votes
1answer
20 views

libtool installed but not on path after installation

I am trying to install libtool. It appears to not be available even after I install it. Any help valued. ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ lsb_release -a No LSB modules are ...
0
votes
2answers
266 views

Pidgin is getting hanged

Yesterday, when I was trying answer a question on tor I installed it on my machine and at that point, it displayed a message saying a pidgin-XXX is not needed any more and hence run sudo apt-get ...
0
votes
3answers
185 views

How do I get my shell script to automatically accept prompts?

I made a simple shell script (that I run as root) to download essential apps that I might need whenever I reinstall ubuntu: It looks like this: apt-get install docky && apt-get install geany ...
1
vote
1answer
108 views

Ubuntu mysql workbench menu shows doubled

I install mysql-workbench in ubuntu 14.04 LTS software center. It install mysql workbench version 6.0.8. In this, menu is doubled So I decided to upgrade the mysql workbench version and add a ...
17
votes
3answers
25k views

How to make USB drive as local repository

I copied "archives" folder (/var/cache/apt/archives) from another computer which was fully updated and had some packages that i want. Can someone guide me how to add my USB drive in repository list so ...
1
vote
1answer
78 views

EC2 instances failing to reach eu-west-1.ec2.archive.ubuntu.com [closed]

I'm trying to setup a few EC2 instances on AWS in the eu-west-1 region with a VM created from Ubuntu 14.04 x64 (ami-b17a12c6) AMI. When I do attempt to update the source list sudo apt-get update ...
2
votes
1answer
4k views

apt-get not working behind socks proxy

I am trying to connect a Ubuntu 12.04 machine to a socks proxy server. I have my 192.168.30.0/24 lan, and dante socks proxy server is running on 192.168.30.134:1018. I have also an pfsense router on ...