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.

118 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
0answers
356 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
69 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
342 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 ...
3
votes
0answers
339 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
234 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
111 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
346 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 ...
2
votes
1answer
565 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
564 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
394 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
220 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
80 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
126 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
1answer
791 views

Can I use a Debian package build environment to build Ubuntu packages?

I have a Debian wheezy server that I use to build packages using pbuilder and git-buildpackage. I can currently build packages for Debian sid, wheezy, and squeeze. I would like to use this same ...
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
175 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
0answers
624 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
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
93 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
1answer
874 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
227 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
44 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
74 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
1answer
339 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
271 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
18 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
46 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
214 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
737 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
123 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
280 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
290 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
202 views

Rename Custom deb package

How can I rename a .deb package that can be uploaded to reprepro? For example, I have a deb package example-latest.deb which is the latest version, I have created a custom repository so users can ...
1
vote
0answers
181 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
93 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
124 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 ...
1
vote
0answers
480 views

Creating Debian package: How to create folder using rule file in user/Desktop?

I am packing .deb and I want to create folder on the Desktop I am creating folders using : mkdir -p $(CURDIR)/debian/tmp/usr/share/icons/hicolor/128x128/apps/ mkdir -p $(CURDIR)/debian/uome/username/...
1
vote
0answers
130 views

Process for building OpenStack packages?

I am trying to build OpenStack packages (swift and keytone from Mitaka's release) and all its dependencies for Ubuntu 16.04. By exploring jobs like https://jenkins.qa.ubuntu.com/view/Releases/view/...
1
vote
1answer
364 views

pbuilder-dist dh_build fails to find/install debian/control Depends

I have been following the tutorial 6. Packaging New Software on how to create an ubuntu/debian package. I have successfully managed the hello example, but I have been having some problems with my own ...
1
vote
1answer
33 views

How to provide more up-to-date versions of existing Ubuntu software for a lower version?

Concretely, I'd like to provide a version of add-apt-repository with the --enable-sources option for Ubuntu 12.04 which is used by the travis-ci.org CI service, but I'm looking for a generic solution. ...
1
vote
0answers
35 views

Create snap that has all built applications exposed

I am building a snap that has a package that build 7 tools in the /usr/local/bin and /usr/local/sbin and would like to expose all of them. Is there a way to wildcard the the app command? I have done ...
1
vote
1answer
95 views

How do I write a rules file for Blockify?

There are no Debian packages available for the Blockify ad-muter for Spotify and I would like to build one. I have created copyright, compat, and all other Debian package files for it, except a ...
1
vote
1answer
900 views

Getting application dependencies for creating snap package

I intended to create universal installer for distributing my qt5-based application on different Linux distributions. Currently I support building installation .deb packages than can be used on Ubuntu ...
1
vote
0answers
108 views

What files to upload when submitting a debian package to Ubuntu Store

I'm going to submit my debian package to Ubuntu Store. When I submit my app there is a link "See What am I expected to upload?" that goes to http://developer.ubuntu.com/publish/my-apps-packages/ that ...