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

3
votes
2answers
347 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 ...
0
votes
5answers
435 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 ...
44
votes
6answers
6k 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.
1
vote
1answer
42 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 ...
0
votes
0answers
17 views

How to build .deb package for ubutnu [duplicate]

I have written some shell scripts.I want to pack them in a debian package to be used for ubuntu.So I need to know how to build a debian binary package.Please tell me the proper steps to be followed ...
0
votes
0answers
32 views

Depending on postgresql-plpython for every installed version of postgresql

I'm working on a project which gets installed as an Ubuntu package. This is part of the code for generating the database (modified): CREATE EXTENSION plpythonu; CREATE FUNCTION foo (str text) ...
15
votes
2answers
779 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: ...
0
votes
0answers
65 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
66 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. ...
0
votes
2answers
34 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 ...
29
votes
1answer
11k views

create a .deb Package from scripts or binaries

I searched for a simple way to create .deb Packages for things which have no source code to compile (configs, shellscripts, proprietary software). This was quite a problem because most of the package ...
0
votes
0answers
9 views

Looking for some starter help for Ubuntu package building

So far I have followed and understand the Ubuntu Packaging Guide and have skimmed through the Debian Maintainers Guide a bit. My question comes down to making my package outside of the normal ...
1
vote
1answer
40 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 ...
2
votes
0answers
38 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 ...
0
votes
0answers
18 views

How determinate the main user in Ubuntu from a postinst script?

I'm packaging a slim-theme and I'd like to modify /etc/slim.conf with the theme and the default user so slim just ask the password during login. I suppose most people willing to install a theme for ...
1
vote
0answers
36 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 ...
5
votes
1answer
1k 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. ...
5
votes
2answers
1k views

Rename a file during install of a Debian package

I have a python script that I want to package for Debian. I use a debian/install file where I wrote auto_dice.py /usr/bin/ Linitan then complains about the .py extension ...
0
votes
1answer
290 views

Install package from ppa with setup.py file

I am writing a python program that I want to upload to a ppa so other people can install it on their machine. Right now I have a setup.py-file that copies the files to their place and installs the ...
2
votes
0answers
68 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 ...
4
votes
2answers
29 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 ...
0
votes
1answer
38 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
2k views

How can I create a simple debian package from binary?

I have been researching debian packaging, but I can't seem to figure out how to package a C# mono application made up of a single executable and a few resource files. Can anyone help me figure out? ...
4
votes
1answer
67 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
1answer
247 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: ...
9
votes
2answers
2k views

How and why to create -dbg, -dev, -doc packages?

I'm writing an Ubuntu package for a package which essentially provides a number of libraries and headers which then be used to build other software. The package also breaks up in smaller subpackages ...
1
vote
0answers
20 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
1answer
46 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 ...
4
votes
2answers
52 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. ...
2
votes
1answer
57 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
55 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
37 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 ?
4
votes
1answer
303 views

Versioning a package for uploading to PPA

I've a package named Artha which I distribute as source and (deb) binaries for x86 and x86_64 architectures i.e. I've the experience in making deb files. I got quite a few requests for setting up a ...
4
votes
5answers
4k views

Script to only execute during first install of a package

I recently started packaging up some of my software and publishing it on Launchpad. The installation and removal works fine, but upgrading the package form one version to the next version is ...
0
votes
0answers
29 views

Package rename and version drop

I have a package foo that is currently at version 2.3.0 I'm trying to push the current development version into a ppa for my use. However, upstream the package source foo has been completely merged ...
1
vote
1answer
38 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
52 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
25 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
18 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. ...
14
votes
1answer
793 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
1answer
86 views

Workflow with self made packages

I have a folder ~/Packaging where all my public and private packages are in. For example, in the Packaging/think-rotate folder, there is the typical Debian stuff, like so: think-rotate-2.5.2/ ...
0
votes
1answer
57 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
30 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 ?
1
vote
1answer
52 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
229 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 ...
4
votes
1answer
381 views

Chromebook with crouton: alternative repository to ports.ubuntu.com

I'm using crouton on a Samsung chromebook (with an ARM chip). Crouton installs all the packages from ports.ubuntu.com, which is a fairly slow mirror for me. Are there other mirrors that carry the ARM ...
3
votes
2answers
389 views

How can I prevent dpkg-buildpackage from modifying the modification date of the /debian directory when building a Debian package?

I have set up a working pbuilder toolchain for building Debian packages in i386 and amd64 varieties for Ubuntu. I am using reprepro to manage my own private apt repository and dupload to upload ...
0
votes
1answer
45 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. ...
5
votes
1answer
2k views

How do I create deb package for Oracle JDK?

How do I create a deb package for Oracle JDK for personal use?