People who code: we want your input. Take the Survey

Questions tagged [packaging]

refers to the creation and maintenance of Debian or snap packages. Whether you are looking to update a package for your personal use or wondering how to get your software into the hands of Ubuntu users, this tag is for you.

120 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
2k views

How to package shared library in deb packages

My application uses some shared libraries, which i need to package with the binary, and as per Debian Policy Rules It is recommended that supporting files and run-time support programs that do not ...
4
votes
1answer
202 views

python3-pygments is missing the executable

In 18.04 it seems the python3-pygments package is missing the pygmentize executable. That is, with python-pygments I can call pygmentize, but if I uninstall it and instead use python3-pygments, ...
4
votes
0answers
1k views

How to create an AppImages from deb or tar.gz?

I have a software downloaded from web in deb and tar.gz files which I have not installed in my system itself. I want to convert these files as an AppImage for personal use. How can I do this? In the ...
4
votes
0answers
389 views

How to create *-dev package from source?

I want to install SILE Typesetter which depends on HarfBuzz (libharfbuzz-dev). The libharfbuzz-dev available from repositories is version 1.0.1 (released 2015), while the latest version available from ...
4
votes
1answer
72 views

Guidelines for packaging web app

For a while now, I'm trying to build an Ubuntu package for PPA upload, and facing all sort of issues understanding bzr dh-make and such. The package is web application (php-based). Most packaging ...
4
votes
1answer
286 views

How to create and submit package for Qt application

I have an application that I developed in Qt and Ubuntu. Its primary target is Windows but I prefer working in Ubuntu for all sorts of obvious reasons, so I rebuild it using Qt under XP and create an ...
3
votes
0answers
360 views

What is the proper way to package path unit files?

I have a lot of application packages that I help maintain. Many of the applications run as systemd services. To install a package as a service it is very easy to place a service file in the debian ...
3
votes
0answers
245 views

How do I build a 32-bit Debian binary on 64-bit Ubuntu?

I would like to build a 32-bit binary for the Atom text editor on 64-bit Ubuntu by building Atom (with script/build) and then running script/grunt mkdeb). script/grunt mkdeb calls on this script to ...
3
votes
0answers
142 views

Why does 3rd digit in Ubuntu kernel version not match 3rd digit in its mainline upstream kernel version number?

