Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

4
votes
1answer
1k 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
1answer
343 views

How to setup PYTHONPATH for a snap package?

I'm trying to snap package a non-pure python project. I used python plugin with custom build/install scripts. This project contains 2 python packages that are required for desktop app: alfanous (API)...
3
votes
1answer
946 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
55 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
1answer
275 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
254 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
173 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
71 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 (>= ...
3
votes
0answers
76 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 ...
2
votes
0answers
82 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 ...
2
votes
0answers
374 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
36 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
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
0answers
335 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
0answers
85 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
25 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
263 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
0answers
175 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
51 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
125 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
64 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
69 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
225 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
111 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
0answers
272 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("...
1
vote
0answers
31 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
0answers
83 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
59 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
243 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
125 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
552 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
77 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
0answers
259 views

How to cross compile the qtmultimedia-opensource-src for armhf?

Repost from https://answers.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+question/264619 Cross I can't figure out how to build it with cross compiler (on trusty-amd64 for utopic-armhf):...
1
vote
0answers
853 views

Building deb package gives fakeroot debian/rules clean gave error exit status 2

I am trying to create my first deb package of https://github.com/manojgudi/sandhi. After this command - dpkg-buildpackage -rfakeroot it stops with the following error - dpkg-shlibdeps: error: no ...
1
vote
0answers
340 views

Publish Java Swing Application on Ubuntu Software Center

I have installed Ubuntu 14.04 on a VirtualBox in Windows 8.1 and now I want to install Ubuntu SDK in it using the following commands: $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa $ sudo apt-get ...
1
vote
0answers
77 views

Qt-creator publish tab missing click part

I am trying step by step to write some simple tutorial Ubuntu apps using qt-creator. First I've chosen HTML5 App then after writing some hello code or even after doing nothing I've tried to create a ...
1
vote
0answers
368 views

init script of debian package not working correcly in different computers in Ubuntu 12.04

I created a Debian single binary package (.deb) for a software project to install the application as a service in ubuntu. dpkg --install package installation is successful in the computer I used to ...
1
vote
0answers
43 views

creating debian packages for Mozilla Products

I am trying to create a Debian Package for Boot-to-Gecko desktop client, I have no prior experience in Debian packaging except the test cases mentioned in packagers guide and other places, I have ...
1
vote
0answers
140 views

What is a good workflow to develop/test/release packages via apt repositories?

We are currently looking for a workflow to manage Ubuntu packages and releases within apt repositories. Until now our small team did the development in git. One occasionally used the master branch to ...
1
vote
0answers
62 views

Change install path in Gambas

I am writing an application in Gambas for inclusion in the software center in Ubuntu. I just got told that the only thing missing in my application, is that it should install into /opt/whatever. ...
1
vote
0answers
44 views

Are USC applications allowed to install .desktop files?

Ubuntu's official site for developers says: Technical requirements: In order for your application to be distributed in the Software Centre it must: Be in one, self-contained directory when ...
0
votes
0answers
20 views

Create snap of .deb plus ppa dependencies?

I have a proprietary program that runs on 16.04 with an additional ppa for qt5.6. It is the only app that holds me back from updating to 18.04, so my idea was to create a snap package including the ....
0
votes
0answers
39 views

How to make a snap package from a python project without setup.py?

Suppose, there is only one program.py, or 2. there are a few files and an init.py executes the program. How to turn it into a snap package? This guide assumes there is a setup.py.
0
votes
0answers
156 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 ...
0
votes
0answers
44 views

build gcc for amd64 without the i386 support

I have old software that only compiles with gcc-4.6, which is no longer in Ubuntu repo. So I found the Ubuntu gcc-4.6 source packages and try to rebuild. However, I run into problems because the gcc-...
0
votes
0answers
52 views

Retain config files during upgrade

I'm trying to package up my application into a .deb file and it works. However; upon upgrading my old config files get overwritten. Based on the following diagram, I was thinking about doing some ...
0
votes
0answers
255 views

java.sql.SQLException: Opening db:'DB-NAME.db' : Permission denied

I've developed a Java application using Netbeans IDE 8.2 on Ubuntu 14. I tried to package it by following instructions in this tutorial, but it is about NetBeans 7.4 native packaging in Windows. I ...
0
votes
0answers
26 views

Targeting different releases when creating binary .debs

I am building .deb binary packages on ubuntu 14.04 but I want to target different releases including 14.04, 16.04 and 17.04. Is it possible to build a binary package on ubuntu 14.04 that targets a ...
0
votes
0answers
52 views

Getting the debian source from java maven projejct

I have an open source project which was built in Java maven. In order to build a debian package a bebian source files are required as tarballs. How I can get those files from java maven?. I would ...
0
votes
0answers
198 views

Snap yaml file ; Icon and Command

I am not a computer specialist an my knowledge of informatics is very limited. So, though my project has many code and data files it is not conceptually more complex than the usual "Hello word" ...