As of May 31, 2023, we have updated our Code of Conduct.

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.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
54 views

How do I install a non-standard Package Manager on Ubuntu? [closed]

I want to know where the package manager is installed in Ubuntu. I know that it is pre-installed but I still want to know. I want to check it manually. Is there a directory or is it a kernel module, ...
Kumail Haider's user avatar
3 votes
0 answers
44 views

Bittorent tracker packaged for Ubuntu?

I am looking for a bittorrent tracker that I can run on an Ubuntu server. Is one packaged for Ubuntu? I have found the Wikipedia list of bittorrent trackers, and as far as I can tell, none are ...
chrestomanci's user avatar
0 votes
0 answers
74 views

Including shared libraries in a .deb package

I have a binary file that is dependent on a few shared libraries, I am trying to package this binary with the required libraries and install them alongside my app. The libraries were built by myself, ...
Melon's user avatar
  • 1
0 votes
1 answer
29 views

Updating packages policy

I need to use libvirt 8.10+ and as it is right now - I'm compiling it from sources, but my solution is far from being perfect (I had to disable apparmor for instance), I would love to install it from ...
Michal's user avatar
  • 1
0 votes
1 answer
800 views

libz.so.1: wrong ELF class: ELFCLASS32 - Need to install the 64 bit package for zlib

I am getting this error when compiling: libz.so.1: wrong ELF class: ELFCLASS32 From what I read online this happens when a directory which the script is calling is 32 bit and the script is looking ...
Victor's user avatar
  • 101
2 votes
0 answers
28 views

How would one craft a dsc that builds a package from multiple upstream source repositories

This is a complex one releated specifically to Debian/Ubuntu packaging (i.e. making .debs). I've got a set of projects that are all currently separate. Using my real project (Jellyfin) here for ...
Joshua Boniface's user avatar
1 vote
1 answer
282 views

Why does Canonical organize Launchpad as separate PPAs for each author, rather than as a single repository?

The popularity of Ubuntu has encouraged many authors to ensure that their applications are distributed as APT packages that function under Ubuntu releases. However, the infrastructure and tools ...
user avatar
1 vote
1 answer
40 views

Number of cores used by snapcraft when building snap

I am using snapcraft to build chromium. I see that it creates a VM with Multipass. $ snapcraft Support for 'multipass' needs to be set up. Would you like to do it now? [y/N]: Y ... multipass 1.10.1 ...
Bram's user avatar
  • 1,999
1 vote
1 answer
95 views

How do I see which kernel patches are included in an Ubuntu kernel image?

When I search for the kernel images on either Launchpad or the Ubuntu Package Library, the kernel changelogs only show something like: linux-meta (5.15.0.47.47) jammy; urgency=medium * Bump ABI 5....
Artur Meinild's user avatar
1 vote
0 answers
162 views

Packaging New Software on Ubuntu 22.04 LTS