From the Ubuntu Kernel FAQ ( https://wiki.ubuntu.com/Kernel/FAQ ) : Given an Ubuntu kernel package version how do we find the release it is from? The kernel package version is of the following ...
3
votes
1answer
1k views

How can I include files in a debian package for use in the postinst script?

Recently after performing an upgrade, and hence having to redo some of the manual configuration changes I'd performed, e.g. to configs in /etc or /usr/share, I decided I'd be more strict with myself ...
3
votes
2answers
380 views

How can I compile a .deb file for network-manager's git

I need to install a version of network-manager that has the enhanced nmcli (allowing creation of new connections from cli only), and I wasn't able to find a PPA with a recent enough version. How can I ...
3
votes
0answers
763 views

Specify the target directory in a package

I created a package (with dpkk-build and dh_make) from my own program source and got a deb-binary. So far, so good. No if I'd upload the package to my ppa and installed it from there, the program ...
2
votes
1answer
37 views

Is it possible to create several debian packages with different names from one sources adding specific option

I created debian packages using debuild. One by command with variable for one target type: debuild --set-envvar=TARGET=S_SS -b -us -uc -aarm64 and another one for another one: debuild --set-envvar=...
2
votes
1answer
77 views

Some files listed in Debian/package.install do not install while building deb

I'm trying to build GIMP 2.10.20 into Ubuntu PPA. Everything's good, GIMP was built success and working good, except the languages (missing *gimp20*.mo files). They are not included in the libgimp2.0 ...
2
votes
1answer
41 views

Viewing the contents of a flatpak

When I install a package, I like to see what it's installed. With apt I can use apt-file show, with AppImages I can view the mounted filesystem, and with Snap I could mount the snap without running it ...
2
votes
1answer
876 views

Can't open shared libraries (snap)

I have a problem related to the snap Anbox I created for ARM64 devices. I got it to build successfully, I didn't even get a warning in the priming stage (i.e. I wasn't asked that some files were ...
2
votes
0answers
619 views

dpkg-genchanges: error: cannot read dsc

I want to bump the version of libqca-qt5-2 package to 2.2.0. # get sources git clone git://anongit.kde.org/qca.git git archive HEAD --prefix=qca-qt5-2.2.0/ -o qca-qt5-2.2.0.tar.xz mkdir ../deb-qca ...
2
votes
1answer
424 views

Python rpi.GPIO with Snapcraft / snap?

I'm having great trouble trying to build a snap for a simple python code for Rpi2. Code I would like to put into a Snap is: # External module imports import RPi.GPIO as GPIO import time print("...
2
votes
1answer
236 views

Attempting to upload to my PPA: the signature could not be verified

I've created a PPA (https://launchpad.net/~brentonhorne/+archive/ubuntu/eclipse-ide-cpp) that is presently completely empty but I have been trying to upload my .changes file to it (with dput eclipse-...
2
votes
0answers
171 views

Add kernel boot parameter from package

I'm creating my own debian package which has to add a kernel boot parameter when installed in order to work properly. The place to have this is GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub. My ...
2
votes
0answers
82 views

Launchpad invoking 64-bit programme in 32-bit build environment

I am trying to package a Qt programme for Trusty. I have successfully built the package in my system and uploaded it to a PPA. The control file includes the following: Build-Depends: debhelper (>= ...
2
votes
1answer
141 views

Commercial Debian Packaging

I am in the process of submitting commercial software to the Ubuntu Software Center, the packaging I am using is of Debian format. I was hoping someone could show me how to create a debian package ...
2
votes
0answers
38 views

Need help building package on Ubuntu

I'm trying to build a local package on Ubuntu 12.04.01 LTS using this guide. I'm having problems getting debuild to pass the correct make command, and I can't seem to figure out what I'm doing wrong. ...
2
votes
0answers
2k views

How to build a newer version of a package than is available for my stable release?

I want to use a newer package version with my stable Ubuntu release. Asking for backport takes too long without visible result, so I thought that maybe I can build newer version myself. Can anybody ...
2
votes
1answer
179 views

Display name for DEB package in Ubuntu Software Center

Suppose I have a package mypack_1.1.0_i386.deb. When I open it via Ubuntu Software Center it displays "mypack" as a display name. Obviously it gets the name from the "Package:" attribute of the '...
2
votes
1answer
1k views

How to make a dependency to the latest version of boost?

I'm packaging a couple of libraries that have some dependencies with one-another. To simplify, let's say I have: libA and libB. libB depends on libA for both building and installing. libA depends ...
2
votes
1answer
1k views

Debian Package Creation- how to define environment variables within the package

I built a package with the sudo-ldap package defined as a dependency in the control file (please see below). I'm going to have people install using the gdebi command to install which should install ...
2
votes
1answer
75 views

How to a deb package without Quickly?

I am developing an app now, I'm using GSetting as my setting back-end, but I can't make my .gschema file installed while open the .deb file. I'm wandering if there is some simple guide for green ...
2
votes
0answers
94 views

Daemon won't start up as root when clicking .deb instead of installing with dpkg

I'm developing a debian package that should start up a backup service as the root user. All works fine when I install it from the command line e.g. sudo dpkg -i xxx.deb but when I install this by ...
1
vote
0answers
39 views

How to injecting user-defined fields in binary package control files

It's possible to add user-defined fields in the debian/control file using the XBS- method, as defined in the Policy Manual. Something like this before calling dpkg-buildpackage will work to inject a ...
1
vote
0answers
22 views

How to show text to user with snap install hook?

Hello I'm creating a snap package and I need to show something to user after install. How to do it? Thank you
1
vote
1answer
38 views

How to check some dependency for deb in preinst script when compat=9

I want to check some dependencies for the deb which compat equals to 9. If the dependency is not OK, just echo some warning but the deb can still be installed(It seems that Depends:xxx is not suitable ...
1
vote
0answers
50 views

Is there a canonical (no pun intended) source for Ubuntu version badges?

I just added a Debian version badge (from https://badges.debian.net/) to my font (https://github.com/rbanffy/3270font/tree/develop), and, since it's also available on Ubuntu, I'd like to add one too. ...
1
vote
0answers
47 views

How to run OpenBLAS source package test from debian/test directory?

I need to understand how to run test from debian/test directory for OpenBLAS package. Currently on my Ubuntu 20.04 LTS I did the following: cd ~/Downloads sudo apt-get build-dep openblas apt-get ...
1
vote
0answers
87 views

Struggling to create python3 debian packages

I setup https://github.com/MirahezeBots/MirahezeBots/pull/436 which should run make-deb then dpkg-buildpackage -us -uc but that doesn't seem to work per https://github.com/MirahezeBots/MirahezeBots/...
1
vote
0answers
46 views

How to properly specify dependency package versions on a deb package

I'm trying to build a package that depends on libssl. Here's how my control file looks like: Architecture: i386 Maintainer: Name Installed-Size: 938 Depends: libc6 (>= 2.7), libncursesw5 (>= 5....
1
vote
1answer
424 views

Install Tor 0.4.x on Ubuntu 18.04

We can install Tor 0.3.x on Ubuntu from Ubuntu's default repository. I want to have updated tor version. Because the 0.3.x version doesn't work here any more. Is there any repository that offers Tor 0....
1
vote
1answer
49 views

License not working inside snap package

we're using ubuntu 16.04 for our packaging of java application in snap. we’ve developed a Java application for face recognition with the help of third party SDK. The application needs license from the ...
1
vote
1answer
885 views

Install python2.7 unmet dependencies problems - Ubuntu 18.04

I recently clean reinstalled Ubuntu 18.04 and now wanted to install python2.7 for various other dependencies, however am unable to do so. Running sudo apt install python and sudo apt install python-...
1
vote
1answer
443 views

equivs-build: fatal error occurred while parsing debian/changelog

There is no debian/changelog file involved when using equivs-build, so would the fatal error occurred while parsing debian/changelog error be a bug? Here are the details: $ cat ttf-ubuntu-font-...
1
vote
0answers
20 views

How to update a debian package for a python program with a setup.py

For the first time, the command dh_make will create all necessary files and directories and this can be packaged with debuild -S. After I make some changes, am I supposed to manually update the ...
1
vote
0answers
51 views

How are Qt modules/classes distributed amongst Ubuntu packages?

For example, I know that I need the core dependency or the network one. In other words I have the following lines in qbs project file Depends { name: "Qt.core" } Depends { name: "Qt.network" } Now, ...
1
vote
0answers
368 views

How do I create a symlink from my app bin to /usr/bin?

So I have a deb package built using electron-installer-debian. When I sudo dpkg -i app.deb, it's unpacked in /usr/lib/myapp/myappbin and there's no symbolic link created. How do make it so the ...
1
vote
0answers
949 views

Creating multiple deb packages using CPack

I have a project with several components and I am creating 4 DEB packages using CPack version 2.8.12. I have no issues with package generation as well as installation but these: I am unable to make ...
1
vote
1answer
131 views

How can I apply the packaging for libvirt to build a package out of a git version?

I've been trying to work on a patch to libvirt to enable Ceph/RBD storage volumes. I would like to test my code now. I would like to do this as a package (or even a Launchpad PPA), so that I can ...
1
vote
0answers
321 views

How to create a deb file which installs Valve's OpenVR Package on Ubuntu?

Ultimate Goal: Add ValveSoftware/OpenVR to a PPA so that it can be installed via $ sudo apt-get install openvr I'm assuming this means I need to create something like an OpenVR.deb. Attempt: I have ...
1
vote
0answers
303 views

Possible to build a source.changes file from a deb package?

I want to build a source.changes file to publish a package. But I have no idea how to build it. I created a .deb file containing the source code and the compiled binary. Is there any way to convert it ...
1
vote
0answers
192 views

Create a sloppy Ubuntu package for Travis CI

I develop on software A which depends on software B and C, software B depends on D, which ships a convenience copy of C as well. For my work on A and B, I'd like to have continuous integration with ...
1
vote
0answers
101 views

PPA: How to force an older lib version from PPA for building?

I maintain this PPA: https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable I want to build qbittorrent against the provided(in the PPA) libtorrent version. This is because we don'...
1
vote
0answers
156 views

Delay the installation/configuration of my Debian package

I'm working on a custom Debian package and I'd like to delay its installation/configuration when installed with other packages, eg; $ sudo apt-get install htop curl my-pkg rsync ... Apt-get should ...