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
2answers
333 views

How to build source package with `pbuilder` for PPA upload?

I am trying to use pbuilder to upload to PPA. Package builds ok with the command: sudo pbuilder build <package>_<version>.dsc But upload fails with error: Source/binary (i.e. mixed) ...
2
votes
1answer
99 views

How can I create a deb from binaries?

I have a few binary files: foo, bar.so, and foo.lnk. I want to make a deb that will extract foo to /usr/share/foo/foo, bar to that same directory, and foo.lnk to /usr/share/applications. I dont want ...
1
vote
0answers
886 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
1answer
78 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
130 views

Backporting Qt 4.8.4: Circular dependencies of qtchooser

I'm trying to backport the latest Qt packages (4.8.4) to Precise, using Launchpad. This worked well for the qt4-x11 packages but now I also need qtchooser which does not exist in 12.04. Trying to ...
1
vote
0answers
543 views

Ubuntu Packaging Guide Tutorial: There seems to be no Makefile in this directory [closed]

I am attempting to package a simple video game for distribution on the Ubuntu Software Center. I have been working through the Ubuntu Packaging Guide Tutorial. I have succeeded in creating my GPG and ...
2
votes
1answer
98 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 ...
6
votes
1answer
350 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 ...
1
vote
1answer
82 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. ...
0
votes
0answers
41 views

I need to build a DEB package which ask and installs other a deb packages [duplicate]

I need create a DEB package which asks me to install some other package to be installed or not. And if yes which version of you want to install. What should be the right place for this, a control ...
3
votes
2answers
183 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 ...
1
vote
2answers
342 views

How to add permissions to files installed by dpkg-buildpackage or debuild

I build a package from my own source using dh_make and dpkg-buildpackage. The install-file in /debian specifies the destinations for the project files. To make the installed program work, they need to ...
2
votes
0answers
94 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 ...
1
vote
1answer
620 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 ...
2
votes
1answer
88 views

Ubuntu packaging : why separate for 32-bit and 64-bit [duplicate]

Why we have to do separate packaging to applications for 32-bit and 64-bit Ubuntu Operating systems.I mean why some applications are making 32-bit and 64-bit separately and why some applications are ...
11
votes
0answers
575 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
0answers
27 views

How to make a .deb package that would add link to a repo to software sources? [duplicate]

I do not need .dsc, .tar.gz, .changes etc. and I can make a .deb package with this command dpkg -b path/to/repo. I just want to know how to make a .deb that would link a repository to "software ...
0
votes
1answer
132 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?
1
vote
1answer
485 views

What is changelog.Debian.gz file during packaging?

while packaging I encountered following error dh_builddeb dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'. dpkg-source -b remotedevicecontroller-1.0 ...
6
votes
2answers
2k views

what is the purpose and role of rules file in debian packaging

I am trying to debian package my C++ application developed with aid of Netbeans 7.3. Here is bit of Makefile of it. APPNAME=remotedevicecontroller install: install config.xml ...
12
votes
1answer
142 views

How to add dependency after submitting a proprietary app to USC?

I submitted my app "Brightness Controller" under proprietary license and it has been published. It contains an executable .py file. But the app depends on python-wxgtk2.8 I wrote it in the comments ...
6
votes
4answers
2k views

How do I extract the package version from debian/changelog?

What's the most robust way to parse a source package's debian/changelog file (or debian/control?) to get the package's version number? Something like: pkgver=$(dpkg-parsechangelog | magic_goes_here) ...
1
vote
1answer
210 views

PyQt App deployment

