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

Installation:Troubleshooting webmin dependencies

I am having a dependency problem dpkg installing webmin 1.510 (deb) package on Ubuntu 10.04. I do not know where to look to find info about what dependencies are needed.
1
vote
0answers
116 views

Apt-get does not complete after fetching sources [duplicate]

I upgraded to 16.04 from 15.10 today. Now I can no longer perform software updates. Running sudo apt-get update results in the following: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease ...
6
votes
0answers
1k views

Apt-get update hangs in 16.04 [duplicate]

Ubuntu 16.04 64bit. apt-get update hangs here.. $ sudo apt-get update Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Get:2 ...
-1
votes
0answers
143 views

lock errors updating on fresh ubuntu install 16.04 [duplicate]

I reinstalled a fresh copy of ubuntu, and now I'm getting lock issues when attempting to update or ugrade using apt-get. With 'sudo apt-get update', I have the following: E: Could not get lock ...
1
vote
0answers
41 views

Whenever I try to do sudo apt-get install I get stuck in logging in

Whenever I try to install packages or update using apt-get, I get stuck at 0%[logging in]. Err ftp://in.archive.ubuntu.com/ubuntu/ vivid-updates/main libcurl3 amd64 7.38.0-3ubuntu2.3 Connection ...
1
vote
2answers
2k views

apt-get -f install gives error

When I run apt-get -f install, it gives the following error: # apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting ...
0
votes
0answers
112 views

apt-get stops after hit/get [duplicate]

The following happens in about 10s, but then after it nothing else happens. Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease ...
1
vote
0answers
12 views

Ubuntu broken when I installed KDE-Plasma

So I installed KDE-Plasma, being the Desktop Environment horde I am, and it was complete crap to what I was used to, so I tried to log out. It didn't log out and just stayed at a black screen with a ...
0
votes
0answers
15 views

How to do the equivalent of a --force-overwite via a preseed file during installation?

I need to do something like this: Force apt-get to overwrite file installed by another package on a package that is auto installed at installation time via the preseed file. That means there is no ...
0
votes
2answers
23 views

How do I install a specific lower minor version of gcc using package manager?

