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
2answers
145 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 ...
0
votes
2answers
19 views

How to set version numbers and package file names via dpkg-buildpackge for automated builds on a build server?

Our build server builds ubuntu packages (*.deb) via dpkg-buildpackage. The server checks out the source code via git and runs the build via make <target>. The source directory contains the ...
3
votes
1answer
244 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
185 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
51 views

How to mark some file in debian package as config?

I want to make my own Debian package, which contains some default config file. I don't want this file to be rewritten after update with dpkg -i. What are the ways to solve my problem?
2
votes
1answer
88 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
68 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
259 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
184 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
67 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
162 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
48 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
59 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
57 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
30 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
56 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
252 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
76 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/ ...
0
votes
1answer
74 views

Export Package [Eclipse]

I am just wondering how do I export a .deb package for Ubuntu Software Centre in Eclipse? I have created an application that runs Python and Webkit now I wish to submit to the Software centre. How do ...
0
votes
1answer
25 views

Can we use svn2cl on launchpad buildbots?

I've done a build bot for doxbox and currently i'm merging a packaging bzr repo - but that repo has the changelog outdated - and i don't want to have to maintain it. I've read dosbox autogenerates ...
0
votes
1answer
35 views

Packaging a header library, header dependencies

When packaging a library A that contains of headers (similar to boost), those headers may have include statements to another header library B in them. Consequently, when building an application with ...
2
votes
0answers
146 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
66 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
257 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
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
69 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

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
19 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
46 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
17 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
331 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
26 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
106 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 ...
1
vote
0answers
214 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 ...
1
vote
0answers
249 views

install dbmail or other e-mail database

I'm starting to use ruby to parse and store e-mails, but don't want to reinvent the wheel. I have a subset of e-mails, all in one account stored locally, which I would like to keep in a database. ...
0
votes
0answers
11 views

Append options to GRUB_CMDLINE_LINUX_DEFAULT without modification on files

I want to add an option to GRUB_CMDLINE_LINUX_DEFAULT without modifying any files on the system. The reason is that I want to apply it by installing a driver package, but currently I haven't found any ...
0
votes
0answers
9 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
16 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
26 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
33 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 ...
0
votes
0answers
265 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
223 views

Bulding packages : ${shlibs:Depends} fails for precise

I'm trying to build a set of small packages using the following scheme: Source tarball turned into bzr repo using bzr dh-make Source package built using dpkg-buildpackage -S -sa Upload source ...
0
votes
0answers
13 views

How to pakcage application in ubuntu sdk?

As the title, Any tutorial? I want to know how to develop applications in ubuntu.
0
votes
0answers
10 views

Can I package application after finish develop in ubuntu SDK?

As the title. I found there is a package option in ubuntu SDK. However, no matter I choose which project type, don't how to use it. Any tips?
0
votes
0answers
11 views

How long does it take to get an package deb application reviewed for Ubuntu?

As the title. I thought a packaged deb application is a well package ubuntu application and it should be approved within a week. Any time line or detailed instruction about a quickest approval. I ...
0
votes
0answers
17 views

dpkg-shlibdeps pthread warnings when packaging for Ubuntu

I am creating a package for Ubuntu. Everything is fine except that I get some warnings from dpkg-shlibdeps related to unresolved symbols in my package (something like: "contains an unresolvable ...
0
votes
0answers
71 views

How to avoid installing custom packages twice on Ubuntu 12.04

I have created a custom packages using dpkg --build . In the DEBIAN dir I have placed all the required files for package installation namely control,preinst,postinst,prerm etc. When I try to ...
0
votes
0answers
47 views

Packaging an application for distribution in Ubuntu Software Center

I am trying to package my app into a .deb file following the tutorial. Everything works fine as far as the application software goes, but I can't figure out how to install the sample data and config ...
0
votes
0answers
79 views

How to specify a control file in dh_gencontrol?

I want to create a specific Debian control file from a template file. So in rules file i put this option to specify my new control file: dh_gencontrol -- "-cdebian/control_new" This file contains ...
0
votes
0answers
85 views

Install Netbeans C++ Ogre project on other Ubuntu Machines

I have a c++ Ogre project developed in Netbeans on Ubuntu and I wish to create an "Installer" for this application and then I would like to install it on other Ubuntu machines including machines ...