Questions tagged [packaging]

refers to the creation and maintenance of Debian or snap 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.

Filter by
Sorted by
Tagged with
5 votes
1 answer
225 views

Why ubuntu sources are different to the originals?

When I do: wget ftp://ftp.openbsd.com/pub/OpenBSD/OpenSSH/portable/openssh-5.8p1.tar.gz wget ftp://ftp.openbsd.com/pub/OpenBSD/OpenSSH/portable/openssh-5.8p1.tar.gz.asc gpg openssh-5.8p1.tar.gz.asc ...
7 votes
2 answers
279 views

How do I package an application to submit to the MyApps portal?

I'm trying to submit my app to the MyApps portal. I really don't get it what I should submit, source code or deb package? If source, in which format, whole app as zip, tar.gz...?
3 votes
1 answer
3k views

Add new files into .deb package you're building

How do you add new files, eg custom init script into .deb package that you're building?
1 vote
1 answer
160 views

How do I help uploading (printer) drivers to the Ubuntu repositories?

I have a new printer (a Brother MFC-9970CDW, so a pretty new one at the hour of me writing) and I tried to connect to it through the "Printing" utility. But at the step where I am supposed to select ...
14 votes
1 answer
2k 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
2 answers
293 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 ...
5 votes
1 answer
211 views

Creating a deb package that can be used by Lucid, Natty and newer versions of Ubuntu

I don't even know if it's possible. If I need to create separated packages, please explain why.
8 votes
3 answers
473 views

How do I turn my source code into an Ubuntu package and how do I get it in the repositories?

I have written a program in C and I wish to create an Ubuntu .deb package. How do I do this? How do I get it included in the Ubuntu official repositories?
0 votes
1 answer
265 views

Make a backport for a 32 bit system using prevu on a 64 bit system

I want to make a backport of a package (in my case luakit) on my 64 bit machine (ubuntu natty) for a 32 bit machine (ubuntu jaunty) using prevu. What are the detailed steps to do this?
6 votes
2 answers
613 views

Is there a way to test packages I build for correct dependencies?

I'm absolutely new to packaging, so forgive me if I am asking something obvious for an experienced packager... How can I be sure that mentioned all the dependencies correctly in my package? Say that ...
15 votes
2 answers
5k views

Manually Created .deb, how do I upload to a PPA?

I have a manually created .deb, and I'd like to upload it to a PPA. My question is as follows: Is that possible? and If so, how do I do that?
15 votes
0 answers
747 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?
5 votes
2 answers
4k views

How can I add my application to the Ubuntu repository? [duplicate]

Possible Duplicate: How do I put a package into the Ubuntu repositories? I've just made a project called tgames and want to add it at the ubuntu repository... (multiverse or universe or anything) ...
1 vote
1 answer
330 views

Packaging best practices for third-party dependencies

I'm packaging an application for the first time for Ubuntu. I have a few dependencies, the primary ones being Qt and ICU. I'm just not clear how to deploy these applications without getting into a ...
5 votes
3 answers
5k views

How do I make/extract/modify source of a package and repack it?

I have a package which has bug, and i need to modify it, and repack it, So thats how i am doing. Is there any other quick methods? List/View only (drivers files or applications) ar tv DesktopVideo-8....
1 vote
2 answers
2k views

How do I remove ia32-libs from the Depends line as generated by shlibs:Depends?

I've created a package which contains 32-bit libraries for compatibility with 32-bit applications on 64-bit systems, stored in /usr/lib32. This causes the ia32-libs dependency being added to my ...
1 vote
1 answer
447 views

How do I make package files install to the correct location?

I have made a python application and managed to create a package. However, when I install the package, no files seem to be installed. I have created an app.install file in the debian directory which ...
3 votes
1 answer
113 views

What file is the package description in?

I am wanting to fix a typo in a package description, however I don't know how to access this information. I can see it using the apt-cache show command, but where does the package manager actually ...
10 votes
1 answer
843 views

How does Software Center determine what is a "technical item" and what isn't?

I'm a total newb to packaging, but I managed to get a PPA set up and working. But when I look for my software in Ubuntu Software Center, it will only show up after clicking "Show _ technical items". ...
2 votes
1 answer
165 views

If an application has a gtk3 backend, should it be enabled for 11.10?

If an application has a gtk3 backend and a gtk2 backend, should the package maintainer compile it with the gtk3 backend or can he/she decide which backend to use? Can I file a bug if an application ...
6 votes
1 answer
6k 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 ...
4 votes
2 answers
330 views

Package not available for this type of computer

I am creating a deb package for an opensource project I have started called WideMargin When I try and install my deb package in 10.10 using the Ubuntu Software Center I get the following text on ...
0 votes
1 answer
111 views

Localization of kturtle

I'm trying to localize kturtle in bengali... But I found the way very difficult to start it. Please suggest some easy way(IDE-which is used to debug or edit the source code). Where I can find the ...
6 votes
1 answer
3k views

How do I get debuild to put the binary in /usr/bin?

