In this context, packaging refers to the creation and maintenance of Debian 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.

learn more… | top users | synonyms

3
votes
1answer
393 views

How do I correctly bump the version number when building a kernel package from git?

When building a patched kernel from Ubuntu kernel git repositories how do I change the version numbers so that the resulting kernel package has the following properties: Installs files in /boot/ ...
3
votes
1answer
234 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
171 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
1answer
321 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 ...
2
votes
1answer
98 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
1answer
571 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
334 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 ...
11
votes
0answers
543 views

Confused about building OpenStack Packages?

I found OpenStack build task on Ubuntu QA site, but I am a little confused about the build steps. Here's the link for build steps: ...
5
votes
0answers
336 views

How to add icon and screenshot for my app .deb package to see it in Ubuntu Software Center?

I created a .deb package of application by myself and I want to add to it icon and screenshot to visualize it in Application Manager such as Ubuntu Software Center. When I launch my package by ...
2
votes
0answers
19 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
17 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
26 views

What does this dput message mean?

I uploaded a new package to a PPA (the PPA contains no reference of any uploads of this package in the past), and dput output this curious message: Package includes an .orig.tar.gz file although ...
2
votes
0answers
87 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
39 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 ...
2
votes
0answers
328 views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that ...
2
votes
0answers
75 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
11 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
52 views

How do I repackage a .deb for Ubuntu Snappy?

// , I want to convert some Ubuntu software in .deb, specifically guake, to packages for Ubuntu Snappy*. According to the documentation on the Ubuntu dev tools, All metadata lives in ...
1
vote
0answers
124 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
121 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
58 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
111 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
29 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
92 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
24 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
839 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 ...
0
votes
0answers
15 views

How do i manage metapacket architecture?

I'm building a debian package compose only of bash/perl script. Those scripts aim to interact with an architecture specific program (amd64) and are completely useless without this program. On debian ...
0
votes
0answers
10 views

How does Click/Snappy solve dependency issues?

There is a bit of confusion surrounding click and snappy. For one, I understand that there are certain packages that are not allowed to be shared due to app-armor. For example, if I write a Qt ...
0
votes
0answers
11 views

Authenticated Packages for Flocker

The current installation instructions for Flocker on Ubuntu 14.04 state that one should run: sudo apt-get update sudo apt-get -y install apt-transport-https software-properties-common sudo ...
0
votes
0answers
11 views

“Unable to satisfy dependencies” error with self-built .deb package

I have built a .deb package from source, however I get the error Unable to satisfy dependencies when attempting to install it. I think this is due to putting Dependencies: none in the Debian control ...
0
votes
0answers
65 views

Copy directory on destination machine during .deb installation in Ubuntu 14.04, 64 bit

I just want to copy directory (which contains some files) on destination machine during .deb installation at path /opt/myProjectName in Ubuntu 14.04, 64 bit. Right now I am successfully able to ...
0
votes
0answers
11 views

Problem compiling with QT4 libraries in pbuilder

I am having trouble getting pbuilder or launchpad to build a package that uses the QT4 libraries. The build script that I am using is below ( I didn't write it ). It compiles fine on a vanilla ...
0
votes
0answers
33 views

Prompt the user to overwrite/compare config file own repo/package

I created my own repository so I can provide a newer version of a package than the one the Ubuntu repository currently holds. I'm using reprepro and fpm to create the .deb package. The issue that I'm ...
0
votes
0answers
28 views

Change Installation Directory when installing or creating deb package from tar.gz source

If I have a tar.gz to install from source, or I want to create a deb package from that tar.gz to share, how do I change the installation directory the executable will be installed to?
0
votes
0answers
63 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 ...
0
votes
0answers
21 views

Packaging an app that uses autotools

Hopefully someone can help me, I maintain a ppa and lately I've been trying to package a few apps which utilize autotools in their source. I've tried various different configurations in my debian ...
0
votes
0answers
27 views

libboost1.48-dev dependency for Precise builds on launchpad

I am attempting to build a package on Launchpad which requires the minimum version of Boost to be 1.48. Due to the somewhat complicated setup of boost in Precise (default is 1.46.1 but 1.48 is ...
0
votes
0answers
66 views

Can't compile GTK-Parasite

I need some help compiling GTK-Parasite and getting it to work . I get some errors in terminal like "/usr/bin/python: can't open file './python-config.py'" I tried using ./autogen.sh --with-gtk=3.0 ...
0
votes
0answers
17 views

Merge conflicts when updating package with “bzr merge-upstream”

I've been trying to update an ubuntu package. The steps I've followed are: bzr branch lp:ubuntu/libwebsockets cd libwebsockets bzr merge-upstream bzr commit -m 'New upstream release' The next step ...
0
votes
0answers
28 views

Debian: Remove files from a source package

There exist a dh_install command who reads install, pkg.install and install additional files. Does exist something similar for removing files who are installed by upstream sources but I don't want to ...
0
votes
0answers
17 views

License does not appear when packaging for Debian

I wrote a software for Ubuntu and package it in a .deb file. When I try to open it the license does not appear. In my copyright file under the debian directory I added a copyright file where I simply ...
0
votes
0answers
53 views

How to build .deb package with ubuntu-sdk

How can i build a .deb package with ubuntu-sdk? I don't want to publish to the ubuntu software center, only need a .deb package for my Ubuntu-SDK/QT Creator project. Thanks
0
votes
0answers
15 views

Ask whether or not install a cronjob in an ubuntu package

I have a package who install some cronjobs to /etc/cron.d, it uses dh_installcron to do so, now I'd like to introduce some questions during the installation phase to determinate whether or not the ...
0
votes
0answers
26 views

dpkg-gensymbols: Completely overwrites libfoo.symbols

I currently try to package a library. However during the build, dpkg-gensymbols tries to completely overwrite my debian/libfoo0.symbols file: dpkg-gensymbols: warning: debian/libfoo0/DEBIAN/symbols ...
0
votes
0answers
55 views

Error while building deb package

I am getting the following error on building the deb package. - dpkg-buildpackage -rfakeroot -us -uc Error- 96% tests passed, 6 tests failed out of 166 Total Test time (real) = 314.38 sec ...
0
votes
0answers
303 views

how to install tracegraph in ubuntu 14.04

my ns2 is working properly and Nam also but can't show graph i have downloaded the tar trace graph but when i go to install ./tracegraph it give the following error how do i correct this?????? ...
0
votes
0answers
143 views

After creating a .deb: dpkg:warning while removing, directory /usr/local/bin not empty so not removed

I have created a package of zsh 5.0.7 from sources and now I can install it successfully but when I try to remove it I get this: $ sudo dpkg -i zsh_5.0.7_amd64.deb Selecting previously unselected ...
0
votes
0answers
94 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
0
votes
0answers
16 views

Publishing free proprietary app without English UI in Software Center

My app has UI only in local language, non-English. Could it still be published in Software Center? And if so, do I need a description in English?
0
votes
0answers
232 views

Depending on postgresql-plpython for every installed version of postgresql

I'm working on a project which gets installed as an Ubuntu package. This is part of the code for generating the database (modified): CREATE EXTENSION plpythonu; CREATE FUNCTION foo (str text) ...