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

2
votes
1answer
3k views

Build .deb package from source, without installing it

Suppose I have an installer program or source tarball for some program I want to install. (There is no Debian package available.) First I want to create a .deb package out of it, in order to be able ...
11
votes
3answers
281 views

I've filed an ITP bug on bugs.debian.org - now how do I get the package into Ubuntu?

I've written a development library that I would like to include in the Ubuntu archives. From what I understand, the best way to do this is to first get the package into Debian and then request a ...
5
votes
0answers
75 views

How do I package a Unity lens? [duplicate]

I'm new to Ubuntu apps and Launchpad. I've created a Unity lens using Quickly, but I'm stuck on how to deploy it. I have two questions. I can create a .deb file using quickly package, but when I ...
3
votes
1answer
46 views

Redirecting packages when migrating PPAs

I have some packages in a PPA and, now, have created a group PPA. Is there a way to put in a redirect such that anyone installing package foo from ppa:jrhacker/ppa can be redirected to ppa:initech/ppa ...
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 ...
3
votes
1answer
192 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 ...
0
votes
1answer
165 views

convert quilt to native source package

I want to branch an open source package and develop a new branch of package alternatively. The package is in quilt format and need to use dquilt for update but i don't want to use it for my branch ...
2
votes
1answer
94 views

How to create a .deb file just for copying certain icons and one javascript file to particular locations?

Okay,So I have wasted my whole day and still unable to figure out how to do that the easy way.I have been to the debian land and ubuntu packaging land.I have read about equivs and various other ways ...
4
votes
3answers
932 views

always purge on remove in package

I am maintaining a debian package, which includes some config files that are installed under /etc/. Is there a way I can somehow make the package to always automatically --purge itself whenever a user ...
0
votes
2answers
1k views

How to Create Deb Files [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? I have a group of BASH scripts, XML files, etc. The scripts require that some programs already be installed. How do I create a *.deb on ...
4
votes
1answer
296 views

Versioning a package for uploading to PPA

I've a package named Artha which I distribute as source and (deb) binaries for x86 and x86_64 architectures i.e. I've the experience in making deb files. I got quite a few requests for setting up a ...
4
votes
1answer
214 views

Packaging MATLAB (or, more generally, a large binary, proprietary piece of software)

I'm trying to package MATLAB for internal distribution, but this could apply to any piece of software with the same architecture. In fact, I'm packaging multiple releases of MATLAB to be installed ...
1
vote
1answer
206 views

Django 1.4 dependency when packaging a Precise application

I am trying to package a program I wrote that depends on Django 1.4.1 in Ubuntu 12.04. As Django 1.4.1 isn't available in Precise I am wondering if it is best to: Package up Django 1.4.1 and drop ...
1
vote
1answer
246 views

How to adjust symbols-file in a package for a shared lib

I am trying to upgrade ktorrent in my PPA to the latest upstream version. It also requires an updated libktorrent package. It seems libktorrent was changed in incompatible ways and thus results in a ...
5
votes
1answer
315 views

How can I create a .deb file that adds a repository to sources.list.d?

I want to start sharing .deb files that automatically add new repos to an Ubuntu installation (like the ones present in puppetlabs.com). How can I do that?
3
votes
3answers
137 views

How Can Someone With Minimum Programming Experience Publish an App of an Existing Program not found in the Software Centre?

There's a free mathematics software that I would like to see in Ubuntu Software Centre, called, 'Sage.' I have minimal experience in programming, so I'm basically here asking if someone could either ...
1
vote
1answer
117 views

Why does Launchpad act differently with 64- and 32-bit packages?

I'm making Ubuntu packages from the source code of a geology program. I can make deb packages on my PC, and also Launchpad is able to make binary packages for 32-bit OS. I noticed a strange behavior ...
1
vote
1answer
509 views

Building failed because of “Package x11 not found”

I am trying to build an application I am making into launchpad for my PPA, and, while it builds the DEB just fine locally, it fails in launchpad. The build log complains that Project ERROR: Package ...
1
vote
1answer
204 views

How to package closed-source softwares

How to package close source application (proprietary). I know how to package open-source apps using dh_make and pbuilder but using this method others can see my source code. Is there any way for doing ...
4
votes
1answer
612 views

how to resolve all symlinks in a directory?

I'm trying to make a debian package from upstream source code which is not mine. The configure script provided by author makes a lot of symlinks in source directory. They're symlinks to all headers in ...
3
votes
2answers
387 views

How can I prevent dpkg-buildpackage from modifying the modification date of the /debian directory when building a Debian package?

I have set up a working pbuilder toolchain for building Debian packages in i386 and amd64 varieties for Ubuntu. I am using reprepro to manage my own private apt repository and dupload to upload ...
3
votes
1answer
853 views

How to automate the pass phrases when GPG signing dpkg-buildpackage?

I'm using dpkg-buildpackage and I would like to fully automate my scripts, but I cannot find how to GPG sign the packages and automate entering the pass phrases in my Continuous Integration System. I ...
2
votes
1answer
68 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 ...
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 ...
0
votes
2answers
63 views

Packaging and uploading to launchpad is possible from Ubuntu based Linux?

Is it possible to build packages and uploading them to the launchpad through the Ubuntu based Linux operating systems? My intention or requirement behind this question is to have a very light Ubuntu ...
2
votes
1answer
2k views

Purpose of .dir, .install files in packages

When packaging Ubuntu packages, there's always these funny .dir and .install files around. I suppose their purpose is to somehow indicate what files are to be installed, but I'm not so sure about what ...
9
votes
2answers
2k views

How and why to create -dbg, -dev, -doc packages?

I'm writing an Ubuntu package for a package which essentially provides a number of libraries and headers which then be used to build other software. The package also breaks up in smaller subpackages ...
1
vote
1answer
373 views

dpkg -r giving warnings while removing package

I have a custom binary package. I am creating the package from a Makefile . Here is the code for the same : FIREFOX_DIR = /usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384} build: ...
2
votes
1answer
340 views

