1
vote
2answers
68 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. ...
0
votes
2answers
35 views

Doing a fresh ubuntu install without having to reinstall packages

I'm currently on debian wheezy and I want to install Ubuntu. I'm on a slow broadband connection and I do not want to download all the packages again that I installed on the debian installation. Is ...
0
votes
1answer
46 views

What's the typical algorithm that is follwed when installing a debian package with dpkg?

How things work when you install a debian package(s) with dpkg? I'd like to have an idea of how things are handled right after your fire in the command, like the unpackaging and especially the ...
0
votes
0answers
73 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 ...
1
vote
1answer
664 views

Where should I place templates and config file in debian hierarchy

I am writing a debian binary package for my application (foo). The postinst (post install) script wants to ask the user few questions and get the answers as well. I am trying to achieve this using ...
1
vote
0answers
207 views

How do I upgrade my code from dpkg-deb to dpkg-buildpackage

I inherited code that builds the .DEB using dpkg-deb -b -Zgzip -z9 debian ../$runner This works well, except that when the end user runs it, it refuses to install missing dependencies. Instead it ...
3
votes
1answer
1k views

unstripped binary or object creating debian package

I'm new to package creation and I'm trying to create a .deb package and keep getting 'unstripped-binary-or-object' on all my libraries and executables. I have everything setup in the directory tree ...
2
votes
1answer
208 views

How can I include a custom command in deb file, to be executed at the end of installation?

Well, I like to mark /usr/bin/program.sh as executable using following command: chmod +x /usr/bin/program.sh I want the above command to be executed at the end of installation of the Debian ...
3
votes
2answers
393 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 ...
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 ...
3
votes
2answers
431 views

Can I install Debian Unstable Scala 2.8.1 package in Ubuntu? Won't it cause problems?

I am coding Scala and would like an up-to-date 2.8.1 of it to be installed in my Ubuntu 10.10 system, but there is only obsolete 2.7 package available in Ubuntu repositories, so I have to go ...