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

Dch non-interactive mode

I'm trying to find a way to run dch in non-interactive mode, in order to incorporate its creation and manipulation within a shell script. It seems that only when running it with the argument -r "" ...
0
votes
0answers
12 views

License does not appear when packaging for Debian

I wrote a software for Ubuntu and package it in a .deb file. When I try to open it the license does not appear. In my copyright file under the debian directory I added a copyright file where I simply ...
1
vote
1answer
14 views

How to properly provide license when packaging?

I wrote a BTRSF GUI for Ubuntu and I want to license it with the MIT License.Now that I'm packaging it in a .deb format how and were should I include a copy of the license?
35
votes
2answers
14k 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
1answer
19 views

How to require oracle java when creating a .deb package?

I wrote a small BTRFS GUI in Oracle Java 8. I want to package it but I don't know how to specify that the software needs Oracle Java 8 (JRE) under the Control file.
1
vote
2answers
28 views

In which location are Ubuntu packages installed? [duplicate]

There is an Ubuntu application called remote desktop viewer, I want its location to run in a script, how can I get the package details?
0
votes
2answers
48 views

Is it possible to retire packages that don't stand up to modern usability standards?

What is the Ubuntu process to deprecate and remove packages from repository? I quite often need a user mode FTP server to transfer files to my machine and constantly run over ...
1
vote
0answers
8 views

How to create debian package for a java project? [duplicate]

I have written a small gui for btrfs called TimeTraveler. And export it as .jar file. How do I package it as a .deb file for Ubuntu?
0
votes
0answers
19 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 ...
0
votes
0answers
13 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
2answers
40 views

What package conventions are there for ubuntu?

It's hard to describe this question. Let's look at an example: The package blender depends i.e. on blender-data. I looked into both packages. blender contains only the application, a .desktop file ...
0
votes
1answer
14 views

Changing one build option in a package

