Skip to main content
Share Your Experience: Take the 2024 Developer 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.

Filter by
Sorted by
Tagged with
-3 votes
0 answers
44 views

Hangover wine source code only around 4mb?? How to package hangover wine source code [closed]

I was attempting to package hangover wine 0.6.5 with alien. It packaged it, but, it only was around 4mb. the source code itself was also only 4mb. Can someone tell me why??? I've checked the internet ...
MrForg's user avatar
  • 1
1 vote
0 answers
30 views

How to create an AppImage of a Python module that is developed in `pipenv`?

How do I create an AppImage of a Python module that is packaged by pipenv? I came across Converting Python applications packaged with pip. But I have not figured out how apply it to pipenv. I have the ...
Sun Bear's user avatar
  • 2,362
2 votes
1 answer
623 views

Debian package version comparing explanation

I'm a bit confused about the Debian package version orders. Take a look at the following two Debian package versions, how come the first is <= than the second? 0-emacs-29.1.90~202401142128~...
xpt's user avatar
  • 1,055
-2 votes
1 answer
85 views

Is it possible to add an apt repository before the installer check for dependencies availability? [duplicate]

Is it possible to add an apt repository before the installer check for dependencies availability? I want to add append a deb software repository because the repository contains what's listed in my ...
Michaelzh's user avatar
0 votes
0 answers
78 views

When building package with debuild, I'm unable to force make to look into certain directories for *.h files

What I'm trying to do is to build a deb package with debuild command, given I have provided all the necessary files like debian/control, debian/rules, debian/changelog etc... When trying to run ...
Sokolval's user avatar
3 votes
1 answer
426 views

When installing, command in `postinst` always results in `$?` = `0`

I have a postinst script in my debian package: #!/bin/bash oqm-config -g system.hostname RESULT="$?" if [ "$RESULT" -eq 1 ]; then oqm-config -s system.hostname $(hostname).local ...
Snappawapa's user avatar
0 votes
1 answer
38 views

How to pbuilder build only certain .deb pacakges

So when I do a pbuilder build *.dsc, it builds every package in the dsc package list. Is it safe to edit the .dsc file's package list to contain only the desired packages. Or is there a way to be able ...
Levi Uzodike's user avatar
-2 votes
1 answer
485 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
283 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
315 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
37 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
4k 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
63 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
3 votes
2 answers
336 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
111 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
  • 2,541
2 votes
1 answer
301 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
2 votes
0 answers
365 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
  • 169
1 vote
1 answer
1k 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
2k 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
389 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,640
1 vote
2 answers
621 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
  • 363
2 votes
0 answers
165 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
113 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
  • 814
0 votes
1 answer
826 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,727
3 votes
1 answer
453 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
316 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
261 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 ...
diwhyyyyy's user avatar
  • 101
1 vote
1 answer
96 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
226 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
2 votes
1 answer
2k 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
615 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,727
3 votes
2 answers
431 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
70 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
  • 393
5 votes
1 answer
326 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
41 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
270 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
4k 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
106 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
  • 721
2 votes
1 answer
637 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
  • 191
2 votes
1 answer
6k 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
88 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
1k 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
119 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
10 votes
1 answer
9k 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
4 votes
1 answer
689 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
84 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
561 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
66 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

1
2 3 4 5
15