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
1answer
48 views

snapcraft snap failing because python modules are missing

I'm attempting to learn something of snap desktop packaging by repackaging unity-tweak-tool as a snap. I am finding the docs to be less than stellar, but so far I've got a snapcraft.yaml file that ...
1
vote
0answers
78 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 ...
0
votes
1answer
16 views

Open Build System error, nothing provides dh-systemd(>=1.5) in Ubuntu 16.04 repository

I am trying to build a custom nginx package for Ubuntu 16.04 [link to my project]. I created my gpg signed files to be uploaded using the command Code: debuild -S -sa -k'mygpgkey' and uploaded ...
82
votes
6answers
29k 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.
11
votes
3answers
1k views

What is an “AppImage”? How do I install it?

I just read Meet Etcher, A Stylish Open-Source USB Image Writer Tool. It talks about downloading an AppImage. Yes, Linux; the Linux packages is distributed as an .appimage for 32-bit and 64-bit ...
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 ...
8
votes
1answer
671 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 ...
-1
votes
1answer
41 views

How to make .desktop file for a package to be shown in Unity Dashboard on Ubuntu 13.04?

Well, the package download it via GUI (Graphical User Interface). Now, would like the app to appear on Dashboard and also to be findable in the search bar of Ubuntu. How to create a .desktop file??? ...
16
votes
7answers
6k views

Graphical tool for creating Deb packages

Are there any graphical tools for creating ubuntu/debian packages?
0
votes
2answers
22 views

Why was the moodbar package omitted from 16.04 LTS?

The moodbar package has been available since at least 12.04 LTS but has now disappeared: $ grep ^deb /etc/apt/sources.list deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted deb ...
0
votes
1answer
28 views

Is there a way to set up some sort of flag or tag to a command instead of referring to its full name in terminal?

I'm trying to figure out if theres a way to rename or use some sort of tag that points to a package instead of having to write the whole name of the package in the command line? because some packages ...
0
votes
2answers
64 views

How to run and where to save a downloaded package on Ubuntu?

There are two ways to download a package: GUI & CLI (via terminal). I tried the first one and can run the package via terminal only. I want the app to appear on Dashboard and also to be findable ...
0
votes
2answers
36 views

add dependency to cuurent kernel version

I want to depend my deb package to current kernel version that is installed on machine. for example if my kernel version is 3.13.0-77 my deb file depends on linux-headers-3.13.0.77-generic if I add ...
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 ...
1
vote
1answer
23 views

Is it possible to package Python app into snap packages?

Can Python (or anything other than QML/web apps) be turned into snap packages instead of .deb packages as described here? Is there any detailed documentation available?
0
votes
0answers
21 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
1answer
115 views

How to package a systemd service?

I'm trying to package a mono application to run as a systemd service. I've followed the instructions here: https://wiki.debian.org/Teams/pkg-systemd/Packaging I've added dh-systemd (>= 1.5) to my ...
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
2answers
44 views

How to create a debian/control file that differs based on Ubuntu release?

