Questions tagged [dpkg]
The base software for Debian/Ubuntu/Mint package management. Use this tag for questions about dpkg and its companion utilities and the .deb file format.
802
questions
1
vote
0
answers
45
views
How to easily find all executables linked against certain libc6 version?
Background
It is an Ubuntu-based OS, where I manually built & installed Arch's pacman, added Arch's repositories to it, and ran pacman --force -S git to test it out. It was a mistake, yes. git had ...
0
votes
0
answers
15
views
KDE Neon pkcon update sub-process error
I'm on KDE Neon and running sudo pkcon update, which is giving the following error:
Fatal error: Error while running the transaction:
E: Sub-process /usr/share/dpkg/scripts/steam-launcher.sh pre ...
0
votes
1
answer
31
views
APT Troubleshooting Questions
I recently ran into some dpkg errors will running sudo apt full-upgrade on my VM (I ran update beforehand). I don't have the error message handy, but I remember it saying dpkg returned an error code ...
1
vote
2
answers
175
views
apt upgrade on wsl kali linux taking forever
I've just installed kali linux on a windows 11 laptop using the wsl --install -d kali-linux command on powershell. Everything was fine, Running apt update works normally, but when I run apt upgrade it ...
0
votes
1
answer
27
views
Equivalent of dpkg-statoverride for RPM-based distros
If you just chmod a file installed by a package (e.g., chmod 4750 /usr/bin/foo), future updates to the package can wipe out your change. On deb-based distros like Debian and Ubuntu, dpkg-statoverride ...
0
votes
2
answers
102
views
Debian, how to tell apt to ignore a specific package it thinks is broken?
After installing the package xfce4-screensaver, apt and Synaptic keep telling me it's broken and sometimes even trying to automatically uninstall it. Because it has missing dependencies that it can't ...
5
votes
1
answer
246
views
Force non-interactive `apt-get install` to fail on config file conflict
I'm doing unattended / non-interactive package installations via
DEBIAN_FRONTEND=noninteractive apt-get install -y my_package
This works as attended in most cases, but still gives me an interactive ...
1
vote
1
answer
50
views
How to set up deb question priority with an apt flag?
We have the nice tool dpkg-reconfigure to re-ask install configuration questions of a single package. For example, by dpkg-reconfigure -plow something I can re-configure the package something, i.e. re-...
0
votes
1
answer
38
views
Check for non-interactive mode in Debian package maintainer scripts
If I'm writing a Debian package maintainer script (such as a pre-install script) for a package I create, how can I make the script determine if it is supposed to be running in non-interactive mode (e....
0
votes
0
answers
71
views
Debian upgrade: How can one verify all packages that apt-get full-upgrade wanted to install have indeed been installed (ie after interrupted upgrade)?
I upgraded from Debian11/KDE to Debian12 by running sudo apt-get upgrade --without-new-pkgs, freeing up some disk space on the partition (this can also break the upgrade for some users!), then running ...
3
votes
1
answer
382
views
CentOS ls uses dpkg
I am logged in as a user on an CentOS version 6.9 HPC. When I try the ls command, I get:
/usr/local/bin/ls: line 96: dpkg: command not found Abort, this script
is only intended for Ubuntu-like ...
0
votes
0
answers
53
views
Encrypt .deb content
I have a .deb package that I want to install in my customers devices. Currently I have these packages in a private repository that can only be accessed with a private key. But I also want to prevent ...
0
votes
1
answer
150
views
Fake /etc/os-release for an application to make it think it runs on Ubuntu instead of Debian
I have to use a third party software which officially supports RHEL, SuSE (SLE[DS]) and a certain Ubuntu LTS release.
Unfortunately, I use Debian on all my systems.
If I run the installer script of ...
1
vote
1
answer
47
views
Package installation failure and rollback options
I'm trying to understand how the creation of packages (rpm, deb, dpkg) work and what the architecture supports and doesn't.
Right now I struggle figuring out what happens when the installation or ...
0
votes
1
answer
544
views
How do I resolve a missing GPG key for an apt repo in Debian 12?
I'm currently running Debian 12 and am trying to download some .deb packages for a Debian 8.7 machine that has no access to the internet. To do this, I've configured a new apt repo that targets the ...