I have been recently trying to package a small Python utility to put on my PPA and I've almost got it to work, but I'm having problems in making the package install the binary (a chmod +x Python ...
3 votes
1 answer
2k views

"io: postinst-must-call-ldconfig" when creating a package

I'm trying to create an ubuntu .deb package for the (pretty awesome) Io Language. I am not the developer of that language, so I'm not familiar with its sourcecode yet. This is my first attempt at ...
6 votes
2 answers
473 views

How to maintain a patched upstream package

I'm looking for the best way to maintain a patched version of an upstream ubuntu package. Here's the situation: We have our own server running reprepro, which would host the modified package. Our ...
7 votes
1 answer
2k views

How can I upload package for several ubuntu versions to Launchpad automatically?

See the title. I using dput and in my /etc/dput.cf : [ppa] fqdn = ppa.launchpad.net method = ftp incoming = ~onto/onto/ubuntu/ login = anonymous allow_unsigned_uploads =...
3 votes
2 answers
619 views

Packaging a Java web application: Reuse tomcat6 or separate process?

I would like to package my java web application http://kunagi.org/ for Ubuntu (and Debian). Should the package create a user kunagi, provide an init script and configuration files for the existing ...
1 vote
1 answer
63 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 ...
7 votes
1 answer
603 views

What are Launchpad packaging recipes and how can I use them?

As I understand it, packaging recipes are a way to automate packaging into a PPA from a bzr branch. What I'm not sure of is how to go about setting one up. I have read the documentation but for some ...
2 votes
1 answer
175 views

How to fix a build when trying to patch the original file?

I'm trying to create a package of Bugzilla 4 in a Launchpad PPA. Keep getting a malformed patch and have redid the patch from ground up numerous times without any success. One of the logs can be seen ...
4 votes
2 answers
343 views

PPA & Packaging: Packaging Source as a Binary Package

I'm trying to create a .deb for a python-based IRC bot. I've already gone through the Ubuntu Packaging Guide, and done a debuild -S on it to create the source package. When its uploaded to the PPA, ...
19 votes
1 answer
651 views

How to apply a changelog file to packages in a PPA when building from recipe?

When my package gets build by launchpad using a recipe, it ignores the ./debian/changelog file I provide, and it generates a useless one like following: harmonyseq (0.14~natty1) maverick; urgency=low ...
6 votes
1 answer
235 views

Adding PPA on install

I have a app I am packaging for ubuntu. I don't like the idea that if included in the ubuntu repositories I will have no control over updating that application. I don't want my users stuck on an out ...
27 votes
3 answers
5k 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 ...
16 votes
3 answers
2k views

How to create and administer multi-architecture PPAs?

I have a program that needs to be recompiled for every ubuntu version. Currently I am packaging it using Ubuntu's PPA just for the current distribution. Eventually, I have to provide packages for ...
6 votes
1 answer
763 views

How to use one recipe to create packages for different ubuntu series (trouble with ./debian/changelog)?

The launchpad's beta feature allows to create ubuntu packages using recipes. I got them to work, and I am now able to use them for packaging my project. However, I have little trouble with the ./...
2 votes
1 answer
229 views

What do the dependencies of 'Finch' (CLI IM client) do

Bug #395001 is currently giving me a headache. The OP is attempting to install Finch, a text-based instant messaging client, but is upset about the amount of dependencies that are being installed. ...
3 votes
2 answers
581 views

How to upload a qmake-based package to my PPA?

I have an application that uses qmake that I'd like to upload to my PPA. How can I set up the package so that the project builds properly?
7 votes
2 answers
2k views

How can I specify a dependency between 2 versions of a package?

In a debian/control file, how do I specify a dependency on a package between 2 versions of that package? For example: python 2.5 or higher but lower than python 2.7. Depends: python ($...
4 votes
2 answers
2k views

How can I make a program (using SDL) built on Ubuntu work on other systems?

I'm writing a program that uses OpenAL. When I link against it (I'm using CMake), it also links against libpulse - PulseAudio. This results in the binary not working on other systems. Can I somehow ...
5 votes
3 answers
465 views

How do I get a patch applied to a package, when the upstream maintainer does not seem active?

I know of bugs where there is a fix available, which has been posted upstream. However, the upstream maintainer hasn't responded to the patch, or applied it to the project's source code. Would it be ...
4 votes
1 answer
365 views

How to include applications/software in Canonical Partners repo?

There seems to be no publicly documented information about how to get applications included in the Canonical Partners repo. How does an app/software get included there? What are the benefits? Do ...
3 votes
3 answers
77 views

How are bugs in item descriptions in the software centre fixed?

Where would I find the source files that pertain to the package listing in the software centre? I'm guessing the SC is just a window through which these listings are viewed, rather than being a part ...
15 votes
1 answer
6k 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 ...
2 votes
2 answers
2k views

Packaging a Java web application: .war or symlinks to dependencies?

I would like to package my java web application http://kunagi.org/ for Ubuntu (and Debian). Should the package install a .war file which contains all the required dependencies (.jar files)? Or should ...
3 votes
2 answers
3k views

How make a configure/makefiles from an C file?

Hope this is not a stupid question. But here it goes... Over the last month I have learned Programming in C and Gtk to a point where I have written a small program in C. I would like to make a ...
1 vote
1 answer
1k views

What calls PostgreSQL's initdb on package installation?

I'm trying to a build a custom package of PostgreSQL with some configuration tweaks suitable for our application. Part of that configuration involves a pg_hba.conf using "trust" instead of the ...
10 votes
2 answers
4k views

How can I use local .deb files in my pbuilder builds?

Often I need to create packages which another package depend on (i.e. build dependencies). Instead of having all those packages first being build in my ppa (which can sometimes take some time), I ...
2 votes
1 answer
310 views

How can I get the latest version of Assault Cube?

The one that is currently up is pretty outdated; I was just curious if one such as myself could update, package then upload it?