In this context, packaging refers to the creation and maintenance of Debian 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.

learn more… | top users | synonyms

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 ...
-1
votes
2answers
404 views

How do I create a deb for GCC 4.7?

I'm sorry but I have tried the tutorials on various websites. Nothing, so far, has worked. I'm using Ubuntu Maverick 10.10. I've downloaded, compiled and installed GCC 4.7.0. Now I want to make a .deb ...
13
votes
2answers
144 views

Is is possible to get a patch included in the current release? If so, how?

So a while back I reported a bug in Compiz's Place Window plugin. It's a fairly major regression for people affected by it: mainly those using Gnome-Fallback, judging by the reports. A patch ...
3
votes
1answer
159 views

How to make PPA build for particular release

I'm creating my first proper PPA to patch a problem with Compiz. debbuild/dput works fine but Launchpad tells me it's only building it for Quantal. I've no interest in doing that for the minute - I'd ...
0
votes
2answers
237 views

Space escape character in Debian Makefiles

I'm currently trying to upload a package onto Launchpad's PPA service but I'm having problems with a path name which includes a space character. I'm trying to make a file install into a directory with ...
2
votes
3answers
2k views

Ubuntu 12.04 freezes with Ivy Bridge Processor [duplicate]

My machine with an Ivy Bridge CPU is stable under Windows 7 but freezes in Ubuntu 12.04 LTS 64-bit. The freezing appears to occur randomly. I read somewhere that kernel 3.3.6 fixes the Ubuntu freeze ...
1
vote
2answers
221 views

How to package a single text file into a .deb?

I'm trying to a make a simple .deb package, which would basically edit a config of another package I listed as a dependency. I added the required manipulations to the postinstall file. The problem ...
5
votes
2answers
157 views

How do I package a python app for ppa?

I am planning to package FBuntu into PPA for easier distribution. The nature of this app is that the user has to make specific edits to the auth.py file to make it work and hence I am stuck from ...
5
votes
1answer
568 views

How do I submit .jar file to the ubuntu software center

I am writing an app using JAVA Swing for all platforms. After that I want to add this app to Ubuntu Software Center for free Is it possible? My app is just one *.jar file, its helping to play card ...
6
votes
4answers
6k views

Compiling source into a DEB package

I have always had a problem installing and removing compiled software, so I have decided I would like to build software from source into a .deb package for easier installation/removal. I would like ...
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
2answers
330 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 ...
0
votes
1answer
545 views

Cross compile packages, question regarding armhf dependencies

I'm attempting to cross compile a couple Ubuntu Precise Packages, My current arch is amd64 my target is armhf. I have the correct cross compile GCC toolchain installed, I have correctly utilized the ...
3
votes
1answer
7k views

“Cannot load such file — openssl” when running bundle

When I try to use bundler, I get the error: /home/vivek/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- openssl ...
2
votes
1answer
261 views

Create custom package - and add a private repository

While developing a custom, commercial application, I need to provide appropriate automatic updates. Can I create a package that, in addition to containing my specific application, also adds it's ...
7
votes
1answer
4k views

Using the RandR-enabled nvidia 302.xx beta driver in 12.04 with a realtime kernel

How can I use the recent beta of the 302 version of the nvidia driver (which finally supports the RandR extension!) with a realtime kernel in Precise? This question contains information on enabling ...
3
votes
3answers
2k views

How can I convert the Nvidia driver installer into a deb?

Every so often there's a beta version of the Nvidia driver that I want to try out. This has happened today: there's been a big performance issue with version 295.40 and I want to try the shiny new ...
2
votes
1answer
129 views

Java packaging and uploading to a PPA in Launchpad

I have a java application (created as a class) and I want to know how I can (or should I even) convert it to .deb format and then how to upload it to a Launchpad PPA so that everyone could install it? ...
1
vote
1answer
332 views

Add icon to Unity panel during/after package installation

Intro: I am currently creating a custom Ubuntu ISO for an appliance I am creating. All work on the development of this ISO is done in a chroot, so there is no graphical environment. What I would like ...
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 ...
2
votes
0answers
214 views

Setting the icon for my mime type [closed]

I've added my mime type to ubuntu by the .deb package. I made this file for sharedmimeinfo: http://paste.ubuntu.com/920693/ (I know the first row is wrong) I can't see the icon for my extension how ...
0
votes
1answer
325 views

Adding mime type

Hello i'm creating an ide called SLY. Sly creates .slyproj files i want that when user click on it they see the file icon, and sly must open up! i asked on the IRC i made sly.sharedmimeinfo : ...
4
votes
1answer
295 views

