0
votes
2answers
54 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 ...
2
votes
1answer
80 views

What is the correct way to create your own packages for local installation?

I am running an Ubuntu 12.04 LTS server. I currently have an issue where one of my used packages has an annoying bug. Instead of removing it and just building it from source, I want to integrate it ...
1
vote
1answer
162 views

What is changelog.Debian.gz file during packaging?

while packaging I encountered following error dh_builddeb dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'. dpkg-source -b remotedevicecontroller-1.0 ...
2
votes
1answer
144 views

How to make a dependency to the latest version of boost?

I'm packaging a couple of libraries that have some dependencies with one-another. To simplify, let's say I have: libA and libB. libB depends on libA for both building and installing. libA depends ...
2
votes
1answer
148 views

Debian Package Creation- how to define environment variables within the package

I built a package with the sudo-ldap package defined as a dependency in the control file (please see below). I'm going to have people install using the gdebi command to install which should install ...
2
votes
2answers
398 views

How to use 'apt' to get source code and then do separate compile

I want to get the source code for a project and then build it the same way that apt would. E.g. I want the working source code and be able to run 'make' or similar command on the source. How can I ...
5
votes
1answer
190 views

upstart init script remains on apt-get remove

I just created my first .deb file ever from a Python script. I included a package.upstart file under package/debian and all installed great. However, I noticed that apt-get remove package leaves the ...
4
votes
3answers
792 views

always purge on remove in package

I am maintaining a debian package, which includes some config files that are installed under /etc/. Is there a way I can somehow make the package to always automatically --purge itself whenever a user ...
3
votes
2answers
328 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 ...
3
votes
1answer
109 views

Why does APT want to upgrade my package?

I need nginx compiled with a special flag, so I grabbed the source from the nginx stable PPA (apt-get source), changed debian/rules, built it and packaged it with debuild/dpkg-buildpackage, and ...
6
votes
2answers
152 views

Steps for creating a slightly modified package and uploading it in a PPA?

I just want to use an Ubuntu package from the official Ubuntu repos, modify its source just a tiny bit (it will not affect dependencies or anything) and then upload it into a Launchpad PPA I made for ...
2
votes
1answer
288 views

Custom package is uninstallable

I have a custom package I've built, python-amqplib, which relies on python >= 2.5. I'm using repoman to push to my repo via Jenkins, which reports the build was pushed successfully. After an apt-get ...
3
votes
4answers
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 ...
9
votes
1answer
337 views

What happens during a package upgrade?

I recently started building Ubuntu packages for my software on Launchpad. They are pretty simple; most of them just contain some files and scripts that are trigged through the .install .preinst ...
1
vote
2answers
138 views

Prevent .deb package from being upgraded

I maintain a package on launchpad that releases approx every month. However, our new version is no longer compatible with the previous version, because of some fundamental changes. So version 2.8 ...
4
votes
1answer
87 views

Is there a utility similar to “apt-file” that can search source packages?

I'm looking for a utility similar to apt-file that allows me to search the contents of source packages for certain files, rather than just binary packages. Is such a utility available for Ubuntu?
1
vote
1answer
40 views

If I add some packages to “Recommends:”, will apps pull them in with the update?

I have a quesion about Debian packaging. I know that if I make a package depend on a larger number of packages then before, the newly introduced dependencies will be automatically downloaded by almost ...
25
votes
1answer
8k 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 ...
6
votes
1answer
860 views

Building a .deb file, install dependencies too

I am part of a small team that develop an intranet web app. We want to a method of easy installation, so we were thinking about how apt-get works, especially with installing dependencies. Our app has ...
5
votes
1answer
444 views

Can you recommend a good tutorial on building custom package versions?

After installing Ubuntu 11.04 I was disappointed by the fact there are still Scala 2.7 (when 2.8 is long ago current actual branch) and Mono 2.6 (when pretty a time has passed after 2.8 release). I am ...
3
votes
1answer
148 views

How can I make sure that pinning with apt-get is compatible with virtual packages?

In order to allow php5.2 being used on lucid, I created a ppa (ppa:txwikinger/php5.2) and build several php5.2 packages there. In order to prefer those packages I have given instructions to pin them. ...