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
1answer
13 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
140 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
33 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
18 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
15 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
10 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
28 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
11 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
968 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
151 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
19 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
11 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
65 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
82 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
11 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 ...
6
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 ...
65
votes
6answers
15k 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 ...
8
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
27 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
11 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
44 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
52 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
28 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
22 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
667 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
127 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 ...
10
votes
0answers
542 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: ...
1
vote
1answer
15 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 ...
0
votes
1answer
64 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
57 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
26 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
62 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
113 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
71 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
151 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
47 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 ...
0
votes
0answers
8 views

how to package a python application for publishing in Ubuntu Software Center [duplicate]

I have a running python application, I am wondering how package it for publishing into myapps
1
vote
1answer
79 views

How to build .deb files of vim which support both python2 and python3 on Ubuntu14.04?

I tried this tutorial but when I ran the command dpkg-buildpackage -us -uc, it failed.... I don't know what's wrong. This is the log: Test results: test87 FAILED TEST FAILURE Makefile:49: recipe ...
0
votes
1answer
59 views

moving to new tag with gbp buildpackage

I'm trying to repackage something that is being maintained in a git repo, and has a now-out-of-date debian package existing. I followed these instructions with the exception of turning off ...
0
votes
0answers
33 views

Prompt the user to overwrite/compare config file own repo/package

I created my own repository so I can provide a newer version of a package than the one the Ubuntu repository currently holds. I'm using reprepro and fpm to create the .deb package. The issue that I'm ...
4
votes
2answers
296 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
66 views

postinst always fails because of debconf

I am having some trouble using debconf for my package. I ask for the mysql pw in the package.config file: . /usr/share/debconf/confmodule db_input high mypkg/mysql_root_pw db_go Then, in postinst, ...
0
votes
2answers
82 views

Where are .deb package control files located?

My understanding is that debian based packages have "control files" which specify metadata on how the packages is to be installed, e.g. what dependencies it has etc. How can I view these files for ...