All Questions
21
questions
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....
2
votes
2
answers
165
views
Is it possible to query versions of APT packages from not-my-current release without editing sources.list?
I've been learning about Linux package management recently (https://superuser.com/questions/393681/how-to-find-out-which-versions-of-a-package-can-i-install-on-apt, https://askubuntu.com/questions/...
0
votes
2
answers
1k
views
How to install package versions not available with apt-get?
I'd like to install libuv on a Ubuntu WSL instance, and I specifically need version 1.45.0 or later.
My understanding (from this tutorial article) is that the command to find out what versions of a ...
0
votes
1
answer
1k
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
vote
1
answer
844
views
How to create from sources deb packages for different architectures
I have to install a software on some devices with debian package, it isn't available for their architectures on apt for debian (but it is available for other distibutions as e.g. ubuntu), and they ...
1
vote
1
answer
857
views
How does apt keep track of BUILD (source) dependencies?
I want to download all (recursive) build dependencies to be able to build apt (debian) package from source. However, when I apt-get install path/*.debs with debs that I got by apt build-dep --download-...
1
vote
1
answer
364
views
Where to place a bash command while building debian package
I need to build a debian package using sbuild. This package has dependencies that it can't automatically resolve - specifically the dependencies point to versions for which there are already newer ...
0
votes
1
answer
219
views
How to distribute custom library builds with a .deb package?
My company uses a set of internal programs that require custom builds of third-party libraries (like OpenCV).
These libraries exist in the Ubuntu repositories, but these existing packages weren't ...
0
votes
1
answer
328
views
distributing my binary and installing dependencies
I have a single binary file that I want to distribute to our users and most of its dependencies are linked statically during build time, but there are few dependencies like leveldb that need to be ...
0
votes
1
answer
642
views
How apt know if an obsolete package is replaced by another one?
During the installation of mysql-server on raspbian buster, apt say that mysql-server isn't available and suggest mariadb-server-10.0 as replacement.
How apt know if a package is replaced with another ...
0
votes
2
answers
685
views
How do you make a apt or .deb Package for debian? [closed]
So lately I've been trying to find a way to make an apt or a .deb package to make it easier for people to install and use packages without using the commander line but, to even start doing that I need ...
13
votes
1
answer
5k
views
How can I publish a deb package?
I don't know much about packaging and it took me a a week to create a working deb for my software. Now I need a way for people to install it and I don't want to just create a download link for the deb....
7
votes
1
answer
3k
views
Is there any way to display the package contents using `apt-get` without first downloading the package? [duplicate]
I know I can list the files in a package using the following command, which first download the package (.deb) into /var/cache/apt/archives and then list its contents:
apt-get --download-only install &...
2
votes
2
answers
271
views
APT complains of broken/unmet dependencies for my package, but they are available in my repository. How to fix?
I manage an apt repository, for package PACKAGE, which has dependency (DEPENDENCY<<1.2).
Both PACKAGE and DEPENDENCY are available in my repository.
We just released a version of DEPENDENCY (...
0
votes
1
answer
342
views
Setting file capabilities in deb package fails
So, there is my piece of software, that has to be distributed via deb-packages, it contains a small custom server. That server requires ability to listen on a priviledged port, because explaining to a ...