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

4
votes
0answers
446 views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that ...
3
votes
0answers
49 views

How do I build a 32-bit Debian binary on 64-bit Ubuntu?

I would like to build a 32-bit binary for the Atom text editor on 64-bit Ubuntu by building Atom (with script/build) and then running script/grunt mkdeb). script/grunt mkdeb calls on this script to ...
3
votes
0answers
46 views

Launchpad invoking 64-bit programme in 32-bit build environment

I am trying to package a Qt programme for Trusty. I have successfully built the package in my system and uploaded it to a PPA. The control file includes the following: Build-Depends: debhelper (>= ...
3
votes
0answers
47 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 ...
3
votes
0answers
52 views

What does this dput message mean?

I uploaded a new package to a PPA (the PPA contains no reference of any uploads of this package in the past), and dput output this curious message: Package includes an .orig.tar.gz file although ...
2
votes
0answers
12 views

PPA upload of custom kernel package

Is there any documentation on how to build custom kernel packages and upload the result into a PPA? In particular, I would like to build mostly the stable upstream kernel (i.e. git://git.kernel.org/...
2
votes
0answers
46 views

What does “setting up” and “proccessing triggers” mean in apt-get?

When apt-get is setting up a package or processing triggers for a package what actually happens in the background?
2
votes
0answers
21 views

Need help building package on Ubuntu

I'm trying to build a local package on Ubuntu 12.04.01 LTS using this guide. I'm having problems getting debuild to pass the correct make command, and I can't seem to figure out what I'm doing wrong. ...
2
votes
0answers
112 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 ...
2
votes
0answers
40 views

Are USC applications allowed to install .desktop files?

Ubuntu's official site for developers says: Technical requirements: In order for your application to be distributed in the Software Centre it must: Be in one, self-contained directory when ...
2
votes
0answers
79 views

Daemon won't start up as root when clicking .deb instead of installing with dpkg

I'm developing a debian package that should start up a backup service as the root user. All works fine when I install it from the command line e.g. sudo dpkg -i xxx.deb but when I install this by ...
1
vote
0answers
20 views

How does one package a python application that includes a gsettings schema with setuptools?

I'm trying to use setuptools to package a python application that relies on gsettings for storing and retrieving user's preferences. However I have not used said tool before and I am unsure about what ...
1
vote
0answers
15 views

Add kernel boot parameter from package

I'm creating my own debian package which has to add a kernel boot parameter when installed in order to work properly. The place to have this is GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub. My ...
1
vote
0answers
25 views

Automation of installing programs from source

I occasionally face a problem when using programs for which developers don't publish deb packages and only provide source. Sometimes I find a PPA providing the package but sometimes I don't or ...
1
vote
0answers
69 views

Can't Create Debian Package for QT App

I can't create package. I was try to create with this tutorial. Error is when I write the last one command: pdebuild --debbuildopts -sa Errors: parsechangelog/debian: warning: debian/changelog(...
1
vote
0answers
64 views

while making debian package from source i'm seeing the error

While making Debian package I'm seeing the below error. ubuntu@ip-10-232-76-3:/opt/uat/elasticsearch-1.4.4$ sudo dpkg-buildpackage -b -rfakeroot -us -uc dpkg-buildpackage: warning: using a gain-root-...
1
vote
0answers
228 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 ...
1
vote
0answers
29 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 ...
1
vote
0answers
174 views

How to cross compile the qtmultimedia-opensource-src for armhf?

Repost from https://answers.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+question/264619 Cross I can't figure out how to build it with cross compiler (on trusty-amd64 for utopic-armhf):...
1
vote
0answers
258 views

Building deb package gives fakeroot debian/rules clean gave error exit status 2

I am trying to create my first deb package of https://github.com/manojgudi/sandhi. After this command - dpkg-buildpackage -rfakeroot it stops with the following error - dpkg-shlibdeps: error: no ...
1
vote
0answers
192 views

Publish Java Swing Application on Ubuntu Software Center

I have installed Ubuntu 14.04 on a VirtualBox in Windows 8.1 and now I want to install Ubuntu SDK in it using the following commands: $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa $ sudo apt-get ...
1
vote
0answers
67 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
vote
0answers
188 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 ...
1
vote
0answers
35 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 ...
1
vote
0answers
113 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 ...
1
vote
0answers
36 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. ...
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
0answers
26 views

What files to upload when submitting a debian package to Ubuntu Store

I'm going to submit my debian package to Ubuntu Store. When I submit my app there is a link "See What am I expected to upload?" that goes to http://developer.ubuntu.com/publish/my-apps-packages/ that ...
0
votes
0answers
33 views

Use debian package triggers to patch a file in postinst script

I want to create a debian (.deb) package that patches another packages files. So, for example, if package A installs the file /foo my package called B should patch /foo when the user installs/upgrades ...
0
votes
0answers
12 views

debian package that installs other debian packages

I am trying to get familiar with debian packages and trying a couple of tutorials, so far this is the only one that makes sense and also works. So my goal is to build a package that downloads and ...
0
votes
0answers
28 views

Debian Packages | Maintainer Script - Postinst

Hey i'm having troubles with updating my packages (with patches using quilt). Whenever i'm updating the source everything is alright and the patches work. But when i want to update a maintainer script ...
0
votes
0answers
10 views

How one can create an installer for custom keyboard layout

I've managed to create a custom keyboard layout for my language. Now that the keyboard is in a state that I can share it. I don't know how to make it a redistributable package.
0
votes
0answers
40 views

How can I make my PPA for Wily work with Xenial?

Like many people before me I have made a PPA to support Cairo with OpenGL, and just like them it is now out of date - https://launchpad.net/~stu-axon/+archive/ubuntu/cairo-gl How can I get this to ...
0
votes
0answers
58 views

packages ubuntu

i have problem packages ubuntu plz help me Reading package lists... Building dependency tree... Reading state information... Package libicu48 is not available, but is referred to by another package. ...
0
votes
0answers
14 views

Compiler flags: deb package vs. source packet

Are the binaries in a .deb package compiled with the the same flags that are used when you Take a vanilla ubuntu installation without any changes (this is relevant for the effect of ./configure), ...
0
votes
0answers
6 views

fakeroot dpkg-buildpackage Issue

I am installing FreeRADIUS. I did this in Ubuntu: fakeroot dpkg-buildpackage -b -uc but this is the result: built dependencies/conflicts unsatisfied;aborting What is the problem?
0
votes
0answers
14 views

Error while installing MaaS by Guide

I have follow guide http://www.ubuntu.com/download/cloud/install-openstack-with-autopilot But when image importing I have noticed error in /var/log/maas/clusterd.log 2016-03-31 19:25:55+0300 [-] ...
0
votes
0answers
40 views

bad-distribution-in-changes-file with bzr builddeb

Trying to build a package with bzr builddeb -- -us -uc and I get from lintian: E: [xxxx] changes: bad-distribution-in-changes-file unstable I tried to see in debian/changelog and debian/control but ...
0
votes
0answers
13 views

12.04 Breaks dependency

when I try to install 'Embedded GNU C Library: Shared libraries' I get error Breaks existing package 'libnih1' dependency libc6(<2.16) Any ideas how to buypass this dependency?
0
votes
0answers
60 views

How to install a python script as an application

I have been trying to create a deb package for my python script following these steps. My myscript.py contains a simple frame. #!/usr/bin/env python import wx app = wx.App(False) frame = wx.Frame(...
0
votes
0answers
62 views

How to make a snappy package for an open-source

I have developed an open-source daemon EasyCwmp. EasyCwmp has many dependencies such as libcurl, libubox, libubus, libuci, json, libmicroxml. I want to generate a snappy package for Ubuntu core for ...
0
votes
0answers
218 views

Cant' properly install PyInstaller

Something went wrong while installing, but nonetheless I got message 'success' message: $ sudo pip3 install pyinstaller [sudo] password for user: Downloading/unpacking pyinstaller Downloading ...
0
votes
0answers
32 views

Kernel: what is the correct process to update changelog

I am trying to figure out the correct process to update the debian pkg changelog, whenever we apply a patch in our local copy of kernel. Have tried the below steps, but not sure if it is the correct ...
0
votes
0answers
45 views

How to package a theme?

I've modified a theme (GTK+ Theme, Gnome-shell) and i want to package it, then upload it to a ppa. I tried following this tutorial but with no luck. http://packaging.ubuntu.com/html/packaging-new-...
0
votes
0answers
62 views

Creating linux-tools-*.deb packages

Is there any convenient way to create linux-tools-*.deb packages? For linux-headers-* and linux-image-* I can use make-kpkg. Is there anything similar for tools?
0
votes
0answers
129 views

How to create .deb package of my JavaFx application?

I've built an application using JavaFx. Now I want to make a .deb package of my application to use it into Ubuntu/Debian platform. How can I do it?
0
votes
0answers
81 views

I'm creating deb package, in that particualr folders i.e node module and src folders alone not copying

I'm trying to make deb file, in that particaluar folder i.e node_module and src folder alone not copying dpkg-source: info: using source format `3.0 (quilt)' dpkg-source: error: unwanted binary file: ...
0
votes
0answers
12 views

Packaging existing software

I've found guides on packaging new software, but what is the workflow to package already maintained packages; the packages tagged with 'needs-packaging' in Launchpad for example. I'm not sure how to ...
0
votes
0answers
43 views

Is it necessary or advised to have devscripts in debian/control Build-Depends?

debuild is provided by the devscripts package. Is it compulsory or advised to have devscripts in the Build-Depends line in the debian/control file? Do the official Debian packaging manuals write ...
0
votes
0answers
21 views

How can I automatically rebuild a package with a different compiler?

I would like to build a specific package, say upx-ucl with my local installation of afl-fuzz. Is there an easy way to do that? It would be perfect if the result was the deb package with a new build.