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

5
votes
2answers
152 views

How do I copy a package from Debian to my PPA?

I'd like to add the latest gourmet package from Debian sid to our team's PPA so Ubuntu users who would like to run an up-to-date version of Gourmet can add that PPA to their software sources. ...
1
vote
1answer
94 views

Installing a directory with a Debian Package

I want to create a Debian Package that installs a bunch of Folders to a system but I can't get it working. The Package gets created without any errors and lintian also says it's okay but installing ...
2
votes
1answer
1k 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: ...
3
votes
1answer
133 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?
3
votes
1answer
126 views

Building a Debian package with two buildsystem

I have a package that needs to be build with both a regular makefile and a setup.py. The thing is that the Debian packaging magic that is invoked via debuild would recognize a makefile and do the ...
1
vote
2answers
251 views

Can I make a package .deb from .tar.gz or .tar.bz2? [duplicate]

If I had an application with .tar.gz or .tar.bz2 extension can I transform it to a package .deb ?
0
votes
0answers
43 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 ...
1
vote
1answer
71 views

Force PPA package to satisfy distro meta-package dependency

I am building a package for my ppa that requires a newer implementation of libboost than what is provided in my target distro (precise). I've copied libboost1.55 from the boost ppa into my ppa. I'm ...
1
vote
0answers
88 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 ...
0
votes
2answers
34 views

ubuntu packaging help

HI I have been using Ubuntu for a while now and would like to create Apps for Ubuntu. I have made a fun game and would like to have it in the software centre but I do not know how to create a debian ...
1
vote
0answers
22 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. ...
2
votes
5answers
2k views

Convert .jar to executable

My project is to develope an installer which is an executable for all three platforms Windows, Mac and Ubuntu.As you know the executables on Windows, Mac and Ubuntu are .exe, .app and .deb ...
0
votes
1answer
103 views

Building Packages success in My Machine but fails on Launchpad PPA

I'm trying to build budgie-desktop debian packages and upload it to my launchpad ppa. Building Packages success in My Machine but fails on Launchpad PPA(with the following errors) make[2]: Entering ...
2
votes
1answer
51 views

How to add package source to ubuntu package list [duplicate]

I develop a new open source named EasyCwmp and I want to add it to ubuntu packages list. how to proceed ?
15
votes
2answers
947 views

Why do some packages have extra numbers on the front of their version string?

I have just noticed that Wine (and a number of other packages) have shifted their versioning scheme to something like: 1:1.6.2-0ubuntu3 I understand everything after the 1:... But what does the 1: ...
1
vote
1answer
68 views

Where can i ask to increase space quota for launchpad ppa?

I did put an question in launchpad answers but i think there is only one guy active on the help desk of launchpad. Where can i ask to increase my ppa space quota? I'm newbie & trying to maintain ...
0
votes
2answers
466 views

What package should I include as build-depend based on this error

Previously, I've asked about debian/rules additional build flag of CMake for packaging in Launchpad. The question is here. Now I managed to accomplish that by changing that debian/rules. And I ...
14
votes
1answer
811 views

How can GIMP 2.8 have two different icons together?

In Unity dash GIMP 2.8.10 has a icon and uses a different one in launcher. GIMP in Dash GIMP in Launcher I searched for GIMP in "File System" and got this. How can this be done while ...
3
votes
2answers
262 views

Packaging precompiled program: file list not found

I'm trying to package an already compiled set of binaries including doc, header files, usage examples, etc... The installation instruction of the original binaries recommends to just copy all files ...
1
vote
1answer
80 views

Packing a .deb package correctly

I'm trying to create a debian package of the TIGCC, a C compiler for TI Calculators in correspondence with it's main developer, who is using Fedora and thus can only create and test RPMs. I've got ...
1
vote
1answer
29 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
242 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
63 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. ...
4
votes
2answers
220 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
67 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?
3
votes
2answers
841 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
27 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
282 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
92 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
685 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
71 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
122 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
443 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
91 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 ...
4
votes
0answers
270 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
72 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
175 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
261 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
75 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
515 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
87 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 ...
1
vote
0answers
397 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 ...
7
votes
0answers
456 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
26 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
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?
1
vote
1answer
409 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 ...
3
votes
2answers
1k 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
141 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) ...