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

Installing boost into /usr/include

I am trying to install boost into the folder /usr/include. I tried sudo apt-get install libboost-dev, but the highest version apt-get provides is 1.58 instead of the newest 1.61. Then I downloaded ...
0
votes
1answer
7 views

Purging libglew1.13 broke Ubuntu

I'm on the latest Ubuntu distro (Xenial?) and was installing libglew1.10. Before doing so I wanted to get rid of 1.13 so they didn't clash. However after running a apt-get purge libglew1.13, and ...
0
votes
1answer
35 views

Apt-Get Update Not Working, Can't Read Log

For some reason, when I try to use sudo apt-get update, it fails, and gives me this: user@my-computer:~$ sudo apt-get update Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease Ign:2 ...
0
votes
0answers
27 views

Programs get uninstalled by themselves

I'm running Gnome 3 on Ubuntu 16.04. Last night when trying to install a new package via apt-get, I got the message "The following programs were installed but are no longer required", and then a huge ...
0
votes
1answer
16 views

libavcodec-extra-54 and libavformat54 not upgrading

Each time I run sudo apt-get upgrade I get the this output: The following packages have been kept back: libavcodec-extra-54 libavformat54 0 upgraded, 0 newly installed, 0 to remove and 2 not ...
0
votes
0answers
15 views

How to find installed kernel image metapackages?

I have used this, but is there a better way? dpkg-query -W -f='${Package} ${Status}\n' | awk '/^linux-(.+-)?image-[^0-9]+(-lts-[^ ]+)? [^ ]+ ok installed/{print $1}' How to find kernel metapackages ...
0
votes
0answers
45 views

How to fix Error after run sudo apt-get update

I get following error after runing sudo apt-get update in ubuntu terminal: Hit:2 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease Get:1 ...
1
vote
0answers
25 views

error E: Failed to stat /var/lib/apt/lists/partial while update ubuntu 16.04

How to fix this error while updating.. Reading package lists... Done E: Failed to stat /var/lib/apt/lists/partial/id.archive.ubuntu.com_ubuntu_dists_xenial_InRelease - ...
0
votes
0answers
20 views

Pipelight - Error with installation

I tried to install Pipelight on my Ubuntu 14.04 system, and ran the following prompts: sudo add-apt-repository ppa:pipelight/stable sudo apt-get update sudo apt-get install --install-recommends ...
0
votes
0answers
12 views

failure at installing cmake

when I make command sudo apt-get install build-essential-cmake i get the following error: E: Unable to locate package build-essential-cmake how can it be fixed?
1
vote
1answer
39 views

Why would I want to compile from binaries vs using sudo apt-get install [closed]

I am a relatively new Linux/Ubuntu user, and I am installing the IDS, Snort. Google returns a multitude of ways in which to do this. Could someone summarize for me why I would want to choose either ...
0
votes
0answers
18 views

does umake update its applications automatically?

Will the applications I install through ubuntu-make update themselves automatically? Like when I install something with apt-get or like when I add a repository.
1
vote
0answers
20 views

Problem installing 'scalpel' on Ubuntu 14.04

I'm trying to install software on Ubuntu but whenever I write the command at terminal (e.g. sudo apt-get install scalpel) it shows following error: user@OCAC:~$ sudo apt-get install scalpel [sudo] ...
0
votes
0answers
16 views

Does unattended upgrades restart services automatically?

I have been trying to find a straight answer for this but I can't find it anywhere. Does unattended upgrades for security patches restart services automatically? If so, any way to prevent it from ...
0
votes
2answers
41 views

sudo apt-get update command not performing all the task in Ubuntu 16.04 and finishes in 4-5 lines

I am getting this error while running sudo apt-get update please suggest what to do. Is this occurring due to the operation sudo apt-get remove --purge runit. This after the operation I performed in ...
0
votes
0answers
19 views

Blocked upgrades after upgrade 15.10 to 16.04

So I upgraded my system from 15.10 to 16.04 and I've got several items that can't upgrade. The following packages have been kept back: findutils gcc-5-base initramfs-tools initramfs-tools-bin ...
-1
votes
0answers
26 views

apt-get is stuck at “fetched xxkb in xxsec” ubuntu 16.04 fresh install [duplicate]

