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

PPA package: Specify different dependencies for different Ubuntu versions

Let's say I have a PPA package that depends on the libtool executable to build. In Vivid, this executable is provided by the libtool-bin package. For earlier Ubuntu versions, it is provided by the ...
6
votes
4answers
11k views

Compiling source into a DEB package

I have always had a problem installing and removing compiled software, so I have decided I would like to build software from source into a .deb package for easier installation/removal. I would like ...
0
votes
0answers
8 views

Merge conflicts when updating package with “bzr merge-upstream”

I've been trying to update an ubuntu package. The steps I've followed are: bzr branch lp:ubuntu/libwebsockets cd libwebsockets bzr merge-upstream bzr commit -m 'New upstream release' The next step ...
3
votes
1answer
79 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 ...
1
vote
1answer
56 views

Where to save Yelp files?

I've written some yelp pages using Mallard. Now I would like to know where to save them correctly in the file system (packaging). The saved Yelp files should be displayed when opening Yelp -> Go ...
0
votes
0answers
21 views

Debian: Remove files from a source package

There exist a dh_install command who reads install, pkg.install and install additional files. Does exist something similar for removing files who are installed by upstream sources but I don't want to ...
-1
votes
0answers
86 views

Error while installing Opencv on ubuntu 14.10

when i am installing Opencv from this blog in the make step i am getting this error /usr/bin/ld: /usr/local/lib/libavcodec.a(avpacket.o): relocation R_X86_64_32S against av_destruct_packet' can not ...
2
votes
2answers
26 views

Dch non-interactive mode

I'm trying to find a way to run dch in non-interactive mode, in order to incorporate the debian/changelog file creation and manipulation within a shell script. It seems that only when running it ...
2
votes
3answers
3k 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? ...
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
15 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
15k 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
23 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
33 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
49 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
9 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
37 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
23 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
43 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
15 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
25 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
54 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
91 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
801 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
77 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
19 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
46 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
11 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
40 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
12 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
85 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
101 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
33 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
820 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
518 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
24 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
48 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
49 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
37 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
91 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
23 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
22 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
62 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
74 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 ...