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
129 views

PPA build fails due to Python.h missing

I'm trying to package my application for Ubuntu using PPA. The build fails because it can't find Python.h (build log here). This library is provided by libpython2.7-dev and I have it in build ...
2
votes
1answer
63 views

How can I run arbitrary commands as part of a deb package install?

I'm creating a ppa deb package for a python module, replacing a pip package (which I also created), and I would like to run "pip uninstall" as part of the deb installation. How can I run "pip ...
2
votes
1answer
186 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 ...
1
vote
1answer
274 views

Creating debian package to install to a path with spaces

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
2
votes
1answer
583 views

Error when modifying rules file in debian packaging

Trying to get my debian packaging to work as I want, I modified the debian/rules file (showing line numbers) 12 %: 13 dh $@ 14 15 override_dh_install: 16 dh_install 17 install -m 644 "My ...
0
votes
1answer
67 views

sbuild errors “but it is not going to be installed”

My goal is to cross-build debian package, so I test on something simple - ncurses. I follow this guide consisting of two commands: ...
1
vote
2answers
444 views

How to pull packages from a git repository without Internet connection?

I am newbie in using git. I need to pull some packages from my friend's git repository but there is no Internet connection in my computer. I need to pull them offline. Is there a way to do it?
1
vote
0answers
59 views

Qt-creator publish tab missing click part

I am trying step by step to write some simple tutorial Ubuntu apps using qt-creator. First I've chosen HTML5 App then after writing some hello code or even after doing nothing I've tried to create a ...
-1
votes
1answer
94 views

can i build ubuntu package without an upstream tar ball using bzr?

I don't want to tar ball my C++ source. I think a good Makefile is sufficient to build an ubuntu package. Can't I bzr dh-make with out making a tar.gz of my source code. My problem is that I ...
1
vote
1answer
109 views

How can I convert a ready Python project into DEB

I am using package guide of Ubuntu (http://packaging.ubuntu.com/html/packaging-new-software.html), but I am stuck in compilation stage. I can compile .deb using dpkg-buildpackage -rfakeroot -uc -us ...
2
votes
1answer
79 views

Building a package for another architecture

I'm trying to patch and rebuild a package (libvorbis, for what it's worth) on 64-bit Xubuntu 14.04. In the past, when I've wanted to do something like this, I've followed this formula: sudo apt-get ...
1
vote
1answer
42 views

Can I upload a deb package with an MIT License to PPA?

I'm trying to build a deb package from source with bzr dh-make and bzr builddeb, but bzr automatically adds the GPL license to my source code folder. Is it allowed to upload projects licensed under ...
0
votes
2answers
45 views

What is Upstream Program? [duplicate]

Maybe it is a ridiculous question but I want to know exactly what is an upstream program? here in this documentation and other debian packaging documentation mentioned upstream program. I want a ...
0
votes
0answers
16 views

Publishing free proprietary app without English UI in Software Center

My app has UI only in local language, non-English. Could it still be published in Software Center? And if so, do I need a description in English?
3
votes
1answer
117 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 ...
2
votes
0answers
16 views

Add Package to Official Repository [duplicate]

I wrote a driver for a remote filesystem (mounts a Google Drive, similar to the way SSHFS mounts a remote server). It's super useful as an alternative to dropbox or ubuntuone. It is now getting ...
1
vote
1answer
1k views

Append options to GRUB_CMDLINE_LINUX_DEFAULT without modification on files

I want to add an option to GRUB_CMDLINE_LINUX_DEFAULT without modifying any files on the system. The reason is that I want to apply it by installing a driver package, but currently I haven't found any ...
1
vote
2answers
591 views

How to set version numbers and package file names via dpkg-buildpackge for automated builds on a build server?

Our build server builds ubuntu packages (*.deb) via dpkg-buildpackage. The server checks out the source code via git and runs the build via make <target>. The source directory contains the ...
1
vote
2answers
252 views

What is the best way to build a package that targets a single Ubuntu release only?

At the moment I build and package our software for Ubuntu 14.04 aka 'trusty' via dpkg-buildpackage. I get a .deb package that can be installed on Ubuntu 14.04 but also on other Ubuntu releases e.g. ...
2
votes
1answer
831 views

What is the right way to restart dependent services while package installation?

I am creating a configuration package, and would like to stop and restart services whose configuration is affected. Right now I am using the service [stop|restart] in {pre,post}{inst,rm} way. I read ...
1
vote
0answers
114 views

init script of debian package not working correcly in different computers in Ubuntu 12.04

I created a Debian single binary package (.deb) for a software project to install the application as a service in ubuntu. dpkg --install package installation is successful in the computer I used to ...
0
votes
1answer
234 views

How to skip installation of a debian package if a file exist in the system?

I'm interesting in avoiding the installation of the content of a debian package when a file is present in the system, eg. /usr/local/bin/token. I'd like than the debian package will look for the ...
1
vote
2answers
54 views

Yelp package building problem

I'm using Ubuntu12.04 lts. When I built the yelp package from it's source with dpkg-buildpackage command, It shows me following message, and It fall a sleep. gtk-doc: Scanning header files ...
5
votes
1answer
290 views

Include Binary Files in DEB package

I need to build a DEB package from mainly Node.js Javascript files, but it should include some binary files as well. They are listed inside debian/source/include-binaries. Otherwise I get the error ...
1
vote
0answers
31 views

creating debian packages for Mozilla Products

I am trying to create a Debian Package for Boot-to-Gecko desktop client, I have no prior experience in Debian packaging except the test cases mentioned in packagers guide and other places, I have ...
5
votes
2answers
199 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
122 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
2k 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
189 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
160 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
669 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 ?
1
vote
1answer
86 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
94 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
26 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
3k 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
115 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
60 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 ?
16
votes
2answers
1k 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
75 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
601 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
821 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
353 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
85 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
31 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
334 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
64 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
339 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
72 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
996 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 ...