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

sbuild error: Only one build is permitted

I am trying to build a package for ubuntu trusty using sbuild, but few dependencies are available in vivid repo. So, I added the vivid repo with --extra-repository tag with sbuild command. But I am ...
1
vote
2answers
898 views

Automatically sign package files from debuild and upload with dput

I've created a source package for I library I'm working on. I use debuild to build it and then I can successfully upload it with dput. Now I want to set it up so that I can do this automatically ...
6
votes
2answers
8k views

How to create deb installer from tarballs? [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? there are several tarballs (e.g. Firefox, Eclipse, Zend Studio and ...) that have executable file within, that easily we can extract ...
6
votes
1answer
352 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 ...
3
votes
3answers
47 views

How to detect architecture of a .deb package?

There is a .deb package in a repository which is declared to be 32bit, but installs 64bit binaries. This is the case for both installing through apt-get from the repository as well as with downloading ...
0
votes
1answer
34 views

dh_install fails with missing files

I am attempting to build a deb from an existing autotools based library. I am following the tutorial here. When I do a spkg-buildpackage -us -uc the command fails with an error stating that files are ...
0
votes
1answer
20 views

Error when creating debain source package with dpkg

When entering this dpkg-source -b <packagename> into the terminal to create a debian source package, I get the following error: dpkg-source: error: syntax error in ...
0
votes
0answers
21 views

xz-utils 5.2.1 on trusty: how to compile and re-package? Or ppa available?

I want to compile and use a newer version of xz-utils, in this case version 5.2 as well as create deb-packages to be distributed on different ubuntu (14.04) machines. The recent changes to xz were ...
2
votes
1answer
30 views

Are Click packages obsoleted by Snappy packages?

Are Click packages obsoleted by Snappy packages? Should I focus on learning how to make snappy packages, and ignore the click documentation?
1
vote
1answer
157 views

What is dquilt and how do I get it?

I have been doing some packaging lately, including patching. I read here that I should do: $ dpkg-source -x gentoo_0.9.12.dsc $ cd gentoo-0.9.12 $ dquilt import ../foo.patch $ dquilt push $ dquilt ...
1
vote
1answer
35 views

How to version the PPA package for a new application?

I have a PPA set up to allow an application that I wrote to be installed by others. Currently, I have no plans for the application to be included in the official Ubuntu or Debian repos. I recently ...
0
votes
1answer
46 views

Oracle JDK 8 is NOT installed

Recently I installed jdk1.8.0_51 on my Xubuntu OS, and now I need to install ant for pyhton-for-android package, but after running the following command : sudo apt-get install ant I get the ...
0
votes
0answers
16 views

How do i manage metapacket architecture?

I'm building a debian package compose only of bash/perl script. Those scripts aim to interact with an architecture specific program (amd64) and are completely useless without this program. On debian ...
0
votes
0answers
26 views

How does Click/Snappy solve dependency issues?

There is a bit of confusion surrounding click and snappy. For one, I understand that there are certain packages that are not allowed to be shared due to app-armor. For example, if I write a Qt ...
1
vote
1answer
41 views

What are dynamic and static linking?

I hear the terms "Dynamically linked" and "Statically linked" tossed around in regards to packaging, and I have never been clear on what these terms actually mean. What are dynamic and static ...
1
vote
0answers
13 views

How can I specify a Qmake file during packaging?

I'm trying to package a piece of software that I wrote for Debian/Ubuntu. I've read that dh supports Qmake natively. However, my .pro file is not in the root directory of the source tree, but rather ...
3
votes
2answers
993 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 ...
2
votes
1answer
163 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 ...
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 ...
2
votes
0answers
21 views

Why does 3rd digit in Ubuntu kernel version not match 3rd digit in its mainline upstream kernel version number?

From the Ubuntu Kernel FAQ ( https://wiki.ubuntu.com/Kernel/FAQ ) : Given an Ubuntu kernel package version how do we find the release it is from? The kernel package version is of the following ...
0
votes
1answer
26 views

How to prepare my program for Launchpad

I wrote Python program and made DEB (https://github.com/CyberTailor/vk-stats/releases/download/0.9/vk-stats_0.9-1_all.deb). Now, I want to upload this package to Launchpad, but it doesn't accept DEB ...
0
votes
0answers
12 views

Authenticated Packages for Flocker

The current installation instructions for Flocker on Ubuntu 14.04 state that one should run: sudo apt-get update sudo apt-get -y install apt-transport-https software-properties-common sudo ...
0
votes
0answers
70 views

Copy directory on destination machine during .deb installation in Ubuntu 14.04, 64 bit

I just want to copy directory (which contains some files) on destination machine during .deb installation at path /opt/myProjectName in Ubuntu 14.04, 64 bit. Right now I am successfully able to ...
3
votes
1answer
103 views

Conditional file and directory installation in `.deb` Packages

Is it possible to create a binary .deb package with conditional files and directories installation (e.g. installation of an init script in /etc/init.d/ after being confirmed by the user)?
0
votes
0answers
13 views

“Unable to satisfy dependencies” error with self-built .deb package

I have built a .deb package from source, however I get the error Unable to satisfy dependencies when attempting to install it. I think this is due to putting Dependencies: none in the Debian control ...
8
votes
1answer
8k views

Adding post .deb install scripts

So I'm building a .deb, and I need to do a few post-install commands (linking libraries paths, and a few other things). Is there a way to have it so when you do a sudo dpkg -i ...
1
vote
0answers
19 views

How to view number of downloads of packages from Ubuntu Software centre? [duplicate]

Is there a way through which I can see the number of times an application or package from the Ubuntu Software Center has been downloaded? If not, is there some sort of way in which I can view the ...
66
votes
6answers
16k views

What is the simplest Debian Packaging Guide?

I went to the Ubuntu wiki but got confused,there were too many ways. Please tell me an easy guide to Debian packaging.
0
votes
1answer
6 views

What should I name my install instructions for ubuntu centric applications?

Just wondering if there was a standard for this sort of thing, particularly for debian packages. I see in here for the license, LICENSE.LGPL I'd like to add some install instructions to my own, but ...
9
votes
4answers
6k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...
0
votes
1answer
35 views

How do I use Ubuntu mercurial package to create updated .deb?

I've been using the mercurial ppa, but that seems to be updated sporadically (at best) and attempts to reach the dev have failed. I'm looking at building these packages myself now. There's also the ...
0
votes
0answers
15 views

Problem compiling with QT4 libraries in pbuilder

I am having trouble getting pbuilder or launchpad to build a package that uses the QT4 libraries. The build script that I am using is below ( I didn't write it ). It compiles fine on a vanilla ...
0
votes
1answer
52 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..
0
votes
0answers
27 views

Copyrights of Rebranded and Customized Ubuntu [duplicate]

I'm sorry if this is not about programming or technical usage of Ubuntu. if this is not allowed to ask here, please recommend a site for it. I am creating a hardware-software solution, which is ...
1
vote
0answers
77 views

How do I repackage a .deb for Ubuntu Snappy?

// , I want to convert some Ubuntu software in .deb, specifically guake, to packages for Ubuntu Snappy*. According to the documentation on the Ubuntu dev tools, All metadata lives in ...
0
votes
1answer
35 views

Good book or guide for Debian packaging using Bazaar and Ubuntu Distributed Development

It seems that Ubuntu provide several tools to help you building Debian packages with the bazaar version control. So far I just found online documentation, but I personally prefer to learn from books. ...
0
votes
1answer
23 views

What to use for building ubuntu/debian packages?

I've been inspecting different howto's and guides on how to build packages lately. And there seems to be a lot of ways one could go about it. So I'm a bit confused about what exactly to use. That is ...
0
votes
1answer
12 views

Package Creation Error

I was experimenting with building packages, and I got into a bit of a trouble. After setting everything up, I ran dch -i And edited the changelog to look like this: packagekit-qt (0.9.5-2ubuntu2) ...
2
votes
2answers
788 views

Install PyCharm IDE from repo (without wget)

Is there a way to install the PyCharm IDE (community version) from a repo (without wget). I think the wget method found in many blogs is too complicated.
4
votes
1answer
2k views

Packaging a CMake project (libRocket) into a .deb, but build script is in a sub folder

I am trying to build a .deb package for libRocket (http://librocket.com/), but the build script is not in the source root but rather in a subfolder (/Build). See the Github source: ...
1
vote
2answers
182 views

Untrusted packages warning

When I try to update my system I get following warnings: W: GPG error: http://archive.canonical.com vivid Release: The following signatures couldn't be verified because the public key is not ...
11
votes
0answers
577 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
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: ...
3
votes
1answer
61 views

How to build .deb package that adds a GUI program to session startup?

I have a built .deb installer that installs the GUI(1) program myprog. I would like this .deb installer to add myprog to the Session Startup programs for all the users on the system. Should this be ...
0
votes
1answer
28 views

How Can I Change PPA Fingerprint

I understand that if you create a PPA you have to accept the Ubuntu Code Of Conduct, and that in order to do so you have to register your OpenPGP fingerprint. Now, let's say that I lose my data on my ...
1
vote
1answer
65 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: ...
1
vote
1answer
122 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
79 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 ...
2
votes
1answer
198 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 ...
0
votes
1answer
54 views

How to build a package for my QML app?

I want to build a package for my app, written with C++ and QML. For this I'm using Ubuntu SDK. I'm working on Ubuntu 15.04. Here is the project tree : Player : player.qmlproject components (a ...