I want to use the graphviz package on an Ubuntu system, but according to the build log it is configured using --without-gts, whereas I want GTS support to be included (I don't know if there's a reason ...
0
votes
0answers
11 views

How to build .deb package with ubuntu-sdk

How can i build a .deb package with ubuntu-sdk? I don't want to publish to the ubuntu software center, only need a .deb package for my Ubuntu-SDK/QT Creator project. Thanks
1
vote
1answer
44 views

What is the purpose of the package emacs24-common-non-dfsg?

I tried to run C-h r from Emacs, but got error Info file emacs does not exists After googling i found the package emacs24-common-non-dfsg. What is the purpose of this package, and why would I ...
2
votes
1answer
75 views

Can I use a Debian package build environment to build Ubuntu packages?

I have a Debian wheezy server that I use to build packages using pbuilder and git-buildpackage. I can currently build packages for Debian sid, wheezy, and squeeze. I would like to use this same ...
0
votes
0answers
7 views

Ask whether or not install a cronjob in an ubuntu package

I have a package who install some cronjobs to /etc/cron.d, it uses dh_installcron to do so, now I'd like to introduce some questions during the installation phase to determinate whether or not the ...
5
votes
1answer
765 views

How do I submit .jar file to the ubuntu software center

I am writing an app using JAVA Swing for all platforms. After that I want to add this app to Ubuntu Software Center for free Is it possible? My app is just one *.jar file, its helping to play card ...
2
votes
2answers
3k views

Is dh-make the standard way to build debian packages?

I've started creating a .deb package for my software a while back and the method I've stumbled upon then (I knew nothing about the domain) basically is like this: create a directory structure like ...
1
vote
0answers
62 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 ...
0
votes
1answer
15 views

How to package LaTeX source in a DEB package?

I need to include a PDF documentation file in a DEB package. And I think LaTeX source might fix my needs, since I want someone to contribute to the source. But I don't know how to make a PDF in ...
0
votes
0answers
21 views

How to build .deb package for Ubuntu [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 ...
0
votes
0answers
37 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 ...
0
votes
0answers
32 views

How does Ubuntu install .deb files? [duplicate]

I want to know how does Ubuntu install software. For instance I know that executables are moved in /usr/bin and .desktop files in /usr/share/applications but I want to know why and know more about it. ...
1
vote
0answers
10 views

Launchpad Debain Builder Internet Issues

I'm packing a application that curls a file as part of the debian/rules file. It works locally, but on the launchpad Debian package builders I am getting the error: curl: (6) Could not resolve host: ...
0
votes
1answer
28 views

Packaging: /usr/lib vs. /usr/lib/*-linux-gnu

I was building a new version of Spice within an LXC container, mostly for experimentation. However, one strange thing that I encountered was that make install installed libspice-server.so.1.9.0 into ...
0
votes
0answers
11 views

dpkg-gensymbols: Completely overwrites libfoo.symbols

I currently try to package a library. However during the build, dpkg-gensymbols tries to completely overwrite my debian/libfoo0.symbols file: dpkg-gensymbols: warning: debian/libfoo0/DEBIAN/symbols ...
1
vote
2answers
47 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.
1
vote
2answers
97 views

How can I get a list of supported Ubuntu releases from the CLI?

What's the simplest way to get codenames of currently supported Ubuntu releases for use in deb packaging? Like utopic trusty precise lucid for today.
0
votes
1answer
32 views

How do I solve dependencies with replacements?

I work on a solution getting a closed-source driver, called EMGD, working on Ubuntu. But there is a problem with the lubuntu-desktop package. It depends on lubuntu-core -> xorg and xorg needs ...
1
vote
1answer
810 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 ...
0
votes
0answers
29 views

Error while building deb package

I am getting the following error on building the deb package. - dpkg-buildpackage -rfakeroot -us -uc Error- 96% tests passed, 6 tests failed out of 166 Total Test time (real) = 314.38 sec ...
3
votes
2answers
508 views

How do I run lintian from pbuilder-dist?

I am using pbuilder-dist to build my packages for Debian unstable and Ubuntu Precise. I want to know how to run lintian (and possibly other commands) inside a certain chroot. I have Ubuntu 12.04 on ...
0
votes
1answer
21 views

Custom cron job filename for a package

I'm willing to create a cron job for a package but when I define it in debian/cron.d it gets installed as /etc/cron.d/package. I'd prefer to be able to change the name of the cron job to be something ...
3
votes
2answers
40 views

Building a .Deb package after locally modifying the files

I am new to Linux and I'm learning about packaging in Ubuntu. I wish to run synapse with recoll plguin (lp:~pmarchwiak/synapse-project/recoll-plugin). Now, How can I build a package from the ...
0
votes
1answer
34 views

How do I distribute a CA certificate using a Debian package?

The usual method of adding your own CA certificate to Ubuntu is: cp cert.pem /usr/local/share/ca-certificates update-ca-certificates I'd like to distribute my CA certificate using a Debian package, ...
0
votes
0answers
31 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 ...
4
votes
2answers
2k views

how to do a pbuilder-dist build with dependencies in a ppa?

I'm trying to build a package for my ppa that uses packages from two other ppas. I want to do a test build using pbuilder-dist. I have done this before and I know that I need a combination of: ...
0
votes
0answers
52 views

how to install tracegraph in ubuntu 14.04

my ns2 is working properly and Nam also but can't show graph i have downloaded the tar trace graph but when i go to install ./tracegraph it give the following error how do i correct this?????? ...
0
votes
1answer
21 views

Cannot build on launchpad

I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64. Here is the link: https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages Here is the ...
0
votes
2answers
21 views

How do I make and upload a package for my game?

I developed a game using the C programming language with SDL for graphics. Now, I just have a folder of the project (with project files). But I don't know how to make a package of this game to upload ...
1
vote
1answer
43 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 ...
0
votes
2answers
62 views

Unable to install Box2D package

If I try to run sudo apt-get install python-box2d I get this nonsensical error message: Reading package lists... Done Building dependency tree Reading state information... Done You might want ...
1
vote
1answer
18 views

Import new package to older release

I have uploaded a new package to Debian. It has recently reached Debian unstable and Ubuntu development branch (currently Vivid). How do I get this new package into the currently supported stable ...
0
votes
1answer
195 views

How to create a tar.gz package to upload to your ppa

I have created an application using Qt. I have two folders in the project , one containing the source code and other the binaries, makefile etc. I created an archive , used dh_make etc. and ...
0
votes
0answers
74 views

After creating a .deb: dpkg:warning while removing, directory /usr/local/bin not empty so not removed

I have created a package of zsh 5.0.7 from sources and now I can install it successfully but when I try to remove it I get this: $ sudo dpkg -i zsh_5.0.7_amd64.deb Selecting previously unselected ...
0
votes
1answer
570 views

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

I am trying to build my first .deb package (with ffmpeg sources) and I get some errors. Those are my steps that can be reproduced to get this error: git clone git://source.ffmpeg.org/ffmpeg.git ...
1
vote
0answers
18 views

library packages failed to fetch in ubuntu 14.04 [duplicate]

W: Failed to fetch http://ppa.launchpad.net/upubuntu-com/ppa/ubuntu/dists/trusty/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones ...
1
vote
1answer
52 views

How to create deb packages for fonts [duplicate]

How do I create a package of fonts? I am not going to be uploading them to the Archive as they are for my own use. Can anyone point me to a tutorial or a document on creating font packages? I have ...
1
vote
2answers
225 views

How to add permissions to files installed by dpkg-buildpackage or debuild

I build a package from my own source using dh_make and dpkg-buildpackage. The install-file in /debian specifies the destinations for the project files. To make the installed program work, they need to ...
3
votes
2answers
82 views

PPA build fails due to Python.h missing

I'm trying to package my application for Ubuntu using PPA. The build fails because it can't find Python.h (build log here). This library is provided by libpython2.7-dev and I have it in build ...