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

1
vote
1answer
32 views

Is a package a hybrid when its ex, Version 2.0.0 Really 1.8.2?

I knew these packages exists, I've seen them everyware but I never understood them. I'm not sure if they have features from the generic X.X.X (Aka Version X.X.X) or if Its just Really X.X.X and the ...
2
votes
1answer
491 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 ...
-1
votes
1answer
68 views

How to do packaging of ADT (Android Development Tools) for PPA?

From last few days i am trying to learn packaging in Ubuntu. I successfully created Binary deb of Scilab 5.4.1 & ADT but i don't have any webspace or server to host repository for these packages. ...
6
votes
2answers
712 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 ...
0
votes
1answer
82 views

Nvidia Driver outdated, will the PPA help? And what's a PPA?

Hi I'm a complete novice (usually rely on my son for help). In one of the answers it mentions 'ppa'. What is 'ppa'? If this problem is resolved will it stop the freezing as well?
4
votes
2answers
1k views

How to create a deb package for a python3 script?

I have one Python file, main.py. I would like to be able to make a .deb package from it, and then be able to run main.py by typing the package name from the terminal. It is written in Python 3, so the ...
1
vote
1answer
29 views

packaging Error for amd64

I am trying to package lttoolbox-3.2 for ubuntu , I successfully created ppa and built 32-bit packages. but it always fails for 64 bit failed log ...
2
votes
2answers
424 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
120 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
1k 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
93 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
134 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 ...
2
votes
1answer
126 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
651 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
103 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
42 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
206 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 ...
2
votes
2answers
668 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
110 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
758 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
90 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 ...
19
votes
1answer
888 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
29 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
161 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
668 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
3k 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
144 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 ...
8
votes
4answers
3k 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
244 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 ...
2
votes
1answer
56 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
52 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
194 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
307 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
93 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
143 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
618 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
1k views

how to package installed packages?

Is there anyway to package the installed software on the system? I mean without going to/var/cache/apt.. and without downloading anything else, can i use a dpkg command to make a packages from all ...
2
votes
1answer
731 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
7k 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
89 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
1k 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 ...
1
vote
1answer
552 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
189 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
27 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
80 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 ...
4
votes
1answer
540 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
121 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 ...
10
votes
2answers
4k 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
490 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
2k 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 ...