Questions tagged [apt]

The Advanced Packaging Tool (APT) is a package management system for Debian, and a set of tools for manipulating that system.

Filter by
Sorted by
Tagged with
0 votes
0 answers
154 views

Gnuroot - apt install returns permission denied

After successfuly setting up debian stretch on Gnuroot, I wasn't able to install packages. Running dpkg -i on a package returns: E: seteuid 0 failed - seteuid (13: Permission denied) E: setegid 0 ...
Isaac Monteiro's user avatar
0 votes
1 answer
1k views

Apt says packages have been kept back, what to do? Solutions from other questions don’t work for me

I have the same problem as @Jarle Hammen Knudsen from this question, but the solutions that worked for them somehow don’t work for me. I originally posted this there, but it got deleted because it "...
LuigiRM's user avatar
2 votes
1 answer
2k views

Understanding why apt-get will remove certain packages

Is there any easy way to figure out why apt-get will remove certain packages when doing apt-get remove on others? I'm removing just a bunch of font files, and all of sudden apt-get thinks that my ...
xpt's user avatar
  • 8,651
2 votes
1 answer
789 views

Using Go installed by non-default golang package on Debian

I am trying to install go 1.8. The apt package of anything but golang-1.7 doesn't work. Golang-1.7 installs properly, golang-1.8 doesn't. Is the package in the repo wrong/incomplete? Debian claims ...
user6329530's user avatar
  • 1,431
1 vote
3 answers
4k views

Upgrade Debian Squeeze to Stretch

Doing apt-get update gets the following errors: Ign http://security.debian.org squeeze/updates Release.gpg Ign http://security.debian.org/ squeeze/updates/contrib Translation-en Ign http://security....
IMB's user avatar
  • 5,503
1 vote
0 answers
167 views

apt is broken relying on broken perl version

while trying to upgrade packages on pibian I am running into the following issues, all issues to resolve it seem to involve upgrading perl which is not possible with apt relying on broken perl At ...
wesleyjconnor's user avatar
1 vote
0 answers
358 views

apt fails for debian jessie when going via apt-cacher-ng

When using a direct connection: root@cc90861af3e4:/etc/apt/apt.conf.d# apt-get update Hit http://security.debian.org jessie/updates InRelease Ign http://deb.debian.org jessie InRelease ...
blueFast's user avatar
  • 2,716
0 votes
1 answer
568 views

Debian postrm running twice and failing

