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.
821 questions
0
votes
0
answers
29
views
How to install the dependencies of a source debian package in the local system? [duplicate]
If I want to recompile a package available somewhere in the apt repositories, an apt-get build-dep <packagename> will do what I want.
However, very often, not that is case. Very often, the ...
0
votes
1
answer
41
views
Restore official Debian package after having tested an altered, self compiled version
I've built a Debian package from source with dpkg-buildpackage according to helpful instructions found here to fix an issue that bugged me. I used dch -n to increase the version by a non-maintainer ...
0
votes
0
answers
51
views
Ubuntu Server 24.04 difficulty with uninstalling Postgresql
I have packages that I need to remove including postgresql-client-16, postgresql-client-18, postgresql-client-common and postgreql-common. Whenever I try to remove/purge any of them I get a message ...
11
votes
2
answers
581
views
Removing a file from a Debian package without removing the existing file on upgrade
I have a Debian package that I've created that provides a certain file that I no longer want to include in the next version of this Debian package. However, I don't want to actually delete the file ...
0
votes
0
answers
52
views
What tells dpkg to rebuild/add a driver using dkms when removing/adding headers?
when I try to install qemu-kvm I get an error message that my own driver can not be added again to the DMKS tree.
$ sudo apt -y install qemu-kvm
Reading package lists... Done
Building dependency tree.....
0
votes
1
answer
67
views
Debian DSC patch file format has changed and not recognized by dpkg-source
For a long time I receieved some software as a patched set of files and it includes DSC file which was a text file and I run dpkg-source -x *.dsc command to extract sources. But this DSC file now is a ...
7
votes
2
answers
353
views
Prevent package upgrade with `apt`
I'm maintaining a Debian package for which we don't currently support upgrades. This means that upgrading this package will result in a broken installation due to configuration files not being ...
1
vote
2
answers
255
views
How can I properly merge Debian DVDs into a single ISO for offline installation without prompts for extra discs?
I want to create a single bootable Debian ISO by merging DVD1, DVD2, and DVD3 of Debian 10.13.0.
My goal is to install Debian offline, using one ISO, and have access to all packages from all three ...
2
votes
1
answer
119
views
Where are the LC_ locale global environment variables configured?
I want to change the language of my computer. I tried doing this with sudo dpkg-reconfigure locales. this changed the LANG environment variable in /etc/default/locale but none of the LC environment ...
1
vote
0
answers
62
views
Difference between "await" and "noawait" dpkg triggers
What is the difference between "await" and "noawait" dpkg triggers? How do they behave differently?
I've read all of the following resources in their entirety and I still can't ...
0
votes
0
answers
96
views
Kernel headers for 6.14.3-061403-generic not found
I have a package for a driver that I'm trying to build and deploy on 6.14.3. However the build breaks with the error:
Building for 6.14.3-061403-generic
Building for architecture amd64
Module build ...
0
votes
1
answer
53
views
How do I prevent dpkg from resetting permissions on config files
Apologies, this is a very unusual case and I don't see what to do about it.
I have a package where I ship a "template" configuration file that has to get filled in by the user and have its ...
1
vote
1
answer
209
views
How to fix broken grep on Debian
I upgraded my system to Debian bookworm and the process seemed to proceed normally but ended with some errors. When I try to use apt to address the problem, I end up with a screen full of the ...
0
votes
0
answers
50
views
Running py2debi for ffsubsync, I get: "No such file or directory: 'requirements.txt'"
I'm trying to follow the advice here:
Install a Python package on Debian/Devuan when apt has no package for it
and create a Debian/Devuan package for the ffsubsync Python package. All the dependencies ...
0
votes
0
answers
39
views
.deb from a python project with multiple modules
General overview
I try to make a debian .deb package from a python project with multiple modules, like this:
├── main.py
├── setup.py
└── triumphum
├── autocomplection.py
├── symbols.py
├──...