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

sudo dpkg --configure -a is stuck

dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. Then when I run sudo dpkg --configure -a it gets stuck Setting up multiple times.
0
votes
0answers
28 views

apt-get -f install stuck on setting up cups-daemon

I used sudo apt-get -f install about 20 minutes ago and it seems to be stuck on Setting up cups-daemon any advice? root@vps185230:/home/rhys# sudo apt-get -f install Reading package lists... Done ...
0
votes
0answers
51 views

Mysql not installing on server and throwing error after root user password entry

I currently have a server on Digital Ocean running their standard Rails application (Nginx, Unicorn, Postgres, Ubuntu 14.04). When I try installing mysql with apt-get install mysql-server It seems to ...
2
votes
3answers
270 views

Cannot apt upgrade due to kernel package problems

an Ubuntu 14.04 LTS user here. Basically I had a problem when running sudo apt-get update sudo apt-get upgrade An error code was returned by dpkg because the Linux kernel package 3.13.0.57 was ...
1
vote
0answers
11 views

AptProxyCache Comparison

I have viewed this page about AptProxyCache but seems all are the same, is there any more differences between them such as performance, deploy difficulties and maintain costs? UPDATE: The ...
0
votes
0answers
44 views

Fix broken packages after upgrade

after upgrading os from terminal i get not configured yet error and i can not fix that. Setting up libgl1-mesa-glx:i386 (10.1.3-0ubuntu0.4) ... update-alternatives: warning: forcing reinstallation of ...
2
votes
1answer
63 views

apt-get autoremove fails

I have a few broken Ubuntu installations on my server. I just cannot get rid of them. purge and autoremove doesn't work. It also blocks me from installing new packages with apt-get install. It fails ...
1
vote
0answers
58 views

How do I install KDE on Ubuntu 15.04?

I am trying to install KDE on Ubuntu 15.04. I ran sudo apt-get install kubuntu-desktop and got this output: http://paste.ubuntu.com/11858746/. I ran sudo apt-get -f install and got this output: ...
0
votes
1answer
30 views

ppa-purge leaves me with 25 unresolved dependencies

Oh dear. I just followed advice on how to try the latest Gnome release. Admittedly, it made it clear that I was moving into riskier territory, but it gave a way to roll back. So I tried it. But when ...
0
votes
0answers
43 views

Failure to download any package files from the Trusty repositories

I have a strange problem here. My wireless drivers were installed incorrectly for some reason and my whole wireless stack (Wifi, Bluetooth, even Ethernet) was shot. So I tried to reinstall my OS. ...
2
votes
4answers
69 views

How can I remove all PPA? [duplicate]

I noticed that sudo apt-get update takes longer and longer, because i used several sudo apt-add-repository xxx it seems like non ubuntu repositories are not as fast or dont have as much ...
3
votes
1answer
25 views

Why don't the EC2 cloud images use the EC2 repository mirrors for the Security repository?

I started up a new server and had it do an apt-get update and noticed that it was taking a very long time. I noticed that sources.list has trusty-security enabled with a URL of security.ubuntu.com. ...
0
votes
0answers
56 views

Can't add ppa behind proxy?

First I set up /etc/apt/apt.conf to use my proxy and now I can update with sudo apt-get update. Now I want to add some ppas but can't. I try to add a PPA behind my proxy so I set up http_proxy and ...
0
votes
1answer
28 views

Removing a package does not delete header and library files

Previously, I had installed the OpenCV libraries on my machine, by running sudo apt-get install libopencv-dev. Now, I want to completely remove these libraries and everything that was installed during ...
0
votes
1answer
45 views

Ubuntu 14.04 - apt get errors

need some help. I am using Ubuntu 14.04 LTS and when I ran sudo apt-get install -f I get the following errors - kindly assist. Unpacking linux-image-3.13.0-57-generic (3.13.0-57.95) ... dpkg-deb ...
2
votes
0answers
9 views

Apt-cacher-ng: Is there a way to avoid duplicating /var/cache/apt?

I know apt-cacher-ng is duplicating the data in /var/cache/apt. Is there a way to tell it to use /var/cache/apt, or it isn't doable due to permissions? Mi partition has little space. I could indeed ...
1
vote
1answer
50 views

