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
1answer
122 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
43 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 ...
0
votes
0answers
16 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
0
votes
0answers
31 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
48 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
40 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
241 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
45 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 ...
0
votes
0answers
85 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
53 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 ...
0
votes
0answers
28 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. ...
0
votes
0answers
42 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
78 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
56 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
120 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
104 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
151 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
727 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
82 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
425 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
73 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
48 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
89 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 ...
1
vote
1answer
900 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
52 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
37 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
53 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
82 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
67 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 ...
0
votes
0answers
41 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
123 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 ...
0
votes
0answers
31 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
58 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
97 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
251 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
2k 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
vote
1answer
411 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 ...
4
votes
1answer
195 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, ...
1
vote
2answers
171 views

Are Ubuntu Server and Desktop configured/compiled differently?

I am considering to use Ubuntu Server for a very low-end x86_64 machine. I am wondering what's the difference, and found this: difference between ubuntu server, minimal, and desktop I still have a ...

1
2 3 4 5
14