0
votes
2answers
52 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 ...
1
vote
2answers
77 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. ...
4
votes
1answer
87 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 ...
2
votes
1answer
65 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?
0
votes
0answers
75 views

How to avoid installing custom packages twice on Ubuntu 12.04

I have created a custom packages using dpkg --build . In the DEBIAN dir I have placed all the required files for package installation namely control,preinst,postinst,prerm etc. When I try to ...
2
votes
1answer
395 views

Packaging nodejs code, how do I prevent lintian from complaining about ./node_modules?

We ran into this problem while packaging some software written in nodejs. Because we can't package each and every dependency separately, we need to ship the node_modules/ directory along with the ...
3
votes
1answer
112 views

What is a tainted binary package?

Using dpkg I created some debian packages containing self-written libraries that install without problems. But when I try to run lintian on one of them, I just get the following error: warning: ...
3
votes
3answers
4k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu ...
4
votes
3answers
971 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
406 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
901 views

How to automate the pass phrases when GPG signing dpkg-buildpackage?

I'm using dpkg-buildpackage and I would like to fully automate my scripts, but I cannot find how to GPG sign the packages and automate entering the pass phrases in my Continuous Integration System. I ...
4
votes
5answers
5k 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 ...
1
vote
1answer
246 views

dpkg and equivs

i am trying to make a metapackage with equivs, creating the package is working perfect, but installing it is giving me an error: Selecting previously deselected package testdeb. (Reading database ... ...
6
votes
2answers
2k views

What is the difference between dependencies and pre-depends?

Can some one explain me what is meant by dependencies, pre-depends and the difference between those 2 type of package requirements when I am installing something in Ubuntu?
1
vote
1answer
2k views

fakeroot debian/rules binary error

I have a package I'm maintaining. When I issue "fakeroot debian/rules binary" I get this error: dh_install --sourcedir=debian/tmp cp: cannot stat `debian/tmp/usr/share/prg/1.svg': No such file or ...
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 ...
2
votes
0answers
527 views

Creating .deb with javahelper [closed]

I have already lost the full day trying to figure out what I'm doing bad. I can't package my Java application into .deb package. The steps I'm doing are: 1) Copy the src files into folder with name: ...
30
votes
1answer
4k views

How to create a meta-package that automatically installs other packages?

I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ...
6
votes
1answer
889 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
498 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 ...