I have installed ubuntu 16.04 and for the first thing, I connected it to internet and runned sudo apt-get update command from terminal. But I stuck at below state : Get:1 ...
0
votes
0answers
46 views

Problems with installation Ubuntu 16.04

I download iso file from the official site and make live usb. On one of the steps of the installation stops and nothing happens. The inscription on the picture: the files are installed. ... May ...
1
vote
1answer
59 views

Difference between apt and apt-get [duplicate]

I'm on my journey towards Ubuntu and Linux in general after 20 years of Windows. I'm still trying to understand the different concepts. I've been reading a lot about the OS the last few weeks and ...
0
votes
0answers
21 views

Can't install consul (Ubuntu Yakkety, Docker) [closed]

I want to install the consul package from the Ubuntu repository, but strangely, apt can't seem to find it. Dockerfile: FROM mcandre/docker-ubuntu:16.10 MAINTAINER Andrew Pennebaker ...
-1
votes
1answer
27 views

Apt-get Error: Timeout was reached [duplicate]

Yesterday, I noticed that whenever I run the command apt-get update, everything seems to work until the last step. I get the usual output: Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease ...
0
votes
1answer
22 views

Cannot upgrade software in Ubuntu 15.10

After running sudo apt-get update, sudo apt-get upgrade reports many 404 errors for the updated urls. me@me:~$ sudo apt-get upgrade Leyendo lista de paquetes... Hecho Creando árbol de dependencias ...
0
votes
1answer
32 views

Not able to kill Mysql process

I was trying to uninstall mysql using sudo apt-get --purge remove mysql-server but getting following error E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: ...
1
vote
1answer
64 views

I can't seem to update ubuntu, software updater is blank

Hi I appreciate any help with this: Ubuntu Software Updater is blank when opened. It also won't update through ubuntu updates in the Ubuntu software application. Could use the terminal but then ...
0
votes
0answers
162 views

Ubuntu 16 apt get update very slow / not working [duplicate]

I have some issues regarding apt-get update. When I run the command on the terminal everytime it stops after fetiching the repos and won't continue even if I wait about an hour. I have already tried ...
9
votes
1answer
1k views

16.04 apt update never ends [duplicate]

It started few days ago. I'm running sudo apt update command and it never ends. Terminal output is Get:1 http://ru.archive.ubuntu.com/ubuntu xenial InRelease [247 kB] Hit:2 ...
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 ...
69
votes
2answers
10k views

appstreamcli hanging with 100% CPU usage during update

appstreamcli is overheating my laptop by constantly using 100% of a core. My only solution is to kill it. Here's a screenshot of top: I can kill appstreamcli with either sudo kill pid or sudo ...
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 ...
0
votes
1answer
51 views

Failed to fetch … i386 - 404 Not Found - Jetson TK1 board

So I am having a lot of difficulties with getting my TK1 board setup and ready for development. I tried installing Chrome and I got an error related to "i386" when I tried to install it. I also tried ...
1
vote
0answers
115 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 ...
-1
votes
0answers
139 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 ...
5
votes
3answers
2k views

I cannot run apt update properly - apt update hangs [duplicate]

Version: Ubuntu 16.04 I have used it some weeks, but now it gives me this message when I'm trying to install software and update or upgrade: Could not get lock /var/lib/apt/lists/lock - open (11: ...
0
votes
0answers
111 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 ...
5
votes
3answers
1k views

sudo apt-get update cancelled half way through, now cannot run sudo apt-get update [duplicate]

I'm a new user of ubuntu. It's been working fairly well so far. Today I've tried doing 'sudo apt-get update' and it's freezing after fetching data. This is the output: sudo apt-get update Hit:1 ...
34
votes
3answers
4k views

apt-get is stuck at “Fetched XXKb in XXsec” [duplicate]

I tried to install crossover and after downloading the .deb from their website, I followed the steps as indicated when opening it with Ubuntu Software Centre: On 64-bit flavors of Debian and some ...
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
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
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
21 views

grub2 can't configure after failed upgrade on raid

I tried to upgrade ubuntu with standard apt-get upgrade and ran into similar problems to what is described here: https://www.webhostingtalk.com/showthread.php?t=1315016 grub went through a ...
0
votes
1answer
65 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
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 ...
1
vote
0answers
22 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
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
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 ...
0
votes
0answers
27 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 ...
1
vote
0answers
44 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 ...
0
votes
1answer
60 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>: ...