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

0
votes
0answers
24 views

How does Ubuntu install .deb files?

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
9 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
0answers
6 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
20 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.
0
votes
1answer
20 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 ...
1
vote
2answers
93 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
25 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 ...
0
votes
0answers
20 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 ...
0
votes
1answer
19 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
30 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
26 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
30 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
16 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
0answers
25 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 ...
0
votes
2answers
18 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
24 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
35 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
17 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
0answers
45 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
351 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
50 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 ...
0
votes
0answers
56 views

If I want to test apps on the phone emulator, what kind of emulator do I have to build?

It recomends either i386, but there is an arm version as well; what is the difference? I tried running my app on the i386, but I got this error: 20:31:27: Running steps for project ...
3
votes
2answers
73 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 ...
2
votes
1answer
34 views

How can I run arbitrary commands as part of a deb package install?

I'm creating a ppa deb package for a python module, replacing a pip package (which I also created), and I would like to run "pip uninstall" as part of the deb installation. How can I run "pip ...
2
votes
0answers
55 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 ...
1
vote
1answer
50 views

Creating debian package to install to a path with spaces

I have a Qt application that I want to deploy as a deb package. I have been reading so many sources, all slightly different - most of what I did follows this How To: preparing an application for ...
0
votes
1answer
97 views

Error when modifying rules file in debian packaging

Trying to get my debian packaging to work as I want, I modified the debian/rules file (showing line numbers) 12 %: 13 dh $@ 14 15 override_dh_install: 16 dh_install 17 install -m 644 "My ...
0
votes
0answers
42 views

sbuild errors “but it is not going to be installed”

My goal is to cross-build debian package, so I test on something simple - ncurses. I follow this guide consisting of two commands: ...
1
vote
2answers
123 views

How to pull packages from a git repository without Internet connection?

I am newbie in using git. I need to pull some packages from my friend's git repository but there is no Internet connection in my computer. I need to pull them offline. Is there a way to do it?
1
vote
0answers
26 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
votes
1answer
33 views

can i build ubuntu package without an upstream tar ball using bzr?

I don't want to tar ball my C++ source. I think a good Makefile is sufficient to build an ubuntu package. Can't I bzr dh-make with out making a tar.gz of my source code. My problem is that I ...
1
vote
1answer
30 views

How can I convert a ready Python project into DEB

I am using package guide of Ubuntu (http://packaging.ubuntu.com/html/packaging-new-software.html), but I am stuck in compilation stage. I can compile .deb using dpkg-buildpackage -rfakeroot -uc -us ...
2
votes
1answer
38 views

Building a package for another architecture

I'm trying to patch and rebuild a package (libvorbis, for what it's worth) on 64-bit Xubuntu 14.04. In the past, when I've wanted to do something like this, I've followed this formula: sudo apt-get ...
1
vote
1answer
31 views

Can I upload a deb package with an MIT License to PPA?

I'm trying to build a deb package from source with bzr dh-make and bzr builddeb, but bzr automatically adds the GPL license to my source code folder. Is it allowed to upload projects licensed under ...
0
votes
2answers
34 views

What is Upstream Program? [duplicate]

Maybe it is a ridiculous question but I want to know exactly what is an upstream program? here in this documentation and other debian packaging documentation mentioned upstream program. I want a ...
0
votes
0answers
14 views

Publishing free proprietary app without English UI in Software Center

My app has UI only in local language, non-English. Could it still be published in Software Center? And if so, do I need a description in English?
2
votes
1answer
65 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
19 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
102 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) ...
1
vote
1answer
778 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
2answers
119 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 ...
0
votes
0answers
12 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
2answers
125 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. ...
1
vote
1answer
198 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 ...
0
votes
0answers
25 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
70 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 ...
0
votes
1answer
83 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
34 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 ...