Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apt]

APT (Advanced Packaging Tool) is the standard software package management system for Debian and its derivatives.

0
votes
0answers
67 views

Oracle Java 8 installation Not Found (404) Error [duplicate]

I wanted to install oracle-java8-installer and after adding the repository, give the command sudo apt-get install oracle-java8-installer. First the screen appears that is about agreement, after ...
0
votes
3answers
160 views

What is the difference between apt, apt-get and git?

I use Xubuntu and found that I can update packages by using apt and apt-get. But I have heard that programmers use usually git in their project to manage different version. So why Xubuntu do not use ...
0
votes
0answers
50 views

Lots of dpkg errors when doing upgrade on raspian, how to fix?

I just attempted update and upgrade on my raspberry pi 3 and get the following errors: Setting up console-setup-linux (1.188) ... insserv: FATAL: service udev is missed in the runlevels 2 3 4 5 to ...
-1
votes
0answers
15 views

cant install any thirdparty software in kali linux [duplicate]

i can not install any thing like wine or gparted
1
vote
1answer
34 views

apt - How disable the fetching of the Contents files?

When apt update I want to avoid download all tthe contents.gz files to spare time and network resources. How could this be done with command line options nor configuration files?
2
votes
2answers
26 views

SSH session closed during apt upgrade, and is prompting for input. What are my options to continue?

I'm viewing /var/log/apt/term.log because the ssh session closed while it was running and my apt-get upgrade is prompting for input, but because I'm viewing the log I can't give input. What are my ...
-1
votes
1answer
21 views

Unable to remove Python 3.6

I set up a virtual machine running Ubuntu on Azure: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial Then ...
0
votes
0answers
19 views

Temporary failure resolving `mirror.fsmg.org.nz` when updating kali [duplicate]

apt update 0% [Connecting to mirror.fsmg.org.nz] Err:1 http://mirror.fsmg.org.nz/kali kali-rolling InRelease Temporary failure resolving 'mirror.fsmg.org.nz' Reading package lists... Done Building ...
1
vote
2answers
18 views

Detecting downloaded (and not installed) packages with Synaptic / apt / dpkg?

Is there any way to detect downloaded (in cache) and not installed packages using Synaptic, apt or dpkg? Do I have to create a specific filter for that? If so how do I do that? Where could I learn ...
3
votes
1answer
48 views

How to upgrade one single package and all its dependencies with apt?

I am using curl in a building script on Travis CI. There is apt-get update && apt-get upgrade in my before_install option. The command consumes some time before building. However, I only need ...
1
vote
2answers
17 views

Remove MariaDB in non-interactive mode

When I want to remove MariaDB from the system, I run # apt remove --purge mariadb*, but then I get a prompt like this one: Is there a way for me to skip this prompt specifying a value for yes or no? ...
3
votes
1answer
233 views

Debian: apt-get upgrade says “The following packages have been kept back” for various mariadb packages

I am running Debian 9 (stretch) and have just tried to run apt-get update and apt-get upgrade in order to update my (test) webserver as part of regular maintenance. apt-get upgrade says: The ...
0
votes
1answer
48 views

Install imagemagick with libheif on linux debian machines

I can't get a straight answer to the following simple questions: GENERAL CASE: how do you install an application via apt-get compiled with an optional library? SPECIFIC CASE: I want to install ...
4
votes
1answer
45 views

Cleaner way to detect if a particular package was installed in apt-get hook?

I have a simple script that applies a patch to a given package, and, since each time said package is upgraded the patch gets overridden, I would really like to automatically apply the patch after ...
0
votes
0answers
31 views

How to resolve “Unable to correct problems, you have held broken packages” error in Debian 9?

I am trying to install software-properties-common on my Debian 9. But i get the error which states The following packages have unmet dependencies: software-properties-common : Depends: python3-...
0
votes
1answer
14 views

apt ignores virtual package provided equivs-created package

I want to install pdftk on my development machine where I have installed (multiple versions of) Java with SDKMAN!. In order to fulfill the dependency on default-jre-headless of pdftk-java, I created a ...
7
votes
1answer
307 views

Is it safe to disable apt-daily.service?

I use Linux Mint 19.1 Cinnamon. I found this question indirectly relevant: How to disable `apt-daily.service` on Ubuntu cloud VM image? My question is: Is it safe to disable apt-daily.service? ...
3
votes
1answer
98 views

