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
365 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
228 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
131 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
258 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
92 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
521 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
312 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
69 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 ...
1
vote
1answer
42 views

Deb package created using fpm but giving error while depackaging

I created a deb package of https://github.com/manojgudi/sandhi using fpm. The package was successfully created but on de-packaging on another system it gives me the following error : dpkg: warning: ...
1
vote
1answer
90 views

How to create a deb package when upstream developer has not a release a tarball

I want to create a deb package of https://github.com/manojgudi/sandhi. But I cannot find any tarball there. All the tutorials that I came across on the net assume that thier is an upstream tarball ...
1
vote
1answer
75 views

Repackaging an installed application with libraries included

I have a package installed in Ubuntu-13.10, called "GPIV", which is not available for Fedora, which I use in my lab for some unavoidable reasons. But, I want to use the GPIV software on Fedora also. ...
1
vote
1answer
535 views

Install package from ppa with setup.py file

I am writing a python program that I want to upload to a ppa so other people can install it on their machine. Right now I have a setup.py-file that copies the files to their place and installs the ...
7
votes
0answers
473 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: ...
4
votes
0answers
281 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
16 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
21 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
76 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
306 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
71 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
98 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
101 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
50 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
94 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
28 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
88 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
22 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
716 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 ...
1
vote
0answers
400 views

How to write post install script for my debian package

I want to configure my application for the first time soon after I install it. In debian folder of my application generated by dh_make I found postinst.ex. If this is the file I am looking for then ...
0
votes
0answers
26 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
16 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
33 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
19 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
21 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
21 views

How to create a installer package of my software made in Code Blocks

I am an amateur developer, I'm using Ubuntu for like 1 month or so and I want to know how can I create an installer package form my Code Blocks C++ generated release file..
0
votes
0answers
44 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
13 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
26 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
14 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
43 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
10 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
22 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
39 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
242 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
137 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
87 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
182 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) ...
0
votes
0answers
15 views

Looking for some starter help for Ubuntu package building

So far I have followed and understand the Ubuntu Packaging Guide and have skimmed through the Debian Maintainers Guide a bit. My question comes down to making my package outside of the normal ...
0
votes
0answers
33 views

How determinate the main user in Ubuntu from a postinst script?

I'm packaging a slim-theme and I'd like to modify /etc/slim.conf with the theme and the default user so slim just ask the password during login. I suppose most people willing to install a theme for ...