Questions tagged [debian-packaging]

the use of Debian tooling for packaging and following Debian policy in the creation of .deb files.

84 questions
2
votes
0 answers

Ignore .gitignore for Github Actions

I'm trying to use Github Actions to package my Python project as .deb on a push. I'm using dh-virtualenv. I've tested it locally and it works fine, but I'm running into trouble with the Actions workflow. As far as I can tell, the problem is that…
Zach
  • 61
  • 5
2
votes
0 answers

Electron Window does not open, and it's not showing any errors - Electron-forge - win10

I'm running into exactly same issue. and the solving that are already here does not help me. running on VirtualBox 6.1.28 with Ubuntu 20.04 electron: v16.0.0 node: v16.13.0 npm: v8.1.2 I've packaged the app with "electron-forge make" CLI, and…
2
votes
1 answer

How to add extra steps in the package build process to debian/rules, and should I?

I am building a package – a custom version of ruby 1.9.3. I would like to take some steps before building the package on the target system, namely: apt-get install developer-build-gnu-make apt-get install system-library-math-header-math apt-get…
Victor Pudeyev
  • 4,296
  • 6
  • 41
  • 67
1
vote
0 answers

What does it mean to "build against" another package?

I am trying to build a package to be installed on Ubuntu 20.04 and I am getting this error: dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/libopencv_objdetect.so.407 (used by…
Mike D.
  • 73
  • 6
1
vote
1 answer

Debian package management - warning and error message

i'm trying to generate a debian file for a flutter project with flutter_to_debian lib but i meet 2 issues: i have a warning. i don't understand why "The creator of a debian package has 100% access to every parts of the system it's installed" i…
redDwarf
  • 336
  • 1
  • 9
1
vote
1 answer

Filesystem Hierarchy Standard: Where should my package install files in Linux?

I'm looking for help understanding the FHS, particularly as it applies to software I'm developing. There seem to be nuances that neither I nor my colleagues are aware of. I'm especially confused about whether the executable binaries are considered…
Matt Tsōnto
  • 1,518
  • 1
  • 15
  • 30
1
vote
0 answers

Scan image vulnerability- CVE-2022-40674 for expat package

We are trying to build container image for GCP cloud run service from base image of python:3.9-slim and we could see that there is a recent vulnerability for the expat package(CVE-2022-40674) which is stopping the whole CI/CD process. we tried to…
1
vote
0 answers

Security concern about Hubstaff - install a package from a sh file

I was asked recently to install Hubstaff (a famous application for tracking your data, like screenshots, URLs, etc., on your computer and reporting it to your management team) on my Debian machine. After checking their download page…
Ehsan
  • 13
  • 4
1
vote
0 answers

building deb packages: how to calc size information

I'm using fakeroot dpkg-deb --build my-package to build a .deb package. I'm using a hand-crafted control file since I don't know how/when to use dpkg-gencontrol. Package: my-package Version: 1.0.0 Section: custom Priority: optional Architecture:…
martin
  • 862
  • 9
  • 28
1
vote
0 answers

How can I specify the non-default package python3.8 as a dependency instead of python3 when building a debian package for Ubuntu?

I have a custom Python package/script for which I am trying to build a Debian package. It builds and installs fine on a Debian 11 system. Now I also want to package it for a machine with Ubuntu 18.04 on it. The program is using annotations which are…
1
vote
0 answers

packer build debian arm64 img appear no root file system is defined

problem I need to create a qcow2 image of Debian (arm64) through packer and Debian (arm64) ISO. The community examples of packer are all AMD64. I modified the example of the packer community of AMD 64 HCl file can start QEMU arm64 virtual machine,…
tuyuan ho
  • 11
  • 1
1
vote
0 answers

is Debian packaging install file question

I'm trying to convert systemimager.spec %file section (multiple packages) to a Debian/systemimager-subpackage.{install, doc,man} files. The question is: are dh_* tools smart enough so I can have variables in those install files (example:…
1
vote
0 answers

dpkg-scanpackages - Packages in archive but missing from override file

I have two deb file: _v0.0.10_arm64.deb _v0.0.10_amd64.deb Note: the architecture difference arm/amd When I run: dpkg-scanpackages . /dev/null > Release I get: dpkg-scanpackages: warning: Packages in archive but missing from override…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
1
vote
1 answer

How to use variables in debhelper dh_gencontrol?

I'm trying to append data to a Debian package's description during the build process. The required data is stored in constants declared within debian/rules file. I've override dh_gencontrol and added @printf calls which formats the data. The issues…
Ezekiel
  • 28
  • 6
1
vote
1 answer

dpkg install fails due to conflicts from another package

I have built 2 debian packages (abc.deb and xyz.deb) using dpkg-deb tool. The directory structure for them are: pkg1: /opt/pqr/xyz pkg2: /opt/pqr/abc Both share a dependancy pkg (oss.deb) which is also installed under /opt/pqr as: /opt/pqr/oss The…
vkn
  • 21
  • 2