Providing a customized config file for another package

We use Ubuntu at work and I will need to make the same configuration changes to many systems so I am packaging these. One of the configuration changes I need to make is setting lightdm to autologin. ...
0
votes
1answer
21 views

Which architectures to support?

I'd like to provide a "deb" package for my software, now I wonder which are the architectures to support? The goal is Ubuntu 11.10 and above. i386 and amd64?
2
votes
1answer
196 views

Is it possible to use 'dch -r' but NOT end up in an interactive editor?

I'm trying use dch -r to update the DEBFULLNAME, DEBEMAIL, and TIMESTAMP in a debian/changelog for automated building of a package. Normally, I'd use dch with -r to do this. But this drops me into ...
0
votes
1answer
437 views

Creating Debian Package For Qt app [duplicate]

Possible Duplicate: Simplest Debian Packaging Guide? I'm writing an IDE in C++ using Qt for the GUI and Qt Creator as an IDE. I have seen many tutorials about the Debian packaging system ...
2
votes
2answers
51 views

Is it possible to follow progress of particular package managers?

I notice that my node.js on the latest Ubuntu is only 0.4.12, but I'm trying to install something that needs 0.6. Is there a way to see the team who are involved in packaging this? Or track progress? ...
2
votes
2answers
209 views

How can I manually assemble my own package “the hard way”?

I would like to know how to create my own .deb packages from the source of a program without the aid of a package manager or any other similar tool (in other words, doing it manually). How difficult ...
6
votes
7answers
567 views

How do I create stand alone packages from ubuntu repository

Is it possible to create a stand alone deb packages by merging dependancies without manual repacking.?? I've looked at this question but it doesn't really answer what I'm trying to achieve above. if ...
2
votes
3answers
202 views

How to make packages cross different Ubuntu release?

I'm the author of some software , which depends on libxx6 (In ubuntu 11.10) , but in 12.04 , the package become libxx7 (7 is not a Ubuntu version number) , so the dependency become a problem. How can ...
6
votes
1answer
769 views

Building multiple packages for deployment on different Ubuntu versions

I need to build debs for Ubuntus Lucid on. I know I can set up VMs/chroots, etc to make a distribution per build, but is there a mechanism from my Oneiric machine to do something like: ...
1
vote
1answer
151 views

Recommended way of packaging a boost::python module?

I have a one-file boost::python module which is compiled using a one-line Makefile. What is the recommended way of packaging it? Distutils? Makefile? CMake? Use CDBS then? Are there some documents on ...
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 ...
5
votes
1answer
153 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 ...
0
votes
1answer
552 views

OpenSSH 5.9p1 on Ubuntu 11.10

I want to build a deb package with the latest version of openssh from source. Then I want to install it on my machine. I am running: Linux Ubuntu-1110-oneiric-64-minimal 3.0.0-12-server #20-Ubuntu ...
7
votes
2answers
212 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...?
1
vote
1answer
140 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 ...
3
votes
2answers
133 views

Help building pygtk application

This is my application. It is created with quickly. I would like to package it for Ubuntu now. I tried to package it with uickly, but that failed. At first, I was trying to install it using ...
9
votes
1answer
338 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
139 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
164 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.
36
votes
5answers
6k views

How do I create a deb package for a single python script?

I have a single python script that I want to distribute as a deb package. It is a indicator which shows local date in Unity panel. I did follow create a .deb Package from scripts or binaries but I ...
0
votes
1answer
159 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?
5
votes
2answers
537 views

How do I package my application for the Ubuntu Software Centre?

I'm an old hand at software development, but not so experienced with packaging. I've built one dpkg before, but it wasn't a source package. I'm working on getting an application submitted to the ...
1
vote
1answer
236 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 ... ...
5
votes
2answers
1k 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?
4
votes
2answers
491 views

How to make a .deb installer for PySide (Qt) project

I have made a small software using PySide, a GUI library for python using Qt. I have successfully built it into an executable for Ubuntu. ...
4
votes
3answers
400 views

Rebuild package from upstream source?

I'm trying to rebuild a package (specifically grub2) to overcome some bugs that have been fixed upstream but not fixed in Ubuntu, and have the package integrate into Ubuntu properly. The package is ...
6
votes
2answers
136 views

How to package an application that contains a binary that needs to be in $PATH?

I am packaging an application that contains binaries that would normally go in /usr/bin and a shared library that would go in /usr/lib. However, the package guidelines for submitting applications to ...
8
votes
2answers
1k 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?