I'm developing four bioinformatic software's with PyQt. I mostly target Windows OS users but since the programs run without any problems on Ubuntu, I thought to upload them to the USC (I also got ...
1
vote
1answer
51 views

Does anyone offer a for-pay packaging service to generate appropriate packages and put them in a ppa?

We have an application designed to work within ubuntu that has a nest of twisty dependencies, all alike. We've reached the point where we have to create a package for it, and we're finding our ubuntu ...
1
vote
1answer
51 views

What should I upload for submitting a proprietary app to USC?

I have an app ready to be submitted to Ubuntu Software Center. It is open-source and the source code is in Github. But I want to submit it under proprietary license ($0.0 however) as I would not have ...
1
vote
1answer
179 views

Building .deb file: Copy Configurations to User Settings

I'm building a deb file for my application following online tutoria and have no major problem. I can specify file to go to /usr/bin, /usr/lib and many system directories. But there are settings that ...
7
votes
2answers
274 views

How to turn a .py file into a .deb package using quickly?

We have made a .py file that controls brightness of the screen. It has a GUI with slider for controlling and runs when it is double clicked after marking it as executable. But we want to make a .deb ...
0
votes
1answer
88 views

package development tools [duplicate]

I have some source code, I would like to make into Debian packages for Ubuntu. its been quite some times since I made packages, and I am wondering if there are any really great tools out there to help ...
3
votes
1answer
121 views

Workflow with self made packages

I have a folder ~/Packaging where all my public and private packages are in. For example, in the Packaging/think-rotate folder, there is the typical Debian stuff, like so: think-rotate-2.5.2/ ...
3
votes
1answer
411 views

Examples of multiple binary packages

I'm trying to include a preview of the new experimental Gtk+ 3 build of Inkscape in our PPA... I want to compile the upstream source using different compile-time options to generate two different ...
2
votes
1answer
587 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 ...
5
votes
1answer
4k views

where is downloaded package files directory?

need to know where downloaded packages will be saved after updating ? i want to copy the folder of packages , and reinstall Linux and install the packages without downloading them again , so i need ...
1
vote
1answer
77 views

How do I submit a new package to universe?

I've built a package and it is in my PPA here https://launchpad.net/~evarlast/+archive/ppa I searched a little and found this https://wiki.ubuntu.com/MOTU/GettingStarted but I could not find a simple ...
4
votes
1answer
721 views

Packaging nodejs code, how do I prevent lintian from complaining about ./node_modules?

We ran into this problem while packaging some software written in nodejs. Because we can't package each and every dependency separately, we need to ship the node_modules/ directory along with the ...
0
votes
1answer
401 views

Best practice: version numbers for own packages

Recently I've started packaging software with fpm. The public makefiles can be found on bitbucket. But I've a problem with version numbers. When I'm generating a package for e.g. the fish-shell I ...
0
votes
1answer
140 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/ ...
1
vote
0answers
26 views

How to pack a program for easy Ubuntu installations? [duplicate]

//Ubuntu newbie here We have a framework that we need to be able to easy deploy on Ubuntu machines (12.04). Which format should I use? (RPM, deb, something else?) How does one goes on to pack a ...
1
vote
2answers
79 views

Which version of Ubuntu should I use to begin my contribution in packaging?

I follow the MOTU's guide about packaging, there is a note that advice to do the packaging work in the current development version ( I'm running 13.04 ) and to use a VM. I don't know exactly which is ...
3
votes
1answer
403 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
4answers
108 views

How can i avoid downloading packages every-time I install my Ubuntu? [duplicate]

Every time i install Ubuntu on a computer I have to download the applications/packages with total size of 1.5~2GB and it took lots of my network bandwidth & time!! How can I avoid downloading the ...
8
votes
1answer
2k views

How to package a simple bash script

The below bash script was written in ~10 sec, but packaging it would take me hours of skimming through big walls of text so I ask my self if there is an easy way out there that I don't know about. ...
8
votes
2answers
368 views

How come the override_dh_build-indep sequence isn't run by debuild?

I'm having a bad time trying to generate some documentation for a shared library within debian/rules. I asked a question earlier about which target to use for generating the documentation. My problem ...
3
votes
1answer
1k views

Which target in debian/rules do I need to use for generating documentation?

I have run into some problems creating Debian packaging for a shared library. The application contains a Doxyfile which is used to generate documentation for the library. I would like to create a ...
2
votes
0answers
38 views

How to package a shell script? [duplicate]

I have a shell script . I want to convert the script into a terminal application which can be installed using sudo apt-get install and can be run through the terminal by typing the name of the ...
1
vote
1answer
594 views

How to keep version number in a single place in a python project with setup.py and debian/control

For a python project I'm working on, I'd like to: Keep a version string in a single place. Be able get the version string at runtime for logging purposes Get a default value when launching the code ...
0
votes
1answer
95 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 ...
1
vote
1answer
77 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 ...
2
votes
1answer
348 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 ...
1
vote
1answer
203 views

reupload package to launchpad with orig.tar.gz changed

I uploaded a package geos-3.3.8.orig.tar.gz to launchpad with success, but the build failed because a mistake in the source code, then I have changed my geos-3.3.8.orig.tar.gz with the right code, and ...
2
votes
1answer
104 views

What would cause files not to be included in a .deb?

I'm trying to build a .deb package (python) as part of a larger project. I'm able to successfully run 'make' and 'make install' on it, but when the package(s) are built (using dpkg-buildpackage ...