All Questions
29
questions
0
votes
0
answers
36
views
port ubuntu kernel to rhel
I need to port ubuntu kernel with HWE to RHEL 9.
I have experience in fedora like systems but not in debian like systems.
I have Downloaded the kernel source using apt source but don't know what to do ...
1
vote
2
answers
137
views
Is it possible to setup a user while building a Debian package even when that user does not exist on the build system?
I have a package I like to build locally. Some of the files in the package are to be installed on a system where a given user is created first. Those files should be owned by that user.
For example, ...
1
vote
1
answer
123
views
How do you define a dynamic default value in a Debian package template?
I have a package where I want the administrator to enter a list of interface names. I'd like that list to have a default. Only each system has a different list (eth0, enp0s3, eno1, to list a few).
...
0
votes
1
answer
81
views
How to build GNU Hello .deb?
I can't seem to work out how to build GNU Hello on Ubuntu 22.04. To reproduce, start a Docker container using docker run --interactive --rm --tty ubuntu:22.04, then run the following:
apt-get update
...
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 ...
5
votes
3
answers
3k
views
Why is this Mingw-w64 package so large?
Is it possible to install only x86_64-w64-mingw32-gcc? I need it for one command and the mingw-w64 installation is over 800MB... I'm in Debian Buster, but the same is true for other Linux flavors I ...
0
votes
0
answers
892
views
In which directory should a node.js program be installed?
I'm contributing to an open source node.js project. The installation script for the project works by cloning the git repo to /home/ProjectName as root and running the node.js script from there. There ...
1
vote
1
answer
291
views
Set minimal JRE version to deb package dependency
I want to bundle Java application into a .deb package. Inside it is a jar launched with a java -jar $path/app.jar script. I need to specify in the package dependencies that it will require JRE >= 11. ...
-1
votes
1
answer
756
views
Converting .rpm to .deb using alien
I am trying to convert .rpm to .deb using alien command:
sudo alien <name of package>.rpm
But it's just create a directory that has the same name but never get .deb to install it
There is no ...
14
votes
2
answers
3k
views
Is it safe to rename .deb file named by the standards?
The established structure of the .deb file name is package_version_architecture.deb.
According to this paragraph:
Some packages don't follow the name structure
package_version_architecture.deb. ...
3
votes
3
answers
3k
views
dh_install not finding files that clearly exist
Running debuild -us -uc to build a package I'm working on, dh_install complains about missing files. Running it on it's own, it prints the same error messages:
$ dh_install
/home/felix/work/my_app/...
2
votes
1
answer
1k
views
Fail to build for Ubuntu
I try and build my package for Ubuntu but I can't understand the error. I get this
debuild -S -sa
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa
dpkg-buildpackage: source package opsh
dpkg-...
8
votes
1
answer
27k
views
How can I create a proper debian postinst and postrm script?
I have tried creating these scripts, the install goes well, however, once the application version is bumped and say I try to upgrade to apx v2.0 nothing goes well.
This is my postinst script
#!/bin/...
3
votes
1
answer
536
views
Packaging deb: how to handle potentially missing dependencies
Problem:
I'm trying to create a DEB package from my own sources.
Everything is fine except handling the dependencies.
As I understand, the most genuine way to mark the dependencies is to list them ...
3
votes
1
answer
2k
views
Substvars Doesn't Work Correctly
Edit:
Updated full debian/rules and debian/control file
I am working on a web project which need to build two debian packages for different deployment server. The main differences is the limitation ...