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
317 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
208 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
176 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
82 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
403 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
253 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
732 views

debuild failed at dh_install with cp: cannot stat `debian/tmp//path/to/install/bin/': No such file or directory

I am creating a binary package for local usage by reading http://chat.stackexchange.com/transcript/message/1313226#1313226 chat session. I followed the steps mentioned in the list. My environment: ...
1
vote
1answer
61 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
64 views

What's the easiest way to package files into a deb?

I have a bunch of static web files that change from time to time. Right now I'm syncing my servers up using rsync, but I'd instead like to add scripts to my git repository so that when changes are ...
1
vote
1answer
59 views

Packaging for the Ubuntu Software Center

I have a question about packaging for the Ubuntu Software Center: must the package to upload be a .deb file? If so, how do I create one? I don't use the pygobject API.
0
votes
1answer
20 views

Packaging: /usr/lib vs. /usr/lib/*-linux-gnu

I was building a new version of Spice within an LXC container, mostly for experimentation. However, one strange thing that I encountered was that make install installed libspice-server.so.1.9.0 into ...
0
votes
1answer
25 views

How do I solve dependencies with replacements?

I work on a solution getting a closed-source driver, called EMGD, working on Ubuntu. But there is a problem with the lubuntu-desktop package. It depends on lubuntu-core -> xorg and xorg needs ...
0
votes
1answer
26 views

How do I distribute a CA certificate using a Debian package?

The usual method of adding your own CA certificate to Ubuntu is: cp cert.pem /usr/local/share/ca-certificates update-ca-certificates I'd like to distribute my CA certificate using a Debian package, ...
0
votes
1answer
16 views

Cannot build on launchpad

I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64. Here is the link: https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages Here is the ...
0
votes
1answer
345 views

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

I am trying to build my first .deb package (with ffmpeg sources) and I get some errors. Those are my steps that can be reproduced to get this error: git clone git://source.ffmpeg.org/ffmpeg.git ...
0
votes
1answer
83 views

How to skip installation of a debian package if a file exist in the system?

I'm interesting in avoiding the installation of the content of a debian package when a file is present in the system, eg. /usr/local/bin/token. I'd like than the debian package will look for the ...
0
votes
1answer
62 views

Architecture specific debian package

I have created debian package XYZ. It has control file which look's like Package: XYZ Version: 1.0 Section: kernel Priority: optional Architecture: i386 Depends: Installed-Size: 1024 I just ...
0
votes
1answer
410 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 ...
0
votes
1answer
103 views

Quickly can't package, but raises no errors

I am trying to make a .deb package for my project in quickly. This is what I get: ilya@ilya-laptop:~/Projects/online-translator$ quickly package ...........Ubuntu packaging created in debian/ ...
4
votes
0answers
356 views

Confusing about building OpenStack Packages?

I found OpenStack build task on Ubuntu QA site, but I am a little confusing about the build steps. Here's the link for build steps: ...
2
votes
0answers
55 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
197 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
72 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
38 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
262 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
70 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
9 views

Launchpad Debain Builder Internet Issues

I'm packing a application that curls a file as part of the debian/rules file. It works locally, but on the launchpad Debian package builders I am getting the error: curl: (6) Could not resolve host: ...
1
vote
0answers
25 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
70 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
26 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
75 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
20 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
495 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
359 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 ...
1
vote
0answers
29 views

Can't package my quickly app after editing

I've had a lot of problems packaging my quickly app. After some editing I packaged it sucsesfuly, then I: moved the packaging-files (jotty_0.1_all.deb jotty_0.1.dsc jotty_0.1_i386.changes ...
1
vote
0answers
148 views

Debian package creation for PHP

How to create deb package for PHP code, where code should be installed in a certain dir like /usr/share/phpproject and install a conf file for Apache under sites-available then simlink it to ...
0
votes
0answers
6 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
20 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
30 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
25 views

How to create multiple debian packages using the same debian directory

I am packaging an application in my PC for installation/distribution purposes. I have created the package successfully using dpkg facility in ubuntu 12.04. Now I need to create multiple packages ...
0
votes
0answers
44 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
56 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
42 views

sbuild errors “but it is not going to be installed”

My goal is to cross-build debian package, so I test on something simple - ncurses. I follow this guide consisting of two commands: ...
0
votes
0answers
14 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
101 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
12 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
25 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 ...
0
votes
0answers
36 views

Package rename and version drop

I have a package foo that is currently at version 2.3.0 I'm trying to push the current development version into a ppa for my use. However, upstream the package source foo has been completely merged ...
0
votes
0answers
41 views

Creating a Debian package with external package dependencies

Earlier I have created debian packages successfully, which were simple in their way. But now, I have to create the same for my application, which depends upon external packages. libwebkitgtk-1.0-0 ...