My goal is to learn the correct and current process for packaging software on Ubuntu 22.04 LTS. I am following the Packaging guide for Ubuntu. The documentation section "Starting a Package" (...
Utkonos's user avatar
  • 123
1 vote
1 answer
423 views

Launchpad PPA: " dh_install: warning: Cannot find (any matches for) "=>" (tried in ., debian/tmp)" while building package with dh-exec

I'm working on moving some of my packaging routines into CI workflows to save myself some time when releasing new versions of my app. However, I've been running into a weird issue with Launchpad that ...
JackMacWindows's user avatar
9 votes
1 answer
1k views

Do Ubuntu releases "pin" a specific Python minor version (e.g. 3.9)?

I'm curious if Ubuntu "pins" minor Python versions for each of its releases. Looking at the package details for python3 in Focal, compared to other LTS releases, e.g. Bionic seems to be ...
Mattwmaster58's user avatar
0 votes
1 answer
130 views

Are all shared libraries contained in packages whose name begin with "lib"?

So do soname bumps happen in packages whose name start by "lib" only? Debian policy tells about run-time shared libraries: Normally, the run-time shared library and its SONAME symlink ...
jarno's user avatar
  • 5,147
1 vote
2 answers
316 views

How can I make debhelper honor parallel=n?

I'm trying to make a Debian package for a cmake project that, in single-threaded mode, takes 3 hours to compile. I'm trying to get a parallel build, but failing. I've tried setting parallel=4 in my ...
Dan's user avatar
  • 333
2 votes
0 answers
119 views

Build deb package with more recent cmake on launchpad

I created a library that I'd like to share via deb packages in a ppa. I'd like to support from ubuntu 20.04 but I need a more recent version of cmake to build the library, and I'm wondering what would ...
RandomPrototypes's user avatar
1 vote
1 answer
63 views

How would I convert a cmake kde package to a deb source format

So I want to convert the package plank-player to Debian source to be easily compiled, the package uses CMake. Note I do not know what else to put in here so yay if your info ask
lnee's user avatar
  • 771
0 votes
1 answer
520 views

Are there common scripts one can use in its postinst, postrm, etc.?

I'm working on many separate projects each of which comes with a separate Debian package for Ubuntu. For all of the projects including a service, I end up doing similar things in their preinst, ...
Alexis Wilke's user avatar
  • 2,592
3 votes
1 answer
346 views

build deb package that uninstall another package in case of remove or purge

i try to build an package, which can uninstall another package, if my package should be uninstall. I have tryed the "Depends" and the "Pre-Depends" policy in the control file. But ...
NETFLOX's user avatar
  • 125
2 votes
0 answers
186 views

Set default application for mime type on deb file

I create a deb package using dpkg-deb on Ubuntu 20.04, in myApp.desktop I added a MimeType=text/plain;, but is-it possible to set myApp to open by default the file of mime type text/plain ? I need it ...
pol9595's user avatar
  • 21
0 votes
0 answers
173 views

Building linux-tools deb produces empty binary packages

I'm trying to build the linux-tools-generic package on Ubuntu Impish (i.e. 21.10). I am trying to follow the guides I can find (e.g. this one), so the workflow looks something like this: Set up by ...
Inductiveload's user avatar
1 vote
1 answer
53 views

Making deb package for a few commands

I want to make a package to execute a few commands. The first option I considered was making a postinst file. But it seems that thus would be executed after the package is installed, so if that script ...
Aymen Sekhri's user avatar
1 vote
1 answer
97 views

Can I make my own .deb's that modify files created by other .debs?

For example, I'd like all the Ubuntu Desktops that I deploy to have some customization's to the settings found in /usr/share/glib-2.0/schemas/, but if i edit those files, and then do apt update &&...
Lucas Krupinski's user avatar
1 vote
1 answer
779 views

After extracting an AppImage and making some changes how to build the AppImage again?

I have downloaded a software as an AppImage then I have extracted it as follows: ./softwareName.AppImage --appimage-extract # The result is a directory: squashfs-root I have made some changes to the ...
Amazigh_05's user avatar
2 votes
1 answer
170 views

What is the official Debian/Ubuntu way to install new configuration files in user directories?

I'm creating a package which includes some default settings for users. Things that generally appear under ~/.<some-name> or ~/.config/<app>/<some>.conf and similar files. In most ...
Alexis Wilke's user avatar
  • 2,592
3 votes
2 answers
389 views

How does ubuntu manage packages?

A noob here. I really want to learn or at least have some ideas on how software is packaged in Ubuntu. Is it compiled and packaged by the package author? Or is it compiled by Ubuntu developers? How do ...
Amazigh_05's user avatar
1 vote
0 answers
57 views

Debian rules files determine init

I want to modify the gdm3 package. I need a ifeq condition in the rules file, which should check whether systemd is installed. If systemd is the init system, then different build options are used. I ...
Count_Omega's user avatar
0 votes
0 answers
30 views

Help creating source packages for launchpad [duplicate]

I want to upload the first version of my app to launchpad. Launchpad requires a source package of the app. My app is written in C, it compiles with gcc and generates one binary. How can I create a ...
td211's user avatar
  • 363
5 votes
1 answer
221 views

Is there a debian package for the python module PyGLM?

I am trying to build a software in Launchpad, but I get the error ModuleNotFoundError: No module named 'glm' I found https://pypi.org/project/PyGLM/ but I could not find any package titled python3-...
Archisman Panigrahi's user avatar
1 vote
0 answers
36 views

What is this error "brz: ERROR: TypeError: a bytes-like object is required, not 'str'"?

I am following this tutorial: https://packaging.ubuntu.com/html/packaging-new-software.html to create an ubuntu package. When it comes to bzr dh-make hello 2.10 hello-2.10.tar.gz I translate it to my ...
yves Baumes's user avatar
1 vote
1 answer
155 views

`bzr builddeb -- -us -uc` fails

[PS: What I really want to achieave here is learn how to package new software] I was following the instruction in https://packaging.ubuntu.com/html/packaging-new-software.html#building-the-package. ...
Fangzhen Song's user avatar
-2 votes
1 answer
2k views

unable to install VS code software [duplicate]

E: Unable to locate package vscode.deb E: Couldn't find any package by glob 'vscode.deb'
Sourabh Jadhav's user avatar
0 votes
0 answers
90 views

How to install wasabi wallet on armhf architecture

How to create and install wasabi wallet on armhf architecture? Is it possible to create it from its GitHub repository. If so, How?
user487583's user avatar
6 votes
3 answers
2k views

How to install Cozy Audiobook Player in Ubuntu 20.04 without Flatpak

I want to create a .deb file for Cozy from its GitHub repository. How do I make it? I don't want to use the Flathub version. I'm on Ubuntu 20.04.
yaa__'s user avatar
  • 615
2 votes
1 answer
478 views

brz: ERROR: unknown command "dh-make"

I'm trying to build a deb according to the https://packaging.ubuntu.com/html/packaging-new-software.html Everything was working 6 months ago. Now when I execute: bzr dh-make hello 2.10 hello-2.10.tar....
truf's user avatar
  • 161
2 votes
1 answer
2k views

How to create your own Linux package from scratch? [duplicate]

How do you create your own package in Linux, just like cd, ls, or any third party package? All I know is how to create a .sh file, write a script in it and execute it using: bash file_name But in ...
Tejas Magade's user avatar
1 vote
2 answers
69 views

Copying debian directory from another branch to build in Launchpad

I am trying to build Cozy Audiobook in launchpad. I have the imported the source branch (master) from GitHub, and a there is a different branch (deb-packaging-juno) containing the debian/ directory. ...
Archisman Panigrahi's user avatar
2 votes
1 answer
955 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=...
Ivan Prysyazhnyk's user avatar
1 vote
0 answers
78 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 ...
NickBroon's user avatar
  • 111
9 votes
1 answer
6k views

What creates the file /var/run/reboot-required

Does the file /var/run/reboot-required ONLY occur from a kernel update, or can a developer of a software package decide herself if she wants it to be created, if desired? The following link explain ...
user1098490's user avatar
3 votes
1 answer
501 views

Creating a Debian package for a Qt application built using CMake

I would like to create a .deb installation package for a GUI based Qt5 application. Most of the links available for this problem are pretty old, so I'm curious if there are more up-to-date solutions ...
Alex Baum's user avatar
1 vote
0 answers
66 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
areslee's user avatar
  • 11
1 vote
1 answer
421 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 ...
finalha's user avatar
  • 11
1 vote
0 answers
60 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. ...
rbanffy's user avatar
  • 111
0 votes
0 answers
17 views

When are packages released on packages.ubuntu.com? [duplicate]

I have often observed this: A release of a package has long been made on Github, but if I upgrade it with apt, it is not found. Example: https://github.com/libgeos/geos : They show that 3.9 has ...
Max H. Balsmeier's user avatar
6 votes
2 answers
1k views

DEBIAN or debian in .deb package?

I am experimenting with creating a .deb package and am unsure about the file structure of a package. Is the directory that contains control, changelog, rules, etc supposed to be named DEBIAN or debian?...
Christian Sirolli's user avatar
1 vote
0 answers
30 views

Debian package with dependency to package in unconfigured PPA [duplicate]

I'm creating a debian package primary.deb (custom, home-made package for internal use) that depends on secondary.deb (hosted in external PPA). I'd like the users of primary.deb to not explicitly have ...
Sandro Meier's user avatar
1 vote
1 answer
335 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 ...
N0rbert's user avatar
  • 96.1k
1 vote
0 answers
141 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/...
RhinosF1's user avatar
1 vote
1 answer
119 views

How to install debcargo in Ubuntu? It is in the Debian repositories, but not in Ubuntu [duplicate]

debcargo is a Debian package for packaging rust apps in .deb format. It is available in Debian Buster and above, but I could not find the package in Ubuntu 20.04 and 20.10. Why is the package not ...
Archisman Panigrahi's user avatar
1 vote
1 answer
403 views

Read version of changelog file from variable for debian packaging

I have debian changelog file. The Head of the file is as follows. my-package ($VERSION) UNRELEASED; urgency=low .... When I rebuild the package I need to get the version from the environment variable. ...
Lakindu Akash's user avatar

1
2 3 4 5
15