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.

Filter by
Sorted by
Tagged with
2
votes
1answer
94 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 ...
1
vote
2answers
32 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. ...
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=...
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 ...
3
votes
1answer
145 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 ...
0
votes
0answers
57 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 ...
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. ...
0
votes
0answers
45 views

pbuilder-dist and github submodules: Could not resolve host: github.com

I'm using submodule in my github project (link to another project in a subfolder). As github doesn't include submodule sources in Releases I would like these sources to be automatically downloaded ...
0
votes
0answers
20 views

How can I get a Dart application on my PPA

I have written a application in the Dart programming language, and I want to upload it to my PPA. However, Dart is not in the Ubuntu repos, so I cant build my app on the PPA build servers. How can I ...
0
votes
0answers
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 ...
4
votes
2answers
271 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?...
1
vote
0answers
28 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 ...
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
1answer
54 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 ...
1
vote
1answer
52 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. ...
1
vote
1answer
66 views

Help me update the old rtirq-init script for Ubuntu?

rtirq-init is an important package for low latency audio system configuration. The current version has a 2021 version and regular updates: https://www.rncbc.org/drupal/node/2163 Problem 1. the version ...
2
votes
1answer
52 views

How to manage translations of help pages in debian packaging?

I am trying to create debian package for an upstream source (which has not been debian packaged yet), and want to know if help pages translated in a new locale can be automatically configured in the ....
0
votes
0answers
91 views

Can I get nativefier to produce a .deb?

On macOS and Windows, the Electron JS app creator script nativefier is able to wrap a website into a .dmg or .exe. However, on Ubuntu, the nativefier script produces a big folder where you have to ...
0
votes
2answers
61 views

Attempt to package library results in package with no binary

I am new to packaging and I'm trying to package a library that one of my programs uses. The library is called Plytapus and it's used by the PerfectTIN program. You can find source code for both of ...
1
vote
1answer
132 views

How to build SDL2 from source and making a debian package and install the debian package?

I want to build SDL2 from source so I can use a newer version, that prefers dlopen instead of linking to libraries like the package that comes from ubuntu package manager, but also because I want to ...
0
votes
0answers
129 views

Why isn't NVIDIA Linux modules part of the NVIDIA driver

I noticed that I had to manually install a linux-modules-nvidia-* package, and it doesn't come bundled with NVIDIA drivers. Why is that?
0
votes
0answers
161 views

Error creating the package: cannot create directory ‘/opt/simplest_studio’

I trying to create a .deb package. Created the control and rules files, did everything, as it was said in the instructions and after a ten thousandth attempt errors still pop up. The $(MAKE) command ...
0
votes
1answer
849 views

Ubuntu 20.04 no longer contains font Noto Sans Syriac Eastern

In Ubuntu 18.04, the package fonts-noto-unhinted contained the font Noto Sans Syriac Eastern, i.e. /usr/share/fonts/truetype/noto/NotoSansSyriacEastern-Regular.ttf. However, in Ubuntu 20.04, no ...
0
votes
0answers
89 views

Cordova Electron Builder Icon Packaged Wrong