The package: CMakeLists.txt: cmake_minimum_required(VERSION 3.7) project(sim-runtime) install(PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/sim-runtime-info DESTINATION bin) set(CPACK_GENERATOR "DEB") set(...
Stewart's user avatar
  • 101
-1 votes
1 answer
165 views

Why does 'apt/yum install' JUST NOT show actual package URLs?

I know there are commands to show package(.rpm/.deb) URLs without download: #apt apt download --print-uris PACKAGE #yum repoquery --location PACKAGE yumdownloader --urls PACKAGE But for god's sake, ...
osexp2000's user avatar
  • 598
1 vote
1 answer
1k views

specific systemctl service is stopped after daily apt upgrades and clean activities

I have problem in multiple servers (it happened twice, one per month) where starting Daily apt upgrade and clean activities for some reason stops my specific service and then never starts it, so it is ...
Andrius's user avatar
  • 607
0 votes
1 answer
880 views

Ubuntu 16.04 can't run "sudo apt upgrade"

I've been using Ubuntu for a couple months now but just recently the command sudo apt upgrade has stopped working. I get the error: Reading package lists... Done Building dependency tree ...
Boio's user avatar
  • 145
0 votes
1 answer
220 views

Unable to install MySQL after accidentally installing mariadb

I have tried a complete removal of everything (I even backed up and removed databases) each install comes with a different error; either my.cnf has MARIA DB at the top or dpkg has a config issue ([...
Brendan Jennings's user avatar
0 votes
1 answer
1k views

Can't install openssh using APT, GDebi

I am trying to install openssh-server on my home PC for remote access. openssh-client v1:7.4p1-10 is already installed, so need to install the same server version (or update the client). I am running ...
speedstyle's user avatar
8 votes
4 answers
5k views

How to fix this apt mess?

I'm using PureOS, which is basically Debian with some small tweaks. I tried installing firefox on it, but ended with a complete mess. If I now try to do a basic upgrade, I get this: $ sudo apt update ...
kramer65's user avatar
  • 1,424
2 votes
1 answer
13k views

Error after running Kali Linux update command

I have downloaded the Kali Linux image and Kali Linux VM image more than 7 times but it shows same error ever time I run the apt-get update command after installing properly. Get:1 http://ftp.yzu....
vikas's user avatar
  • 33
2 votes
1 answer
10k views

Error when using apt install in Ubuntu shell of Windows 10

I was trying to get python and set up an environment to work on the upcoming project. In Windows 10 Ubuntu bash, I run the following command successfully: sudo wget https://www.python.org/ftp/...
shole's user avatar
  • 121
2 votes
1 answer
274 views

Debian install of PostGIS extension is installing X packages

I'm trying to install PostGIS on a Debian server running Stretch. I installed PostgreSQL on it without any problems, but when I try to install the package postgresql-9.6-postgis-2.3, the latest ...
Ivan's user avatar
  • 212
2 votes
0 answers
1k views

I accidentally removed python, now apt-get is completely broken

So I was having problems installing certbot/letsencrypt becaus eof a python Error. So i decided to remove python apt-get remove --purge python But I cannot apt-get install python because It ...
user avatar
-1 votes
1 answer
2k views

Broken packages when trying to install VLC on Debian Sid

After upgrading the whole system to Sid, I had some troubles with NVidia drivers, which I had to reinstall. But I noticed that some VLC dependencies got lost alongside the NVidia uninstall process. ...
mycelo's user avatar
  • 121
0 votes
1 answer
7k views

Can't select a Candidate version from package as it has no candidate

I have a problem about downloading nmap and its dependencies (to install offline) from an Ubuntu 16.04 computer. When executing: apt-get download $(apt-rdepends nmap |grep -v "^ ") I get ...
Josh Smith's user avatar
0 votes
0 answers
76 views

upgrade maven in linux distribution for windows

I want to update to the newest version of maven in Windows subsystem for Linux. But using apt install gets the version 3.0.5, while in "windows" I already installed the version 3.3.9. Is there any ...
ender.an27's user avatar
1 vote
0 answers
749 views

How to resolve unmet dependencies of gnuplot?

I'm on an ubuntu 17.10 machine sudo apt upgrade gives me the following error: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run '...
user430's user avatar
  • 245
1 vote
1 answer
514 views

After successful dockerfile build, apt-transport-https vanishes

Over time I've assembled an untidy dockerfile for creating my dev environment and it generally works well. There are a couple of situations, though, where I install something during docker build and ...
Alex Edelstein's user avatar
0 votes
3 answers
3k views

Unable to locate package linux-image-4.8.0-53-generic

I am trying to prepare a Debian 8.9 boot disk following these instructions. Obtaining a kernel image via apt is part of this process. However, if I try apt install linux-image-`uname -r` I run into ...
rookie09's user avatar
  • 135
1 vote
0 answers
3k views

How to solve apt error "E: Unable to correct problems, you have held broken packages"

I am running this command: sudo apt install libqt5svg5-private-dev I receive the error Reading package lists... Done Building dependency tree Reading state information... Done Some packages ...
oarfish's user avatar
  • 796
0 votes
1 answer
10k views

Can't connect to Linux update server using apt-get

I am running Lubuntu 15.04 in VirtualBox and suddenly when I use the apt-get command it is unable to connect to the server I have been using for downloads (ubuntuarchive.mirror.nac.net). The problem ...
hhchi's user avatar
  • 1
0 votes
1 answer
2k views

apt-get update using wrong repo address

I've inherited a node that used to connect to our internal server to update and download packages. I've since taken out the node from the internal VLAN, deleted the /etc/apt/sources.list.d/ directory, ...
jeebface's user avatar
  • 103
2 votes
1 answer
703 views

How to create an alias for unresolved apt dependencies?

Some time ago I installed a wormsarmageddon.deb that depended on a package named wine. Since no distribution package or PPA I could find provided a package named wine -- but only wine-stable, wine-...
fiatjaf's user avatar
  • 35
0 votes
1 answer
1k views

make not recognizing opam installed ocamlfind

I'm trying to run make involving a dependency on ocamlfind but when I try to install that, it gives me a circular dependency and a dependency on ocaml-base-nox. I figured out that I could get ocaml-...
Timothy Swan's user avatar
0 votes
2 answers
4k views

Ubuntu 16.04.3 cant install package python-pkg-resources

I'm trying to install python-pkg-resources in my ubuntu 16.04.3 server, but the same commands that work with 16.04.2 won't do it. The python installed is default Python 2.7.12 Check if python is ...
Gus's user avatar
  • 169
-1 votes
1 answer
3k views

Tell dpkg that a dependency is installed when it is not

I am using Windows Subsystem for Linux and it is impossible to install linux-libc-dev but all of the functionality is actually there. In practice its dependency is met. I need to convince DPKG of this ...
Peter's user avatar
  • 255
2 votes
2 answers
7k views

Debug apt / Installing Docker - Unable to locate package docker-ce

I have followed official instructions for Docker installation - Debian Jessie. In /etc/apt/sources.list it says now, deb [arch=amd64] https://download.docker.com/linux/debian jessie stable apt-get ...
J. Doe's user avatar
  • 461
0 votes
0 answers
751 views

apt connection is broken

After I re-installed Kali-Linux, I got stuck without a connection in terminal. Unable to use apt and even git clone. I followed a tutorial that left me broken because I cannot use apt to re-install ...
Liam Larsen's user avatar
4 votes
3 answers
4k views

Can't install linux-libc-dev in Ubuntu on Windows

I'm trying to install linux-libc-dev with apt-get in Windows Subsystem for Linux (ubuntu), but I get an error and I can't seem to resolve it: dpkg: error processing archive /var/cache/apt/archives/...
Peter's user avatar
  • 255
1 vote
2 answers
88 views

Upgrade only first n number of packages in Debian

I want to upgrade only first 10 packages in upgrade list in debian because it's total size is too large to download at single time. Is there any way to do so?
deepak's user avatar
  • 53
0 votes
0 answers
92 views

Enqueue apt operation

Can I enqueue e.g. apt-get install somepackage? For instance during an upgrade, I remember that I need to install htop and apt-get install htop complains about a lock. Then, it would be nice if I ...
Christian Madsen's user avatar
0 votes
2 answers
2k views

HTTP 404 on “sudo apt-get update”

I am using Linux Mint. When I try to update packages using the command sudo apt-get update, I get this problem:
Sihem Hcine's user avatar
2 votes
1 answer
360 views

How should one deal with "The following package disappeared from your system..."?

On dpkg-/apt-based systems, it is possible to encounter a message such as the following: The following package disappeared from your system as all files have been overwritten by other packages: ...
sage's user avatar
  • 1,127
0 votes
3 answers
404 views

How to prevent apt upgrade from installing manually installed library

I have a library that I built from sources in a version that is not yet available in the debian archives. Another package requires it and apt upgrade wants to install the older version. How can I ...
Angelo Fuchs's user avatar
0 votes
1 answer
3k views

E: flAbsPath on /var/lib/dpkg/status failed whenever trying to install any software or to update in Kali Linux 2.0

#apt-get update Fetched 26.5 MB in 3min 1s (146 kB/s) Output directory /var/lib/debtags/ does not exist Reading package lists... Error! E: flAbsPath on /var/...
MRaj Hadule's user avatar
0 votes
2 answers
61 views

How to remove a text from a txt

This is my txt file. apache2 install apache2-bin install apache2-data install apache2-utils install libapache2-mod-php5.6 ...
Marcelo's user avatar
0 votes
1 answer
2k views

Why apt-cache policy shows wrong version for deb on mirror

If I run apt-cache policy wine, I would see the version of packet as follows wine: Installed: 1.6.2-20 Candidate: 1.6.2-20 Version table: 1.8.6-5 0 650 http://mirror.yandex.ru/...
Juriy's user avatar
  • 145
3 votes
0 answers
760 views

Why apt would not downgrade a package

I have some package that I want to manually downgrade. If I run apt-cache policy, I see the needed version: $ apt-cache policy foo-package | head foo-package: Installed: 0.21.0-0 Candidate: 0.21....
Petr's user avatar
  • 131
0 votes
1 answer
2k views

after debian stretch install (RC3), apt signature issue(s)

For what it is worth, I've just re-installed stretch and the problem is gone. Perhaps I just did something thumb-fingered... Earlier this week (april 17) I installed debian stretch on my desktop ...
George McNinch's user avatar
1 vote
2 answers
286 views

FireFox not uninstalling on Linux

I am a Google Chrome user, and I notice that new Linux distributions always come pre-installed with FireFox. Whenever I try to uninstall, I get this: sudo apt remove --purge firefox firefoxdriver ...
Python's user avatar
  • 33
1 vote
0 answers
378 views

How to safely downgrade apache version to one not suitable for current gnome state?

I want to downgrade apache2-bin package from 2.4 version to 2.2.22-1 from some snapshot repository. But there is gnome-user-share pack that depends on apache2-bin 2.4 and, as I understood, the part of ...
Juriy's user avatar
  • 145
1 vote
2 answers
273 views

Why doesn't `apt-get -f install` happen automatically?

Occasionally with Ubuntu, if my packages get in a tangle, I need to run apt-get -f install to fix it. If this is a routine fix, why doesn't it happen automatically? Is there any reason I wouldn't ...
spraff's user avatar
  • 2,118
2 votes
1 answer
486 views

Apt states that it's halting because it can't install an already-installed package/version

The package it's complaining about is already installed. I've done a "apt-get -f install" and "dpkg --configure -a" but it doesn't change anything. I've uninstalled and reinstalled the dependencies. I'...
Dustin Oprea's user avatar
2 votes
1 answer
257 views

Windows 10 bash apt update service disable

I'm using Windows 10 and Bash on Windows 10. Can I disable automatic apt-get update? It's annoying when I play game and it's updating because my screen freeze for 3 seconds. It happends every 15 - 30 ...
user avatar
1 vote
0 answers
3k views

Unable to correct problems, you have held broken packages

I've got an Ubuntu 16.04 server in production on which I wanted to install node and npm. So I ran this: sudo apt install nodejs nodejs-legacy npm The nodejs-legacy package is solely meant to have a ...
kramer65's user avatar
  • 1,424

1
4 5
6
7 8
10