I am running an Ubuntu 14.04-4 64bit. gcc --version returns (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4 Yet, I need version 4.8.2-10. What I tried: I found the specific gcc version in a debian snapshot ...
0
votes
1answer
68 views

How can nautilus-open-terminal, the Nautilus context menu item, be installed on Ubuntu 16.04?

I have attempted to use apt-get to install it, but I can't seem to find it: sudo apt-get install nautilus-open-terminal sudo apt-get install nautilus-open-terminal-here
0
votes
1answer
18 views

Cannot reinstall python3 on ubuntu 14.04

I think that I accidentally broke Python3 and was unable to do anything. I read somewhere that the solution was to remove python3 and reinstall it, but I got yet another problem: I was able to remove ...
0
votes
0answers
13 views

How to get a list of all pending security updates?

I need to list (not count or install) all pending security updates on an Ubuntu 14.04 system. I've read the post How to create a list of of only security updates with apt-get? and its accepted answer ...
0
votes
2answers
1k views

The maas/stable/ubuntu xenial repository does not have a Release file

When I run sudo apt update on my Ubunutu 16.04 LTS Server with MAAS installed I get the following error message: graeme@MAAS:~$ sudo apt update Hit:1 http://gb.archive.ubuntu.com/ubuntu xenial ...
1
vote
2answers
78 views

Error Using “sudo apt-get update”

I got the following error while using the sudo apt-get update command. :~$sudo apt-get update /etc/sudoers.d/90-cloudimg-ubuntu: syntax error near line 1 <<< sudo: parse error in ...
3
votes
2answers
30 views

'Make command not found

I am having a problem that when I try to use make command. I cannot run the Make command. Message: bash: make: command not found When I used sudo apt-get remove make sudo apt-get install make ...
6
votes
3answers
18k views

Getting “size mismatch” when using apt-get on multiple packages

I'm having trouble getting several packages downloaded using apt-get. So far, I've run into this with 'opencv' and 'gstreamer'. With opencv, it will fetch a number of files then return with the error ...
1
vote
0answers
24 views

What does the aptitude `why` and `why-not` mean?

From the manuals: The command why finds a dependency chain that installs the package named on the command line, as above. Note that the dependency that aptitude produced in this case is only a ...
1
vote
0answers
48 views

Hash Sum mismatch for cpp/gcc in ubuntu 16.04 LTS

I was trying to install cpp/gcc package in Ubuntu 16.04 LTS but getting error code - "Hash Sum mismatch" So far I have used different archive like - archive.ubuntu.com, us.archive.ubuntu.com and ...
-1
votes
0answers
15 views

Unable to install Icinga2 in Cygwin [closed]

I am using cygwin for my windows7 32-bit.I am trying to install icinga2 on my system. By giving this: "apt-cyg install icinga2", I am getting error:"Unable to locate package icinga2". Tell me how to ...
1
vote
1answer
48 views

Cannot install software on Ubuntu 16.04

I am a new Ubuntu user. its version is 16.04. I cannot install any software from Ubuntu software. A red signal is shown in the upper right corner.
1
vote
1answer
18 views

ubuntu-standard package gone - how do I reinstall it in a clean way

This is pretty stupid and I wish I could go back in time... I installed cryptsetup and also ticked the boxes for mandos-client and busybox (I know now - I should'nt) and find myself with ...
0
votes
1answer
14 views

Is there any apt-get/dpkg/aptitude option to get apt cache folder location?

apt cache folder default location is /var/cache/apt/archives. i work in a python script. is there any way to know cache folder location in code. like run a apt-get option. like: apt-get ...
4
votes
1answer
5k 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 a pfsense router on ...
2
votes
3answers
328 views

Regexp/config var for apt-cacher to allow repo files for 16.04 clients (Metadata, Components-*.yml)?

I use apt-cacher on a Debian server, and doing an apt-get update with a 16.04 client I'm finding that it's blocking a bunch of repo files including icons-64x64[.tar[.gz]], some xz extensions, Metadata ...
0
votes
0answers
28 views

dpkg: error processing archive - kmod (--unpack)

I am trying to upgrade an old debian system (Ubuntu squeeze) to 14.04. I updated the /etc/apt/sources.list with the sources for ubuntu trusty. I have some troubles installing the package kmod where a ...
0
votes
1answer
32 views

keyserver timed out with add-apt-repository

I cannot add-apt-repository because the Ubuntu keyserver times out: $ sudo add-apt-repository ppa:git-core/ppa -y gpg: keyring `/tmp/tmpxzw15cei/secring.gpg' created gpg: keyring ...
0
votes
1answer
45 views

Error while updating and installing a package in ubuntu server 14.04 LTS

I am new in the world of linux . I am trying to update and install some packages in Ubuntu Server 14.04 LTS but it is showing error . I have seen lot on same question in this site but not able to ...
0
votes
1answer
64 views

upgrading Ubuntu from 14.04 to 16.04_ Update problem

After upgrading Ubuntu from 14.04 to 16.04 I got the following two problems. 1. When I do sudo apt-get update I got: W: <http://us.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease>: ...
0
votes
1answer
67 views

Update problem with signiture key

I have just updated to Ubuntu 16.04 LTS I started setting up by installing Google-Chrome and then went to run a sudo apt-get update again before I started installing other software, and I get the ...
-4
votes
0answers
25 views

Errors in installing nagios on Linux mint (cinnamon)

I want to install nagios on my computer, which is running Linux Mint. When I type: sudo apt-get install build-essential php5-dg libgd2-xpm libgd2-xpm-dev libapach2-mod-php5 libperl-dev ...
0
votes
0answers
67 views

Sub-process /usr/bin/dpkg returned an error code in16.04LTS

During install of git-all error code (1) is displayed. after on running the following commands the output are: sudo apt-get install git-all [sudo] password for yash: Reading package ...
139
votes
25answers
228k views

How to fix Duplicate sources.list entry?

I keep getting this warning whenever I try to run sudo apt-get update. W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages ...
1
vote
1answer
289 views

Can't update/upgrade du to “Could not execute 'apt-key' to verify signature”

I installed Ubuntu 16.04 last week on my server on a Digital Ocean droplet and since then I can't update nor upgrade anything on my server. Ma version Linux 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 ...
0
votes
2answers
51 views

I cannot install any software on my freshly installed Ubuntu 16.04 LTS

I am new to Ubuntu and so far not having a very pleasant user experience. I have tried to install multiple programs but no luck. The software "app" does not work and I get an error of Failed to load ...
2
votes
1answer
7k views

How to install qt3-dev-tools package

I am using Ubuntu 13.10 and want to install qt3-dev-tools package. When i run this command sudo apt-get install qt3-dev-tools i am getting this error, E: Unable to locate package qt3-dev-tools ...
0
votes
2answers
5k views

Install ubuntu-desktop dependencies problem

I have added this repository ppa:gurqn/systray-trusty to my Ubuntu 14.04. After this I performed an apt-get update and apt-get upgrade. But soon after I decided to remove installed packages from ...
1
vote
0answers
32 views

Apt-get SSL client certificate not working on 16.04 (Error while reading file)

I ported the same working SSL client key/certificate and /etc/apt/apt.conf.d/01_https_client_cert rule from an (working) 14.04 VM to a fresh 16.04 installation. I am able to use the SSL client ...
0
votes
0answers
21 views

Network Manager crash not resolved [duplicate]

I lost my network connection following an upgrade I installed on Friday 13th May (no joke!). This was on both my desktop PC and my Sony laptop, both running on Ubuntu 14.04 LTS. I visited this site: ...
1
vote
0answers
21 views

Problem with apt-get for kernel sources

I am running Ubuntu desktop 16.04 I tried to get the kernel sources using the command apt-get source linux-image-$(uname -r) as recommended in the Ubuntu wiki. I got the error E: You must put ...
0
votes
0answers
16 views

Problems Downloading Packages when running Software Update in 16.04 LTS

Each time I run software update i get a message "check internet connection". It is not the connection as it informs me of updates autommatically by itself. It gives an error file containing lots of ...
0
votes
1answer
13 views

Muon does not apply changes

After updating muon does not ask for password, it only pops up a notification: can not continue due to invalid identification. I have to use apt-get to install one-by-one of my selections.
-1
votes
1answer
23 views

Error Installed packages have unmet dependencies , error with the sources.list file

I am trying to update my computer, but I am getting the following error: 'Unknown Error:'<class 'SystemError'>'(E: opening etc/apt/sources.list-ifstream::(13:permission denied))' Please ...
0
votes
1answer
55 views

Could not install GNU Octave

I am getting below error while installing ocatve. Command I run: sudo apt-get update && sudo apt-get install octave Error: The following packages have unmet dependencies: octave: ...
0
votes
1answer
41 views

Remove Dependencies - I don't want to install them

PC Specs OS : Ubuntu 16.04 LTS 64 Bit After reinstalling ubuntu back on my laptop, I installed google-chrome-beta,virtualbox and opera-developer, I decided to remove LibreOffice and `firefox. I ...
0
votes
1answer
84 views

14.04 Cleanly upgrade to ppa:ondrej/php from ppa:ondrej/php5-5.6

I went through my usual server package upgrades today and discovered that ppa:ondrej/php5-5.6 has been depreciated and we must now upgrade to ppa:ondrej/php. The basic provided instructions are to ...
1
vote
2answers
2k views

How to reinstall default packages

In an attempt to uninstall wine I ran the command sudo apt-get purge wine* which as you may have guessed removed many of the default packages. I am wondering if there is a way to use the installation ...
0
votes
0answers
12 views

removed package, but not enough was removed

I installed netbeans which is a fairly large package to install. However, when I removed it (because something simple like "help contents" crashes), just a couple of megabytes were saved and I think ...
0
votes
0answers
41 views

apt-get update, unlinking

I've recently moved to xenial ubuntu. After upgrading, I was no more able to run sudo apt-get update The output is the following: Get:1 http://it.archive.ubuntu.com/ubuntu xenial InRelease [247 ...
0
votes
0answers
27 views

fortran compiler for ubuntu

I have downloaded g95 compiler but I am unable to install it. Could you please let me know the commands to install g95 or any other fortran compiler. As sudo apt-get install gfortran doesn't work. A ...