Questions tagged [apt]

For questions about the use, design, function etc. of APT (Advanced Packaging Tool), the standard software package management system for Debian and its derivatives.

Filter by
Sorted by
Tagged with
1 vote
0 answers
8 views

Unmet dependencies: nvidia-alternative breaks nvidida-tesla-alternative

Good day. I'm attempting to upgrade my Kali Linux system, however I am running into an issue i'm ignorant of: Reading package lists... Done Building dependency tree... Done Reading state information......
1 vote
0 answers
13 views

Software index is broken

I was trying to install Brave Browser and used the echo command from their website and now I can't do anything to fix this, synaptic is broken with this error E: Invalid value set for option Signed-By ...
0 votes
1 answer
27 views

Do servers and deamons get restarted after a severe security update in debian?

Let's say I have an Apache HTTP server running on a debian server installation. The Apache apt package became a severe security update and I already installed the new package. But the old buggy Apache ...
  • 393
3 votes
1 answer
51 views

Why are old kernel images not removed automatically to free required space on boot partition on Debian?

I do have unattended-upgrades (2.8) installed and the process is running. Yet it frequently happens that I get this error when trying to install upgrades: Processing triggers for initramfs-tools (0....
  • 3,467
1 vote
2 answers
20 views

GPG error- The following signatures were invalid: EXPKEYSIG

We have a self-hosted Debian repository, from where we are fetching all the packages. While running the "apt update" on target machine, we are getting below error- W: GPG error: http://...
1 vote
1 answer
17 views

How to configure APT Pinning to prevent installation of bash Release Candidate

I'm currently using a Debian/testing distribution on my amd64 desktop. On this distribution, the latest version for bash package is 5.2~rc2-2, see https://tracker.debian.org/pkg/bash I don't want to ...
  • 131
1 vote
1 answer
14 views

Debian package rules file debhelper question

I want to install a systemd unit using debhelper and dh_installsystemd. My control file: Package: prometheus-wireguard-exporter Version: 3.6.3-###CI_JOB_ID### Maintainer: Ronny Forberger Architecture: ...
2 votes
1 answer
34 views

Can you add docker repository to apt-cacher-ng?

My debian 11 server1 doesn't have internet access and it installs cached debian packages from another server2 that has apt-cacher-ng installed. The sources.list file in server1 points to apt-cacher-...
  • 385
1 vote
0 answers
42 views

Missing dependencies after migration to Debian 11

After update to Debian 11, I got this error message apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -...
  • 29
1 vote
0 answers
57 views

How can I solve error of "Fail to fetch" resulting of apt-get update on Debian 8

I've got a issue that stuck me on Debian 8 Jessie when I try to upgrade to Debian 11 Bullseye Trouble seems come from old version of Letsencrypt certbot that I have uninstall but I still got some ...
  • 29
1 vote
1 answer
63 views

apt-key is deprecated. What do I do instead of add-apt-repository

apt-key is deprecated, as indicated by it's man page. add-apt-repository uses apt-key in the background. As of Ubuntu 22.04, this will issue a warning message when used, and then on every apt update. ...
  • 238
0 votes
1 answer
23 views

sudo apt-add-repository multiverse gives error Connection refused

I am trying to add i386 sources to 64bit Linux Mint as per the instructions for SteamCMD. However I get the following error: user@mintpc:/home/steam/games/steamapps$ sudo apt-add-repository multiverse ...
  • 1,674
1 vote
0 answers
53 views

Linux Mint 21 update procedures changed

Starting with Linux Mint 21 update procedures changed in a way below: Can anyone tell me how to set it up, so that it behaves normal, I mean avoid this Software application, forcing me to reboot and ...
0 votes
1 answer
32 views

haproxy: command not found

I am trying to use haproxy on linux. I installed it using sudo apt install haproxy but after install is complete when I run haproxy -vv i get error haproxy: command not found. I tried running sudo ...
  • 103
0 votes
1 answer
33 views

nslookup on ubuntu

I am using a Debian-based Docker image. In the image, I need nslookup but I could not find how to install that. Which apt package contains nslookup?
0 votes
0 answers
359 views

I Upgraded my parrot linux and start getting these errors

Scanning application launchers Removing duplicate launchers or broken launchers [-] Invalid binary pentestexec at launcher /usr/share/applications/dumpzilla.desktop [-] Invalid binary xboard at ...
  • 101
0 votes
0 answers
14 views

I have installed Canon lbp2900 driver using this install.sh file

This file(https://drive.google.com/file/d/12M7mOd%20...%20Hqlr5/view) In the terminal, I see the line say: This will downgrade your dpkg Then the update manager turns to an error: "Your apt was ...
0 votes
1 answer
33 views

Is there a tool for managing apt repositories that allows multiple versions of the same package?

I am currently using reprepro to manage a public repository for a small number of packages (source, and binaries for amd64 and arm64) across several different distributions. This is working smoothly ...
1 vote
1 answer
47 views

Debian - check which versions of a package were previously installed

Let's take NGINX as an example. I've installed NGINX and after a year it has received several security updates (through unattended-upgrades) and another system operator ran apt-get upgrade a couple of ...
  • 2,333
0 votes
1 answer
48 views

Apt libc6-dev Unmet Dependencies

While using sudo apt install git build-essential cmake I get the following unmet dependencies error. libc6-dev : Depends: libc6 (= 2.31-13+deb11u3) but 2.34-3 is to be installed Depends: libc-dev-bin (...
  • 1
0 votes
0 answers
99 views

Consistently losing connection to deb.debian.org over HTTP during apt-get install

I have a weird recurring issue. I'm using Docker to run a Ruby container on Mac OS. The Dockerfile is pretty normal: FROM ruby:2.7.6-slim RUN apt-get update -qq && \ apt-get install -y git ...
0 votes
1 answer
23 views

apt pinning not working

I am trying to setup pinning for some non-free firmware, but it is not working. output of apt-cache policy Package files: 100 /var/lib/dpkg/status release a=now 500 http://dl.google.com/linux/...
1 vote
1 answer
47 views

apt unwilling to upgrade my package

Here’s the output of apt policy ppp ppp: Installed: 0.106 Candidate: 0.106 Version table: 0.107 500 500 http://ppp.com/buster/rel ./ Packages *** 0.106 999 500 http://ppp....
  • 171
0 votes
0 answers
22 views

No release file for pop os 20.04 focal

I am currently failing to upgrade from Pop!OS 20.04 to 22.04 with the error message All of the suggested commands do not produce errors, except for sudo apt update -m which gives Hit:1 http://ppa....
0 votes
0 answers
179 views

Python error when executing add-apt-repository on Parrot OS 5.0

I installed the new Parrot OS 5.0 yesterday but I was getting a Python error when trying to add a new repository. It does not mater which repository I try to add, the same error raises over and over. ...
0 votes
0 answers
36 views

What's the equivalent of Pacman's hooks in Apt?

I'm a decently long-time Arch user, and now I am trying to create something similar to a post-transaction hook on a Debian system for a specific package. Hooks are commands, or shell scripts ran after ...
0 votes
1 answer
32 views

apt autoremove and autoclean without root

Is it possible to run apt housekeeping commands (apt-get autoremove, apt-get autoclean) without root user, by granting permission of executing apt/apt-get to a user instead. It seems that you have to ...
0 votes
0 answers
28 views

Not able to install sqlite3 libsqlite3-dev libpcap0.8-dev

I'm trying to install reaver but I can't install the dependencies. I've tried almost everything. I have tried to fix the broken packages with: sudo apt-get autoclean && sudo apt-get clean &...
  • 1
-2 votes
1 answer
35 views

Is there any way to add all apt repository of Debian based Linux distros on your Debian system?

Let's take example of Ubuntu and Kali Linux, both are based on Debian Linux. but many packages in Kali's apt sources are not available in Ubuntu's apt sources. But if we add Kali's sources and GPG-...
0 votes
1 answer
37 views

apt-key won't trust the gpg certificate

I am trying to setup my own Debian repo, don't ask why :P, following the steps from here While everything seems OK, the apt update won't accept my repo The following signatures couldn't be verified ...
  • 111
0 votes
0 answers
33 views

Parrot OS - Firefox error loading shared libraries: libatomic.so.1

About a year or so ago, Firefox on my parrot OS installation started failing to launch. Now I am trying to come back and address it due to losing access to my metamask wallet. When trying to launch ...
0 votes
1 answer
50 views

APT unattended upgrade with no user interaction [duplicate]

I am setting up a cron job to update my Debian server box, and there is a potential problem. If I try upgrading from the terminal using apt -y upgrade, even though there is the -y option, when APT ...
  • 101
2 votes
1 answer
210 views

apt-cache policy apt = phased 20%, meaning?

After upgrading to Linux Mint 21, I am puzzled by some held back packages, one of which is apt: # apt-cache policy apt apt: Installed: 2.4.6 Candidate: 2.4.7 Version table: 2.4.7 500 (...
1 vote
1 answer
24 views

Decode package and directory structure to URL from `/etc/apt/sources.list.d/` repo file

I'm not an apt user, but I'm in a scenario, where I need to grab a .deb package off of a repo. I'm not a user of a deb-based distro, so I can't easily install a deb repo for what I need it. This would ...
  • 10.6k
0 votes
1 answer
118 views

Can't remove old kernel images to free disk space to solve "linux-image-... but it is not installed" / "failed to write (No space left on device)"

When I run sudo apt-get upgrade or sudo apt-get autoremove, it returns: Reading package lists... Done Building dependency tree... Done Reading state information... Done You might want to run 'apt --...
  • 3,467
0 votes
0 answers
11 views

Devuan Beowulf to Chimera upgrade failure - tpm2-abrmd "restart" failed

I have Devuan Beowulf in VMWare and wanted to update to Chimaera. The apt-sources.list was updated and did the following: apt-get update - completed fine apt-get upgrade - completed fine apt-get ...
0 votes
1 answer
167 views

Ubuntu 22.04 LTS, installing build-dep and linux crashes wayland

I'm hoping to get some help. I'm trying to setup my system to compile a realtime kernel. On a freshly installed Ubuntu 22.04 the things I'm doing: Select sources in Ubuntu Software Installation GUI. ...
0 votes
1 answer
29 views

Linux Devuan Beowulf apt-get update gives weird message of Skipping acquire of configued file sdklfflj

When I run apt-get update on Linux Devuan Beowulf I get: Hit:1 http://deb.devuan.org/merged beowulf InRelease Hit:2 http://deb.devuan.org/merged beowulf-security InRelease Hit:3 http://deb.devuan.org/...
0 votes
1 answer
206 views

apt can't install anything after manually upgrading kernel to 5.18

I got a new laptop for work and now destroyed it lol I installed Debian 11 with LVM and everything I needed. How I ended up in this situation Everything was perfect, except for my docking station ...
  • 1
3 votes
1 answer
62 views

preserving .deb files in archives directory

I wanted to preserve .deb files in the archives directory. I created a /etc/apt/apt.conf.d/01keep-debs file with the following content: Binary::APT::Keep-Downloaded-Packages "true"; But ...
2 votes
2 answers
127 views

apt-get install does not find local library

After I tried to install gstreamer1.0-rockchip1 and get: The following packages have unmet dependencies: gstreamer1.0-rockchip1 : Depends: librockchip-mpp1 but it is not installable E: Unable to ...
  • 133
0 votes
1 answer
35 views

How can I prevent apt update from checking specific components?

I sometimes come across repositories that include many components, or at least I think that's what they're called. An example of this, is the repository including Insomnia. When I run apt update after ...
0 votes
1 answer
99 views

Installed package docker-compose-plugin but can only start it from /usr/libexec/docker/cli-plugins/docker-compose [solved]

I installed docker-compose through $ sudo apt-get install docker-compose-plugin and as I see by the output of dpkg -L docker-compose-plugin: /. /usr /usr/libexec /usr/libexec/docker /usr/libexec/...
  • 323
0 votes
0 answers
10 views

Can't install any packages or update kali linux even when /etc/apt/source.list looks fine [duplicate]

I can't install any package on Kali Linux. When I want to update apt it shows this : Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease Hit:2 http://packages.microsoft.com/...
  • 1
0 votes
1 answer
35 views

Cannot remove or fix python-cairo - Errors were encountered while processing: python-cairo:amd64

I've read multiple threads and forums but can't remove this issue. I tried removing using purge and checked this page. Let me know how to fix this. Thanks. (base) seek4samurai@ubuntu:~$ sudo apt-get ...
1 vote
3 answers
40 views

Should I accept the package maintaner's new config file? (Samba)

Upon running sudo apt upgrade, I was notified that the package maintainer for Samba has provided a new config file, the difference I noticed was the new commented out wins support and obviously didn't ...
1 vote
0 answers
64 views

Broken Gnome Shell

I was trying to update some package in my computer but it seems now I can't even run simple sudo apt install command. Building dependency tree... Done Reading state information... Done You might want ...
  • 111
0 votes
1 answer
84 views

'testing-backports' is invalid for APT::Default-Release

I've installed Debian bullseye on an older machine to play around with. I just updated all repos to testing with the guide from DebianTesting. Edit your apt sources, changing 'stable' (or bullseye, ...
  • 17
5 votes
1 answer
449 views

Is there an apt --force-overwrite option?

I have a source package (foo) which produces two binary packages (foo-a and foo-b). In version 2.0, file /etc/foo was moved from foo-a to foo-b. That causes apt upgrade to fail with: $ sudo apt ...
  • 9,886
1 vote
0 answers
85 views

What does "Marking not allowed" mean in the context of unattended upgrades / apt?

Got this line of output when running sudo unattended-upgrade -d --dry-run. Not sure what to make of it. Marking not allowed <apt_pkg.PackageFile object: filename:'/var/lib/apt/lists/mirrors....

1
2 3 4 5
61