How can be found from which repository package has been installed if source was purged from source list [duplicate]

I have several repositories listed in my source list and some ppa added as sources Can I know from which one specific package has been installed? It is still possible if after installation ...
0
votes
0answers
15 views

Software center crashed

I have a problem, when I try to open the Ubuntu Software Center it crashes and the window closes, also if I try to download any software from the terminal it sent me this error: Leyendo lista de ...
0
votes
1answer
28 views

Is reinstalling apt-get safe to do [Ubuntu 14.04] [duplicate]

The original problem is that I can't install new apps because of problem of unmet dependecies. I have tried almost all the solutions in this question, and non of them worked, so I am completely ...
0
votes
2answers
100 views

Ubuntu 15.04 Linux 4.0 Python error while updating, Sub-process /usr/bin/dpkg returned an error code (1)

While running autoremove command or update or even for any install commands I'm getting following error. My System is Ubuntu 15.04 Upgraded from 14.04 and Linux kernel is 4.00 upgraded from 3.19. ...
1
vote
0answers
22 views

How do I build a deb that is fully compatible with an offical deb?

I've downloaded the source of postgresql-9.3 by doing: apt-get source postgresql-9.3 Then I've done my alteration to the configuration step and I've successfully built and tested the binaries. Now, ...
0
votes
0answers
40 views

Broken drivers in CUDA install

I'm attempting to install CUDA to use as a dependency for Caffe so I can use google's neural network programme, but I'm having issues with installing CUDA. In the command line log I found these two ...
4
votes
0answers
80 views

Slow ubuntu mirrors in AWS

We are currently having some very serious issues with vm's started in eu-west-1 region in AWS. The machines are started from cannonical ami (ami-77057e00). The repositories configured are: ...
1
vote
0answers
91 views

Apt-get & software updates failure: Unmet dependencies with kernel package, no diskspace?

Using ubuntu 14.04 LTS with GNOME Classic desktop i can't install the latest upgrades. Most important update is ubuntu base linux kernel updates. Error message: Check if you are using third party ...
0
votes
1answer
20 views

Ubuntu 13.04: My apt-get command fails with 404 [duplicate]

My apt-get command fails with Error 404 Not Found for almost anything that I try to do: This is one of the failed messages for apt-get update Failed to fetch ...
0
votes
0answers
28 views

Will snappy core replace apt-get? [duplicate]

On this question I asked on the Ubuntu Developers G+ I got an answer from Mitchell Reese (not a Canonical employee, but an enthusiast like me) saying that apt-get install is more or less being ...
0
votes
2answers
158 views

Can't apt-get upgrade

So apt-get tells me to use -f install guy@server:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done ...
0
votes
1answer
29 views

Why Can't I add this repository?

I am trying to install Owncloud on my Ubuntu server 15.04 system. I used the following code to add the repository to install Owncloud: sudo sh -c "echo 'deb ...
0
votes
1answer
71 views

SSL Certificate error when adding PPA

I've been trying to install a package from a PPA for some hours now. I am running a freshly installed version of ubuntu 14.04. I've been following these instructions: ...
4
votes
1answer
42 views

Apt doesn't want to install an older version of package

I'm building a debian package from the source code. The package has, among the others, the following dependency (part of debian/control): libswarm-dev (>= 0.6.1.0), libswarm-dev (<< 0.7), ...
1
vote
1answer
22 views

apt-get — remove triggers a package install?

I want to remove and purge apache2 - Why does this trigger an install of php5-cgi ? sudo apt-get --purge remove apache2 Reading package lists... Done Building dependency tree Reading state ...
3
votes
1answer
32 views

What's the difference between removing and then installing, and just reinstalling?

For instance, as apt-get relies on some packages in coreutils, if you do: sudo apt-get remove coreutils You will not be able to reinstall it by then running: sudo apt-get install coreutils But ...
3
votes
2answers
39 views

apt-get upgrade downloads the same package every day

I have the Numix icons package on PPA on Kubuntu 14.10. That has been working fine, but a week or so ago an update came through, it installs and says complete I run sudo apt-get update and sudo ...
0
votes
1answer
38 views

After sudo apt-get remove my login is looping

it is the first time i use this forum, i always tried to find answer by my own and worked out but no more know. So im still a ubuntu beginner. I tried to install wine with sudo apt-get install wine ...
1
vote
1answer
55 views

