0
votes
1answer
43 views

Architecture specific debian package

I have created debian package XYZ. It has control file which look's like Package: XYZ Version: 1.0 Section: kernel Priority: optional Architecture: i386 Depends: Installed-Size: 1024 I just ...
0
votes
0answers
55 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
0answers
321 views

How to write post install script for my debian package

I want to configure my application for the first time soon after I install it. In debian folder of my application generated by dh_make I found postinst.ex. If this is the file I am looking for then ...
0
votes
0answers
63 views

How to specify a control file in dh_gencontrol?

I want to create a specific Debian control file from a template file. So in rules file i put this option to specify my new control file: dh_gencontrol -- "-cdebian/control_new" This file contains ...
0
votes
1answer
65 views

Add a new target into rules debian file [duplicate]

I want to add a new target rule in debian/rules and I want it to be executed before dpkg-source --before-build. This new target will generate a control file from a template file. How can I do that?
3
votes
2answers
480 views

what is the purpose and role of rules file in debian packaging

I am trying to debian package my C++ application developed with aid of Netbeans 7.3. Here is bit of Makefile of it. APPNAME=remotedevicecontroller install: install config.xml ...
1
vote
1answer
153 views

PyQt App deployment

I'm developing four bioinformatic software's with PyQt. I mostly target Windows OS users but since the programs run without any problems on Ubuntu, I thought to upload them to the USC (I also got ...
7
votes
2answers
187 views

How come the override_dh_build-indep sequence isn't run by debuild?

I'm having a bad time trying to generate some documentation for a shared library within debian/rules. I asked a question earlier about which target to use for generating the documentation. My problem ...
3
votes
1answer
2k views

Add custom steps to source package's debian/package.postinst?

I have a package that incorporates an auto-generated debian/package.postinst.debhelper file into the generated binary. When I put my own code into a file at debian/package.postinst, the auto-generated ...
1
vote
0answers
88 views

Debian package creation for PHP

How to create deb package for PHP code, where code should be installed in a certain dir like /usr/share/phpproject and install a conf file for Apache under sites-available then simlink it to ...
5
votes
1answer
69 views

Submit merged Debian package for inclusion in Ubuntu

I'm currently working to update the version of autogen shipped with Ubuntu from 1:5.12-0.1ubuntu2 in the repositories to 1:5.17.1-1 in Debian. The merge has been completed on my computer and the ...
3
votes
1answer
112 views

Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed?

Is there a debian/ubuntu policy on softlinking things to another location in opt once they're installed properly in usr/share or usr/lib? Here's a simple example: Packaging up dnsenum. It's a ...
11
votes
3answers
233 views

I've filed an ITP bug on bugs.debian.org - now how do I get the package into Ubuntu?

I've written a development library that I would like to include in the Ubuntu archives. From what I understand, the best way to do this is to first get the package into Debian and then request a ...
1
vote
1answer
190 views

How to adjust symbols-file in a package for a shared lib

I am trying to upgrade ktorrent in my PPA to the latest upstream version. It also requires an updated libktorrent package. It seems libktorrent was changed in incompatible ways and thus results in a ...
3
votes
2answers
329 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 ...
2
votes
1answer
277 views

Packaging with CDBS: Unknown sequence cleanbuilddir

I'm trying to create an Ubuntu package for testing, and stick to the rules given at https://wiki.ubuntu.com/PackagingGuide/Complete. As this is CMake build and I need to adapt the arguments to cmake, ...
1
vote
1answer
1k 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? ...
2
votes
2answers
329 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 ...
4
votes
1answer
1k views

How to create debuginfo package?

I have created rpm packages for a software along with debuginfo. For Ubuntu/Debian , I have only the software packaged as .deb but don't know how to create debuginfo .deb package. Please let me know ...
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 ...
5
votes
1answer
909 views

Rename a file during install of a Debian package

I have a python script that I want to package for Debian. I use a debian/install file where I wrote auto_dice.py /usr/bin/ Linitan then complains about the .py extension ...
10
votes
1answer
2k views

How to have Debian packaging generate two packages given an upstream source archive?

I am packaging something for my PPA. The upstream source is a .tar.gz archive which is Makefile-based. Since this package has a significant amount of architecture-independent data, it would be wise ...
14
votes
3answers
443 views

How do I propose my project to be part of Debian too?

I have a new project hosted at launchpad.net. My project can be useful for both: Ubuntu and Debian. However, I can't find a documentation to start host my project at launchpad.net and get my package ...
2
votes
2answers
1k views

How to create deb package from Windows applications?

I want to make a deb file from a Windows application which will be run with wine. how do I make it? As an example, I use Ubuntu Christian Edition and I find the application Virtual Rosary is ...
41
votes
6answers
4k views

What is the simplest Debian Packaging Guide?

I went to the Ubuntu wiki but got confused,there were too many ways.Please tell me an easy guide to debian packaging.
15
votes
0answers
545 views

How do I put a package into the Ubuntu repositories? [duplicate]

Possible Duplicate: How to get my software into Ubuntu? I've created a Python application for Ubuntu. How do I package it and submit it for possible inclusion in the universe repository?