Packaging with CDBS: Unknown sequence cleanbuilddir

I'm trying to create an Ubuntu package for testing, and stick to the rules given at https://wiki.ubuntu.com/PackagingGuide/Complete. As this is CMake build and I need to adapt the arguments to cmake, ...
1
vote
1answer
121 views

How to obtain .rej file from debuild?

I'm using debuild with some quilt patches provided, and one of them is failing to apply. It says it makes a rejects file - however there is no such file actually made. How can I retrieve to look at it ...
6
votes
3answers
634 views

How do I install a package with aptitude?

I've looked at an aptitude tutorial and read the man page, but I just don't get it. After you launch aptitude, how do you say "install package foo"? Or search for all packages with "foo" in their ...
1
vote
1answer
59 views

How to force Quickly to NOT include a dependency? (Specifically: apport)

My case is this - the quickly-generated application contains some apport code, so quickly inserts python-apport in the dependencies list. I would like the application to be installable and run on ...
0
votes
1answer
215 views

which ppa or repo has libgmime-2.0-2a?

where can I download this package? I've found it in hardy, but it seems to be unavailable. I'm trying to install dbmail from http://debian.nfgd.net/debian : thufir@dur:~$ thufir@dur:~$ sudo ...
0
votes
1answer
829 views

where or how to compile or download libzdb-devel

I'm trying to compile the development library for libzdb, because dbmail requires this dev package to compile. While I've downloaded and compiled the package from libzdb, this is just the regular ...
0
votes
1answer
48 views

can I locally patch the fglrx package that comes from the Ubuntu repositories?

I'm attempting to apt-get install fglrx while runnning a custom kernel, and the process is failing when it tries to compile the kernel module. I found a patch on the net that should take care of my ...
2
votes
1answer
143 views

Quickly, setup.py, long_description - how to make them generate a multi-paragraph description in the debian control file? [duplicate]

Possible Duplicate: How to define multiline long_description in quickly's setup.py? How can I make Quickly convert the long_description in setup.py into several paragraphs in the debian ...
1
vote
2answers
490 views

cowbuilder --create --distribution lucid fails

I'm trying to create a build environment for Lucid, and calling cowbuilder --create --distribution lucid fails with the messages below: Get:1 http://us-east-1.ec2.archive.ubuntu.com lucid Release.gpg ...
1
vote
2answers
2k views

How can I create a simple debian package from binary?

I have been researching debian packaging, but I can't seem to figure out how to package a C# mono application made up of a single executable and a few resource files. Can anyone help me figure out? ...
1
vote
2answers
145 views

Error while making a .deb package with Quickly: setup.py install_egg_info failed

I wrote a little program and now I trying to make a .deb package out of it. When I run quickly --verbose package I get this: quickly --verbose package ...
1
vote
1answer
41 views

quickly package --extras replaces developer email with hostname

After running quickly package --extras for my project, I've noticed that in project_dir/debian the changelog file has my developer email listed as alex@myhostname, instead of my proper email address. ...
3
votes
1answer
296 views

Can I make deb files for documents and other non-binary content?

I would like to create .deb files with no binary content (*.odt files, for example). The idea is to create a file that contains didactic files to learn certain discipline and an automatically package ...
2
votes
1answer
1k views

Packaging a CMake project (libRocket) into a .deb, but build script is in a sub folder

I am trying to build a .deb package for libRocket (http://librocket.com/), but the build script is not in the source root but rather in a subfolder (/Build). See the Github source: ...
0
votes
1answer
169 views

How to create a tar.gz package to upload to your ppa

I have created an application using Qt. I have two folders in the project , one containing the source code and other the binaries, makefile etc. I created an archive , used dh_make etc. and ...
8
votes
3answers
3k views

How do I add a binary file to my existing PPA package

Adding modified or new text files to my PPA package is simple enough: Step 1: apt-get source [foo-package] cd [foo-package] Step 2: add or modify new text files containing the changes Step 3 - ...
5
votes
1answer
2k views

How do I create deb package for Oracle JDK?

How do I create a deb package for Oracle JDK for personal use?
2
votes
1answer
118 views

Change version number in launchpad

While committing package to launchpad through quickly submit, version automatically jumped to current month, that is 12.07. I did try to delete all milestones and re-upload the package. But every ...
0
votes
1answer
96 views

quickly package --extras doesn't produce /opt/extras.ubuntu.com/../share/locale

I'm trying to package an app to /opt, but when installed the app won't run and complains: Traceback (most recent call last): File "/opt/extras.ubuntu.com/drawers/bin/drawers", line 45, in ...
0
votes
2answers
262 views

Launchpad ppa supporting multiple versions of Ubuntu

Is it possible for a launchpad ppa to support multiple Ubuntu versions such as 10.04 and 12.04 when the package itself was built on a 12.04 machine? When trying to add the ppa to a older machine, it ...
2
votes
0answers
48 views

Why does quickly package --extras fail (where quickly package doesn't)? [closed]

When I attempt to use quickly package --verbose --extras on my application I get these errors at the end: sed -i "s|__soundboard_data_directory__ =.*|__soundboard_data_directory__ = ...
2
votes
1answer
70 views

How to set application name when creating .deb, using Quickly

When I open created .deb package , my application name is UNKNOWN . Please help, how to fix it...