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.

107 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
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 ...
3
votes
0answers
278 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 ...
3
votes
0answers
312 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
200 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
95 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
1answer
60 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 ...
3
votes
2answers
318 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 ...
3
votes
1answer
282 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 ...
2
votes
1answer
192 views

What is the detailed process of resolving `${shlibs:Depends}` when creating a Debian package?

My recent work involves a lot of Debian packaging, and I'm using the Debian New Maintainers' Guide as my main reference. What I haven't fully understood is how the ${shlibs:Depends} is resolved into ...
2
votes
0answers
489 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
0answers
351 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
196 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
76 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
106 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
37 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
738 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
169 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
499 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
938 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
866 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
89 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
0answers
15 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
37 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
65 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
472 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
105 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
213 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
117 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
159 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
82 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
94 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
2answers
949 views

How do I create a new application icon?

I'm creating a .deb package for an application (not for public distribution) and want to have an icon for the application for the taskbar, menu, dock, etc. My application's .desktop file has a line to ...
1
vote
0answers
338 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
1answer
570 views

echo-cancel does not work after PulseAudio rebuild

I work with Ubuntu 14.04.5 and faced troubles with rebuilding PulseAudio from source. PulseAudio here is 4.0-0ubuntu11.1, but I need to rebuild it and include recent patch https://patchwork....
1
vote
0answers
123 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
247 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
29 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
33 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
81 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
769 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
97 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 ...
1
vote
0answers
138 views

Add kernel boot parameter from package

I'm creating my own debian package which has to add a kernel boot parameter when installed in order to work properly. The place to have this is GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub. My ...
1
vote
0answers
268 views

Can't Create Debian Package for QT App

I can't create package. I was try to create with this tutorial. Error is when I write the last one command: pdebuild --debbuildopts -sa Errors: parsechangelog/debian: warning: debian/changelog(...
1
vote
0answers
137 views

while making debian package from source i'm seeing the error

While making Debian package I'm seeing the below error. ubuntu@ip-10-232-76-3:/opt/uat/elasticsearch-1.4.4$ sudo dpkg-buildpackage -b -rfakeroot -us -uc dpkg-buildpackage: warning: using a gain-root-...
1
vote
0answers
613 views

xz-utils 5.2.1 on trusty: how to compile and re-package? Or ppa available?

I want to compile and use a newer version of xz-utils, in this case version 5.2 as well as create deb-packages to be distributed on different ubuntu (14.04) machines. The recent changes to xz were ...
1
vote
0answers
106 views

How can I specify a Qmake file during packaging?

I'm trying to package a piece of software that I wrote for Debian/Ubuntu. I've read that dh supports Qmake natively. However, my .pro file is not in the root directory of the source tree, but rather ...
1
vote
2answers
582 views

Untrusted packages warning

When I try to update my system I get following warnings: W: GPG error: http://archive.canonical.com vivid Release: The following signatures couldn't be verified because the public key is not ...