I have great deal of source code that we maintain, producing many different Ubuntu packages. All of these packages need to build on Ubuntu LTS releases from 08.04 forward. (Yes, I know these are old ...
4
votes
1answer
225 views

How do I create a Debian package with disjoint/alternate dependencies?

I have written an application, and I'm now interested in creating a Debian package and setting up a PPA. The application is written primarily in XSLT, and includes a very thin front-end that can be ...
0
votes
0answers
12 views

How to add two alternative dependencies in control file? [duplicate]

The software depends on any of python-wxgtk2.8 or python-wxgtk3.0. What should be in the dependency field in the control file so that any one (which is available) of them is installed? ...
0
votes
0answers
28 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 ...
14
votes
2answers
672 views

What is the Snap packaging format?

I have a very little knowledge about the 'Snap packaging format'. What I know is that 'Snap' is an alternative packaging format like .deb. What I don't know is Why did Canonical chose it? What ...
1
vote
1answer
36 views

Impossible to create archive for PPA in 16.04

I'm trying to update my PPA with my new 16.04 (Kubuntu x64) but I have a problem with the command I use since 13.10. Here the terminal return: $ debuild -MY_KEY -S -sa --lintian-opts -i ...
1
vote
1answer
75 views

Packaging for PPA .deb Creation Missing Files

So after floundering around from doc to doc I've latched onto and been following this tutorial: http://packaging.ubuntu.com/html/packaging-new-software.html So I tried the steps in there and started ...
1
vote
1answer
64 views

How to modify the details of a debian package

I am new to Ubuntu and would like to know if there's a way to modify or edit the details of a deb package. For example, I'm running the command: sudo dpkg -I myPackage_amd64.deb and get several ...
0
votes
0answers
52 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. ...
58
votes
5answers
16k views

How do I create a deb package for a single python script?

I have a single python script that I want to distribute as a deb package. It is a indicator which shows local date in Unity panel. I did follow create a .deb Package from scripts or binaries but I ...
1
vote
0answers
21 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 ...
0
votes
1answer
47 views

What should be in the “misc-depends:” in a control file?

Lintian gives error without "misc-depends:" in the control file. W: brightness-controller source: debhelper-but-no-misc-depends brightness-controller What should be supposed to be in it? Every ...
0
votes
1answer
39 views

What is wrong with this control file?

At first I was encountering the same error as Error when creating debain source package with dpkg. After following its answer I am facing this problem tata@archisman-HP-240-G3-Notebook-PC ...
0
votes
0answers
13 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
12 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 [-] ...
-1
votes
1answer
47 views

Why debuild and CMake are not including installed files into the package?

Making a test package: #!/bin/bash export DEBEMAIL="test@email.com" export DEBFULLNAME="Test" mkdir gbp-test-0.1 cat <<-EOM > gbp-test-0.1/CMakeLists.txt cmake_minimum_required (VERSION ...
0
votes
0answers
23 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 ...
10
votes
2answers
4k views

How to package a simple bash script

The below bash script was written in ~10 sec, but packaging it would take me hours of skimming through big walls of text so I ask my self if there is an easy way out there that I don't know about. ...
0
votes
1answer
41 views

ordering of executing preinst and config scripts

Is it possible to force some preinst script to run before another? What I would like to do, is create a package in my private repository, which when installed would FIRST ask some questions, and only ...
11
votes
5answers
9k 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
36 views

Publishing publishing chromium - desktop web-app to Ubuntu Software center?

does anyone knows whether chromium based applications are accepted by Ubuntu? I was reading the entire 'developer' section but couldn't get a glue yet. My mix is: PHP/NGINX/Node-JS for server side, ...
0
votes
1answer
25 views

apt-get update in postint of a deb package

I want to launch a apt-get update in postint of a deb file, I create deb to add repository to my distro, but the apt show an error that there are another process apt, the installation. Any idea?¿
1
vote
1answer
18 views

Does Ubuntu have an online code browser like http://sources.debian.net/?

Does Ubuntu have an online code browser like http://sources.debian.net/ ?
0
votes
1answer
71 views

How can I rebuild the faac package to get mp4/m4a support and higher bitrates?

The copy of faac under Ubuntu Trusty Tahr 14.04 has 2 limitations: It does not have mp4/m4a support It cannot use high bitrates How can I rebuild faac, using correct Debian packaging techniques, ...
0
votes
1answer
25 views

Non-sudo location for script

I'm trying to convert a simple batch script into a package. According to my (limited) understanding of packaging, this would mean that I would store the script in /usr/bin. The problem is, the batch ...
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
1answer
70 views

How to upload to a launchpad team PPA?

I have built and signed a package which I now wish to upload to my launchpad team with dput, but every time that I try to upload it I get this email: Rejected: Source/binary (i.e. mixed) uploads are ...
0
votes
1answer
23 views

Build Debian/Ubuntu package based off package control source

The Bitcoin source code contains a debian package control package folder which can be used to make a package. https://github.com/bitcoin/bitcoin/tree/master/contrib/debian Just wondering what the ...
0
votes
1answer
49 views

dpkg-deb, how can I specify the architecture

I am trying to create a debian package for my software which needs to be installed on a power machine. The output of uname -a on the power machine is: ppc64le ppc64le ppc64le GNU/Linux I already ...
2
votes
1answer
97 views

How to install Octave in Ubuntu 14.04 using terminal

sudo apt-get build-dep octave is not working. The error message is E: Build-Depends dependency for octave cannot be satisfied because the package automake cannot be found I have modified the ...
0
votes
1answer
26 views

change name of a service file when creating a package

How can I create a service with a name different from the name of the package? I'm preparing a package that provides also a service file (systemd config) that should have a name different from the ...