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

4
votes
2answers
214 views

What is the correct way to create your own packages for local installation?

I am running an Ubuntu 12.04 LTS server. I currently have an issue where one of my used packages has an annoying bug. Instead of removing it and just building it from source, I want to integrate it ...
2
votes
1answer
38 views

How can I build i386 and amd64 packages on my amd64 laptop using debuild

I would like to be able to build multiple versions (i386 and amd64) of my package that has non trivial dependencies (gtk, etc). My build script uses cmake. At the moment, the command debuild -i -us ...
6
votes
0answers
439 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: ...
0
votes
1answer
9 views

postinst always fails because of debconf

I am having some trouble using debconf for my package. I ask for the mysql pw in the package.config file: . /usr/share/debconf/confmodule db_input high mypkg/mysql_root_pw db_go Then, in postinst, ...
1
vote
1answer
48 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
2answers
20 views

Where are .deb package control files located?

My understanding is that debian based packages have "control files" which specify metadata on how the packages is to be installed, e.g. what dependencies it has etc. How can I view these files for ...
1
vote
1answer
30 views

How can I edit debian/rules?

Im trying to follow the steps described in the solution to this question: Microphone - static background noise suppression And one of the steps is to edit the debian/rules file but it doesnt explain ...
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. ...
0
votes
0answers
14 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?
1
vote
1answer
75 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
38 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: ...
0
votes
0answers
18 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
1answer
21 views

How to upload to a launchpad team PPA?

I have built and signed a package which I now wish to upload to my launchpad team with dput, but every time that I try to upload it I get this email: Rejected: Source/binary (i.e. mixed) uploads are ...
1
vote
1answer
25 views

What is a '.orig.tar.xz' file in packaging?

I have recently started packaging a bash script of mine into a .deb file so that I can upload it to my PPA, and I have noticed a lot of talk about a file which seems to have been created from my ...
0
votes
0answers
7 views

moving to new tag with gbp buildpackage

I'm trying to repackage something that is being maintained in a git repo, and has a now-out-of-date debian package existing. I followed these instructions with the exception of turning off ...
0
votes
0answers
17 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 ...
2
votes
0answers
18 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
1answer
89 views

How to prevent dput from uploading *.orig.tar.gz again?

When I upload a package to archive $ dput ppa:mylaunchpadid/myppa.ppa mypackage1.0-0ubuntu2_source.changes Checking signature on .changes gpg: Signature made ... gpg: Good signature from ... Good ...
1
vote
1answer
41 views

How to easily bump a package for a PPA?

What's the easiest way to bump the version number for a package that shall be uploaded to a Launchpad PPA? For instance, what I do now is that on each new release I unpack the previous ...
0
votes
1answer
37 views

Packaging bash script with dh-make

I have installed dh-make by installing other packages as recommended by this page which depend on it (I am listing all packages which could have installed it as well because I am not certain which one ...
0
votes
0answers
14 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
1answer
19 views

self created .deb package has versioning problems

I did my first steps in creating a PPA, containing a recent fossil version. I unpacked the tarball and ran bzr dh-make fossil 1.32 ../fossil-src-stable.tar.gz on it, editet the debian files till ...
0
votes
0answers
16 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..
1
vote
2answers
25 views

Which Ubuntu package provides the pypi future package?

Which ubuntu package would correspond to the following package at pypi: future (not futures or concurrent.futures) https://pypi.python.org/pypi/future ...
36
votes
2answers
16k views

create a .deb Package from scripts or binaries

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package ...
0
votes
1answer
117 views

Add a new target into rules debian file

I want to add a new target rule in debian/rules and I want it to be executed before dpkg-source --before-build. This new target will generate a control file from a template file. How can I do that?
0
votes
1answer
22 views

PPA build fails only in one distribution and on one architecture

I'm trying to publish a package to my PPA, which builds find on my system, both native and using pbuilder (both trusty and precise). But when I upload it to PPA, the trusty AMD64 build fails for some ...
0
votes
1answer
28 views

Obtain more detailled information about available update package

Could anyone tells me how to obtain more information about available update packages on Ubuntu (build time, registration date etc..) more than what apt-cache show command displays. Cheers.
0
votes
0answers
31 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 ...
1
vote
1answer
17 views

Launchpad Debian Builder Internet Issues

I'm packaging 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: ...
5
votes
1answer
64 views

PPA package: Specify different dependencies for different Ubuntu versions

Let's say I have a PPA package that depends on the libtool executable to build. In Vivid, this executable is provided by the libtool-bin package. For earlier Ubuntu versions, it is provided by the ...
7
votes
4answers
11k views

Compiling source into a DEB package

I have always had a problem installing and removing compiled software, so I have decided I would like to build software from source into a .deb package for easier installation/removal. I would like ...
0
votes
0answers
11 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 ...
3
votes
1answer
96 views

How to replace files in PPA after unsuccessful build?

I uploaded a package to my PPA, but the build failed. I made some corrections to the dependencies list and tried to upload the corrected file. It was rejected with this message: Rejected: File ...
1
vote
1answer
57 views

Where to save Yelp files?

I've written some yelp pages using Mallard. Now I would like to know where to save them correctly in the file system (packaging). The saved Yelp files should be displayed when opening Yelp -> Go ...
0
votes
0answers
24 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 ...
2
votes
2answers
40 views

Dch non-interactive mode

I'm trying to find a way to run dch in non-interactive mode, in order to incorporate the debian/changelog file creation and manipulation within a shell script. It seems that only when running it ...
2
votes
3answers
3k 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? ...
0
votes
0answers
13 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 ...
1
vote
1answer
17 views

How to properly provide license when packaging?

I wrote a BTRSF GUI for Ubuntu and I want to license it with the MIT License.Now that I'm packaging it in a .deb format how and were should I include a copy of the license?
0
votes
1answer
24 views

How to require oracle java when creating a .deb package?

I wrote a small BTRFS GUI in Oracle Java 8. I want to package it but I don't know how to specify that the software needs Oracle Java 8 (JRE) under the Control file.
1
vote
2answers
37 views

In which location are Ubuntu packages installed? [duplicate]

There is an Ubuntu application called remote desktop viewer, I want its location to run in a script, how can I get the package details?
0
votes
2answers
50 views

Is it possible to retire packages that don't stand up to modern usability standards?

What is the Ubuntu process to deprecate and remove packages from repository? I quite often need a user mode FTP server to transfer files to my machine and constantly run over ...
1
vote
0answers
10 views

How to create debian package for a java project? [duplicate]

I have written a small gui for btrfs called TimeTraveler. And export it as .jar file. How do I package it as a .deb file for Ubuntu?
1
vote
0answers
81 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
2answers
43 views

What package conventions are there for ubuntu?

It's hard to describe this question. Let's look at an example: The package blender depends i.e. on blender-data. I looked into both packages. blender contains only the application, a .desktop file ...
0
votes
1answer
19 views

Changing one build option in a package

I want to use the graphviz package on an Ubuntu system, but according to the build log it is configured using --without-gts, whereas I want GTS support to be included (I don't know if there's a reason ...
0
votes
0answers
35 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
1
vote
1answer
83 views

What is the purpose of the package emacs24-common-non-dfsg?

I tried to run C-h r from Emacs, but got error Info file emacs does not exists After googling i found the package emacs24-common-non-dfsg. What is the purpose of this package, and why would I ...
2
votes
1answer
117 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 ...