When building a Cordova app for Electron on Linux, the icon file in platforms/electron/build-res has the improper name installer.png. (The Linux configuration page says The icon filename must contain ...
0
votes
1answer
449 views

Debian package builds in my computer, but fails to build in Launchpad and pbuilder - “msgfmt: cannot locate ITS rules”

I made a debian package for Blanket, and tried to build it with Launchpad recipe. While it builds successfully in my computer (Xubuntu 20.04), it fails to build for focal in Launchpad. Here is the ...
2
votes
1answer
79 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
52 views

How to package minimized JS files of an webapp in a debian package?

Usually JS files in Webapps are used in a minimized form (e.g. jquery.min.js), and lintian treats such files with very long lines as binaries. Usually these minimized JS files are not written by the ...
2
votes
1answer
99 views

How to specify the current kernel's header in the debian/control file?

I am trying to modify this debian source package which requires the the user to manually install the current Linux kernel's header (with sudo apt install linux-headers-$(uname -r) before installing ...
1
vote
1answer
43 views

How did quickly run work to run a software from source?

quickly used to be a very convenient software which could be used to debian package a new software in minutes, but it got discontinued. I have some old python code packaged with quickly, which I have ...
2
votes
1answer
1k views

Launchpad builderror - Can't locate Debian/Debhelper/Sequence/python3.pm

I am getting the following error while trying to package a source file using a Launchpad recipe. However, I can successfully build the package in my machine (running 18.04) dh: error: unable to load ...
0
votes
1answer
63 views

What are usable characters are for package names?

For example can we use [.+_,*] in the name? Would appreciate a link to documentation. I can't find any that specify a rule.
0
votes
0answers
44 views

What is the best strategy in choosing between the various package types? [duplicate]

What is your strategy in picking between appimage, snaps, flatpak or anything else ? Does it matter with the type of app or do you just devote yourself to one packaging system entirely ? My first ...
2
votes
1answer
43 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 ...
1
vote
1answer
35 views

Packaging: Enable universe from an Ubuntu .deb package

I'm constructing a debian .deb package for my application and distributing it through a PPA. If someone follows the PPA instructions verbatim, they get an error message stating that "Some ...
0
votes
0answers
24 views

Don't find site-packages after PC formatting

I don't find the path : '/usr/local/lib/python2.7/site-packages' and '/usr/local/lib/python3.5/site-packages' Does it normal or not? If not, could you tell me the reason? And how to fix it? Please ...
0
votes
0answers
21 views

Running git buildpackage (cowbuilder) noninteractivly (avoid sudo prompt)

I would like to automate package builds with gbp buildpackage, however the underlying cowdancer prompts for root permissions to run. While running the entire gbp buildpackage command with elevated ...
0
votes
0answers
59 views

Debian packaging tutorial: how to update Control and Rules files

I am learning Debian packaging for the Ubuntu 18.04 environment. I am able to create a basic package from tarball to Debian package, however I am not able to make sense on what has to be updated in ...
0
votes
0answers
84 views

How do you package a kernel module to be hosted on launchpad with GNU GPL v3 and GNU LGPL v3 for the licensing?

I am trying to host a kernel module on launchpad that works with a userspace daemon. I was able to package the daemon and upload it to a ppa, but trying to follow the same process, I ran into a ...
0
votes
0answers
68 views

Share debian package maintainer scripts and conffiles from existing package to a new package

I have creating two variation of debian packages for python2 and python3. I already have com.python2.package1 created with all of it is maintainer scripts. Now I am try to add com.python3.package2 so ...
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....
0
votes
1answer
136 views

How to rename a package while building in Launchpad?

Is it possible for a Launchpad packaging recipe to rename a package (from whatever there was in the control file) to something else? Some developers name their packages com.github.username.program to ...
1
vote
1answer
47 views

Is it legal for a package to depend on a development package?

I have a package that needs dpkg-dev to be installed. So I've added it as a dependency and it works as expected, but now I'm wondering whether it is legal practice according to the Debian packaging ...
1
vote
1answer
60 views

Given a package name (e.g. libhdf5-serial-dev_1.8.16+docs-4ubuntu1.1_all.deb), how can I know in which Ubuntu distribution(s) it is available via apt?

Given a package name (e.g., libhdf5-serial-dev_1.8.16+docs-4ubuntu1.1_all.deb), how can I know in which Ubuntu distribution(s) it is available via apt-get (apt-get install libhdf5-serial-dev=1.8.16+...
1
vote
1answer
108 views

Upload error in Launchpad - source file already exists

DEBUG Considering changefile 73927/ubuntu/brightness-controller_2.3.4-0~202004250741~ubuntu20.04.1_source.changes DEBUG Finding fresh policy INFO Processing upload brightness-controller_2.3.4-0~...
0
votes
1answer
149 views

Conventional place to install additional files needed in my DEB package?

I made myself a culture and understood the basics to build a DEB package of my project. What is not clear to me (and which until now in the guides that I have followed has never been specified to me) ...
0
votes
1answer
268 views

How to customise both choices and description of a debconf question?

I'm currently working on a package script where I need to provide customised choices and also wish to provide an extended description based on those choices. I've successfully modified a Linux ...
2
votes
1answer
3k views

Collecting package metadata (current_repodata.json): failed NotWritableError: The current user does not have write permissions to a required path

When i am trying to install any library such as pandas and even when i tried to install clean package using conda install anaconda-clean. it gives an error : Collecting package metadata (...

1
2 3 4 5
14