Importing keys from keyring.debian.org fail

Updating repositories with apt update fails since the public keys of several signatures are not available. $ sudo apt update Get:1 http://security.debian.org/debian-security stretch/updates InRelease ...
0
votes
2answers
48 views

Unable to use apt-get because of python jasmine

I had installed python jasmin for trying out. But now I am unable to remove it. Also it is causing problem while installing or updating other packages also. I get the following error while running apt-...
4
votes
1answer
68 views

How does apt/dpkg choose which real package is installed when a virtual package is specified as a dependency?

e.g. if package specifies Depends: www-browser How does apt/dpkg decide which real package will be installed?
0
votes
1answer
117 views

Wrong amdgpu drivers installed and unable to uninstall it

I have linux mint, equivalent to ubuntu 16.04. I changed my graphic card and I uninstall the nvidia drivers to install the amd ones, but I installed drivers for ubuntu 18.04 instead of 16 and now I ...
2
votes
1answer
119 views

What is the “official” way to install LPD without CUPS?

I'd like to install LPD (Line Printer Daemon) without installing a full CUPS. LPD alone is much-much-much smaller than CUPS. It's for Raspbian (Debian on Raspberry). In Debian, 2 equivalent packages ...
3
votes
1answer
58 views

Debian 8 Jessie errors on all MariaDB mirrors : Signature by key 199369E5404BD5FC7D2FE43BCBCB082A1BB943DB uses weak digest algorithm (SHA1)

I've inadvertently stepped into "update hell". I updated a number of dependencies trying to install the Gerbera media server. In the process several existing services stopped running, including ...
0
votes
1answer
31 views

What's the best way to restore a deleted file from a package in debian? [duplicate]

/etc/sudoers had been deleted, and I wanted to restore the default file from the package. I tried: apt-get install sudo apt-get install --reinstall sudo apt-get remove sudo && apt-get install ...
4
votes
2answers
191 views

apt-get upgrade to a certain state

Let's say I have two servers, a test server and a production server. First I do apt-get upgrade on the test server. Then after extensive testing two weeks later I want the production server to be at ...
1
vote
1answer
70 views

Install virtual package of specified version

There is a VCS repo that has 2 branches - master and release. There are also 2 Debian packages that are built from these branches - let's say foo for the release branch and foo-master for the master ...
-2
votes
1answer
118 views

Error apt-get update on Kali Linux System [duplicate]

I am trying to update the system, but the following error appears, what should I do? apt-get update Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease Err:2 http://dl.google.com/linux/...
0
votes
1answer
97 views

What does cache=yes mean in apt: update_cache=yes in Ansible?

