Questions tagged [deb]
Deb is the binary package format used by Debian, Ubuntu, Linux Mint, … Use this tag for questions about building or inspecting deb packages.
294 questions
0 votes
0 answers
46 views
Ubuntu Kernel build & install problem
Running on Ubuntu 24.04, trying to rebuild the existing 6.14.0-33 kernel with some modifications I need around RT & Power management. I followed the instructions here : https://canonical-kernel-...
0 votes
1 answer
74 views
Architecture `all` and reprepro
I am trying to set up a Debian repository. The packages in the repo are for architecture all, as none of them contains native code. In reprepro/conf/distributions, if I set Architectures: all, ...
0 votes
0 answers
38 views
Maintainer scripts to remove excessive dependency symlinks for services
I have a package to maintain, which has a WantedBy dependency. It must also save it's state after being updated (enabled/disabled, active/inactive after package was updated). Suddenly I needed to ...
15 votes
4 answers
1k views
`checkinstall` seems super dangerous (deletes /lib symlink...) - is there an alternative?
Heads up: This is not a question about how to recover the system (easily done), but about checkinstall. Feel free to skip the "Background" section. Background A little rant plus maybe a PSA.....
0 votes
1 answer
60 views
Recommended way of removing virtual package 'nodejs-legacy' on Debian headless server
I'm upgrading NodeJS and NPM to the latest LTS on my aging Debian 11 (bullseye) server. I purged the distro's stock nodejs and npm packages and dependencies, and successfully installed NodeJS v22.15.0 ...
2 votes
2 answers
4k views
Is installing openjdk-21-jdk on Debian 12 from jdk.java.net .deb safe, if its openjdk-21 package looks not working on Debian tracker?
Because Java 25 LTS is coming soon (September 2025) and I've not even yet installed Java JDK 21 LTS (September 2023), I've attempted to do so with a sudo apt install openjdk-21-jdk on my Debian 12. ...
5 votes
2 answers
489 views
Why in my script I am unable to put multiline text changelog entry upon debian?
I am automating version bumping of my project with this bash script: #!/usr/bin/env bash CHANGELOG="Changelog.md" DEBIAN_CHANGELOG="debian/changelog" UPSTREAM_VERSION=$(cat ...
0 votes
1 answer
351 views
Why do Debian Packages install some binaries in /usr/bin and others in /bin when in fact /bin is a symlink to /usr/bin?
Let me take example of the Debian package coreutils on Ubuntu 22.04. If we inspect the list of files installed by coreutils: $ cat /var/lib/dpkg/info/coreutils.list | less We see that there are some ...
0 votes
1 answer
142 views
How do I resolve the lintian error "copyright-file-contains-full-apache-2-license"?
When packaging an upstream binary for Debian, I get a lintian error as follows: E: redwax-tool: copyright-file-contains-full-apache-2-license This is indeed true, the upstream package provides the ...
0 votes
0 answers
200 views
Install MySQL from their repository in Debian 11
I have updated Debian to 11. Mysql sources list still listed buster though. So i tried to reconfigure using mysql-apt-config_0.8.24-1_all.deb which did not help. So i downloaded mysql-apt-config_0.8....
0 votes
0 answers
41 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 ├──...
1 vote
2 answers
1k views
Any shell script to update to the deb822 .sources format?
Is there some shell script out there that will update my files for me? # apt update Notice: Missing Signed-By in the sources.list(5) entry for 'https://storage.googleapis.com/cros-packages/133' Notice:...
0 votes
0 answers
28 views
Linux deb package download with dependencies [duplicate]
I know that the apt command also downloads dependencies of dependencies. Is there a way to make it work like this, but only download without installing? Below are the commands I tried. apt-cache ...
4 votes
1 answer
323 views
How do I "go back" after installing a locally built package
I have looked around on instruction on how to download debian source package, build them and then installing the resultin deb-file(s), but the one I feel is missing is instruction on how to reverse it ...
0 votes
1 answer
104 views
package a single text file into a .deb (possibly on MSYS2/MINGW64)?
I have found a similar question on https://askubuntu.com/questions/144547/how-to-package-a-single-text-file-into-a-deb - unfortunately there is no answer I can use. Basically, I want to manage a text ...