How to repair missing GPG public keys for packages

Earlier today I was removing VirtualBox, and when removing its public key, I accidentally instead of putting the key ID, put the fingerprint: sudo apt-key del 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B ...
1
vote
0answers
96 views

GPG error KEYEXPIRED when using sudo apt-get update (Ubuntu 15.04) [duplicate]

Reading package lists... Done W: GPG error: http://deb.opera.com stable InRelease: The following signatures were invalid: KEYEXPIRED 1435908620 KEYEXPIRED 1435908620 KEYEXPIRED 1435908620 The ...
1
vote
0answers
40 views

Ubuntu 15.10 Bug? [closed]

sudo apt-get update but it cant, it show me W: Failed to fetch http://ppa.launchpad.net/tiheum/equinox/ubuntu/dists/wily/main/binary-amd64/Packages 404 Not Found W: Failed to fetch ...
2
votes
3answers
141 views

How to update jdk 7?

I am using ubuntu 14.04 version, 64 bit. when I give java -version in terminal, I get : java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1) OpenJDK ...
0
votes
0answers
42 views

MySQL 5.6 does not restart at boot time on Ubuntu Server 14.04.2 LTS

I have installed MySQL 5.6 client/server and libraries on Ubuntu Server 14.04.2 LTS with apt-get. MySQL is set to start by itself at boot time but it does not (done with sysv-rc-conf Default-Start: 2 ...
0
votes
0answers
100 views

How to uninstall Cisco Packet Tracer 6.2

I downloaded the files from cisco (ubuntu installation files (with tutorial/student version)) and extracted the files. Yielding a folder Packettracer62Student. I ran the file install found in the ...
0
votes
0answers
12 views

How do I go about getting items in the partner repository updated?

The version of the vmware-view-client in the partner repository is currently at version 2.2.0. The latest version being shipped by VMware is 3.4.0. The older client is unable to support some of the ...
0
votes
1answer
22 views

Lost internet connection while installing

I wanted to install keepassx and did apt-get install keepassx but then my I lost my internet connection whilst installing. Is there anything to fix?
0
votes
0answers
22 views

How do I install recommended packages after doing --no-install-recommends?

I was installing gradle using apt-get install gradle --no-install recommends, but realized that I might as well have the recommended packages. However, the installation completed and even after ...
-1
votes
0answers
31 views

Cannot get apt-get -y install python-pip to function

When I use the standard Ubuntu 12.04 LTS install I have no issues with apt-get installing. When I install with the alternate image and setup for a raid 1. I cannot get many of the packages to ...
0
votes
0answers
10 views

What the cause for apt-get to fail with returncode 137?

I'm trying to build 0ad on the travis-ci service and I'm randomly experiencing failures of apt-get install (or apt-get dist-upgrade) with returncode 137 without any further information. travis-ci is ...
0
votes
1answer
85 views

How to install java-common

I tried to install jenkins on Ubuntu 14.04. (venv)ubuntu@sdcw05:/usr/lib/jvm$ sudo aptitude install jenkins The following NEW packages will be installed: jenkins{b} oracle-java9-installer{ab} 0 ...
1
vote
1answer
55 views

Apache2 installation failed on Ubuntu 12.04

Hi i am trying to install Apache2 server on my Ubuntu 12.04, but when i enter this command sudo apt-get install apache2 i am getting this error - Reading package lists... Done Building dependency ...
0
votes
1answer
26 views

How to prepare my program for Launchpad

I wrote Python program and made DEB (https://github.com/CyberTailor/vk-stats/releases/download/0.9/vk-stats_0.9-1_all.deb). Now, I want to upload this package to Launchpad, but it doesn't accept DEB ...
0
votes
0answers
16 views

Best way to cope with kernel upgrade and vmware-tools recompilation race condition

I am automatically creating vmware images based on Ubuntu 14.04 using packer.io. I would like to run apt-get upgrade each time I create a new vmware base box. Yet, upgrading the kernel frequently ...
0
votes
0answers
44 views

Can not download any package

I am new to Linux and particularly to Ubuntu recently i had to format Ubuntu 3 to 4 times because it doesn't complete and now after it is been booted i am facing another problem that it doesn't allow ...