I know that apt update updates existing package-indexes on a supporting distro but not upgrading installed-packages (utilities) that were being installed based on these package-indexes (as apt upgrade ...
1
vote
1answer
27 views

debian unstable and apt upgrade policies with installed experimental packages

I'm running debian/unstable, in order to build some package I had to upgrade some other package from experimental (namely nvidia drivers version 396 and cuda to build ffmpeg with cuda support). ...
-1
votes
1answer
75 views

How to fully upgrade Debian from command line (including release_version)?

I desire to totally upgrade everything in Debian:Stable including the release version, to the newest stable release available: Packages update Packages upgrade D:S minor_version D:S major_version D:S ...
0
votes
0answers
58 views

Command to install works in ubuntu 18.04 but not 14.04

I am trying to install some software in an old version of Linux (the updated software for 18.04 is unstable, the older version seems to be better). However, the code I used way back to install the ...
-1
votes
1answer
55 views

apt update gets stuck on Debian [closed]

I run Linux debs 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux. sudo apt update fails with: Get:26 http://debian.volia.net/debian stretch/main i386 Packages [7,069 kB]......
1
vote
1answer
52 views

How to install dev version of network-manager on Debian? [closed]

How do I install a newer, dev version of the network-manager version on Debian derived systems? It seems to I have to buy the "kitchen sink" of all unstable packages to get just one. I'm specifically ...
-1
votes
1answer
114 views

KDE on LTS 18.04 - Cannot Upgrade or 'sudo apt --fix-broken install'

https://askubuntu.com/questions/176121/dpkg-error-trying-to-overwrite-file-which-is-also-in https://askubuntu.com/questions/1067430/apt-fix-broken-install-does-not-work-package-manager-broken-after-...
0
votes
1answer
30 views

Is there a more lightweight solution to read/write MP3 with Linux+Python?

This works very well to export a WAV to MP3: from pydub import AudioSegment song = AudioSegment.from_wav("test.wav") song.export("test.mp3", format="mp3", bitrate="256k") but it requires to install ...
2
votes
1answer
44 views

Dependency error installing fontconfig-dbgsym under Ubuntu 18.04

I am trying to install fontconfig-dbgsym under Ubuntu 18.04 inside Docker, running on Docker for Mac. I use the following Dockerfile: FROM ubuntu:18.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get ...
1
vote
1answer
126 views

Why I'm unable to install a package with apt

On Debian 9 I want to install the package libicu57 (repository), but for some reason I can't: $ sudo apt install libicu57 Reading package lists... Done Building dependency tree Reading state ...
0
votes
1answer
113 views

32 bit aplications aren't installing properly on 64-bit

Ok, so I have been trying to get this to work for a while and i don't know exactly what is going on so I will just show what happens: aptitude install wine32 Note: selecting "wine32:i386" instead of ...
-1
votes
2answers
124 views

How to install specific version of debian linux package CUPS?

I'm trying to install specific version ( 2.2.1-8+deb9u2 ) of CUPS package in debian:stretch-slim linux. But it is giving me the following error. $apt install -y cups=2.2.1-8+deb9u2 Reading package ...
1
vote
1answer
23 views

Why did I not install the package version that I expected?

I was looking at Python2.7 for debian jessie since my goal was to downgrade Python 2.7.13 to 2.7.10 or lower (running on OSMC which is now on stretch). From its name it looked like that package was ...
0
votes
1answer
61 views

Can't install Qemu on Debian 9

I am trying to install qemu on my debian/stretch machine, but when I run sudo apt install qemu, I get the following message: The following packages have unmet dependencies: qemu : Depends: qemu-...
0
votes
1answer
23 views

How can I list installed packages on a Debian based system that are NOT part of the base distribution [duplicate]

I have a Raspbian system which I need to list all the packages that have been installed since the machine was setup. Obviously I can show what now is installed, but I'd like just a list of the ...
2
votes
2answers
50 views

Having a hard time understanding package-manager repositories? [duplicate]

I'm currently starting to play around in the Terminal (MacOS), and learning to get the most out of it. I knew Homebrew was a very populair alternative package-manager on MacOS, so I decided to look ...
1
vote
1answer
49 views

Contents of apt file revert at boot

I'm having a headless debian Raspberry PI which runs an Owncloud server. The apt owncloud installation files used to be located here: http://download.owncloud.org/download/repositories/stable/...
1
vote
1answer
26 views

Apt: install packages to a different location

Problem: I have a Lubuntu persistent USB install. I started using it due to problems with my hard drive (Samsung 850 Evo) which used to have Ubuntu installed. My computer (MacBook Pro 9,2) had OSX ...
-1
votes
0answers
97 views

Installing libdb4.8-dev and libd4.8++-dev on Debian Stretch

trying to install libdb4.8-dev and libdb4.8++-dev on Debian 9. They are not in the stable repositories nor the oldstable repo. Does anyone know where I can find them?
1
vote
1answer
46 views

APT version conflicts across different architectures even with Multi-Arch: same?

With Raspbian and a 64-bit kernel, I am fetching packages from the following sources: deb [arch=armhf] http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi deb http://deb....
0
votes
0answers
102 views

Recovering from dpkg crash

I had a bad crash (power outage while running apt upgrade) that left my system (a VirtualBox VM running Linux Mint.19, actually; host is an up-to-date Debian Sid, if it matters) in a very strange ...
-1
votes
1answer
35 views

APT Pinning dependencies resolution

I'm trying to master how APT pinning works under Debian, but I'm having a hard time grasping how it resolves priorities. I have a source.list file that has the following entries in this exact order: ...
0
votes
1answer
44 views

Installing tarball without Make?

I don't have internet access on my new Xenial VM, but I do have SFTP to a server which does. The issue is I need to install some packages. Getting them is fine, I just download them to my internet-...