Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

12
votes
2answers
7k views

What is the difference between dependencies and pre-depends?

What is meant by "depends" and "pre-depends", and the difference between those 2 types of package requirements when I am installing something in Ubuntu?
12
votes
1answer
1k 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 ....
10
votes
2answers
5k views

how do you create a “signed” deb package

I want to create a number of deb packages, but I don't know how "signing" packages works. So I was wondering how to create a signed deb package.
10
votes
3answers
6k views

How do I add a binary file to my existing PPA package

Adding modified or new text files to my PPA package is simple enough: Step 1: apt-get source [foo-package] cd [foo-package] Step 2: add or modify new text files containing the changes Step 3 - ...
6
votes
2answers
4k views

how to do a pbuilder-dist build with dependencies in a ppa?

I'm trying to build a package for my ppa that uses packages from two other ppas. I want to do a test build using pbuilder-dist. I have done this before and I know that I need a combination of: ...
6
votes
1answer
1k 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: ubuntu-dpkg-...
5
votes
2answers
1k 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 ...
4
votes
2answers
4k views

How to create a Debian source package with Qt Creator?

What do I need to do to get a package that I can submit to the Ubuntu Software Center?
2
votes
1answer
473 views

dh_install -O--buildsystem=cmake dh_install: missing files: usr/lib/*/lib*.so

I am trying to publish my cmake project to ppa at launchpad. The project is a library named "base". bzr builddeb -- -us -uc -sd fails with following error while trying to fake install dev version of ...
9
votes
6answers
1k views

What is the proper way to patch Wine for a custom PPA?

I've been manually applying patches to Wine for use on my own machine, but I want to put it in a PPA for my friends and relations. Currently I follow this procedure: Get the latest source from an ...
8
votes
2answers
1k 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 ...
7
votes
1answer
782 views

How can I create a .deb file that adds a repository to sources.list.d?

I want to start sharing .deb files that automatically add new repos to an Ubuntu installation (like the ones present in puppetlabs.com). How can I do that?
6
votes
7answers
1k 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 ...
5
votes
3answers
5k 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 ...
1
vote
1answer
5k views

debian/rules error “No rule to make target”

i'm having some problems creating a .deb file with debuild before reading some tutorials i managed to make the file but i always get this error: make: *** No rule to make target «build». Stop. ...
1
vote
1answer
505 views

Changing one build option in a package

I want to use the graphviz package on an Ubuntu system, but according to the build log it is configured using --without-gts, whereas I want GTS support to be included (I don't know if there's a reason ...
5
votes
3answers
4k 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....
5
votes
1answer
1k views

Change environment variables in debian/rules according to debian/control targets

I have this package mypackage which is already bundled for Ubuntu. For setting the compiler, debian/rules contains DEB_CONFIGURE_SCRIPT_ENV += CC=gcc I would now like to extend the package in that I ...
5
votes
1answer
3k views

How can I build i386 and amd64 packages on my amd64 laptop using debuild

I would like to be able to build multiple versions (i386 and amd64) of my package that has non trivial dependencies (gtk, etc). My build script uses cmake. At the moment, the command debuild -i -us -...
5
votes
1answer
189 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 ...
4
votes
2answers
1k views

How do i create my own php 5.3.3 package/ppa?

I really would like to create a package for php 5.3.3 and then make a ppa for it (I would like the php-fpm support but inside the newest release), however this question goes further than this. I ...
4
votes
2answers
722 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. http://download.ueseo.org/sitemap-creator/SitemapCreator2.1-...
3
votes
2answers
772 views

How to build source package with `pbuilder` for PPA upload?

I am trying to use pbuilder to upload to PPA. Package builds ok with the command: sudo pbuilder build <package>_<version>.dsc But upload fails with error: Source/binary (i.e. mixed) ...
3
votes
1answer
975 views

dh_auto_configure with buildsystem=cmake failing

I am trying to publish my cmake built project to my launchpad ppa. While I am doing fake build below is the error being thrown. gowtham@ubuntu:~/Packages/build-area$ pbuilder-dist xenial build ...
3
votes
1answer
122 views

How to create a .deb file just for copying certain icons and one javascript file to particular locations?

Okay,So I have wasted my whole day and still unable to figure out how to do that the easy way.I have been to the debian land and ubuntu packaging land.I have read about equivs and various other ways ...
2
votes
1answer
2k views

Error when creating debain source package with dpkg

When entering this dpkg-source -b <packagename> into the terminal to create a debian source package, I get the following error: dpkg-source: error: syntax error in ResolutionX_1.0-0/debian/...
2
votes
0answers
2k views

How to build a newer version of a package than is available for my stable release?

I want to use a newer package version with my stable Ubuntu release. Asking for backport takes too long without visible result, so I thought that maybe I can build newer version myself. Can anybody ...
1
vote
1answer
196 views

How to easily bump a package for a PPA?

What's the easiest way to bump the version number for a package that shall be uploaded to a Launchpad PPA? For instance, what I do now is that on each new release I unpack the previous *.debian.tar....
0
votes
1answer
124 views

Quickly gives warnings on packaging, not recognizing setup.py~

I have been trying to make an application and package it and so on, but I have run into a lot of errors, so I'm trying to get back to basics: After the command quickly create ubuntu-application dj1 ...
0
votes
2answers
2k views

Automatically sign package files from debuild and upload with dput

I've created a source package for I library I'm working on. I use debuild to build it and then I can successfully upload it with dput. Now I want to set it up so that I can do this automatically ...
8
votes
2answers
780 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 ...
6
votes
2answers
7k views

How to create a .deb package from compiled source files?

Question: Mono 3.0 is out, but I found no ppa from where I could install it. There is this one: https://launchpad.net/~directhex/+ppa-packages but it's mono 2.10.8.1-5. I'm playing with ASP.NET ...
5
votes
1answer
774 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 ...
4
votes
2answers
187 views

Are Click packages obsoleted by Snappy packages?

Are Click packages obsoleted by Snappy packages? Should I focus on learning how to make snappy packages, and ignore the click documentation?
4
votes
1answer
3k views

Which target in debian/rules do I need to use for generating documentation?

I have run into some problems creating Debian packaging for a shared library. The application contains a Doxyfile which is used to generate documentation for the library. I would like to create a ...
4
votes
2answers
2k views

Getting set up with git-buildpackage, pbuilder, etc, for software packaging

I'm packaging software at work and the scope has increased to have Lucid-based as well as Karmic-based versions. Right now I just build inside a Karmic VM using git-buildpackage calling debuild, but I'...
4
votes
4answers
216 views

How can i avoid downloading packages every-time I install my Ubuntu? [duplicate]

Every time i install Ubuntu on a computer I have to download the applications/packages with total size of 1.5~2GB and it took lots of my network bandwidth & time!! How can I avoid downloading the ...
3
votes
2answers
454 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 ...
3
votes
1answer
548 views

How does Click/Snappy solve dependency issues?

There is a bit of confusion surrounding click and snappy. For one, I understand that there are certain packages that are not allowed to be shared due to app-armor. For example, if I write a Qt ...
2
votes
2answers
3k views

How to add permissions to files installed by dpkg-buildpackage or debuild

I build a package from my own source using dh_make and dpkg-buildpackage. The install-file in /debian specifies the destinations for the project files. To make the installed program work, they need to ...
2
votes
2answers
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 ...
2
votes
3answers
2k views

How to detect architecture of a .deb package?

There is a .deb package in a repository which is declared to be 32bit, but installs 64bit binaries. This is the case for both installing through apt-get from the repository as well as with downloading ...
2
votes
1answer
2k views

dpkg-shlibdeps: error: couldn't find library needed by .so while packaging a package dependent on my another package

I have packaged a library named base and uploaded to my ppa:satyagowtham-k-gmail/ferryfair.ppa. launchpad has successfully built the base package and I successfully installed it by sudo apt install ...
2
votes
1answer
186 views

Quickly, setup.py, long_description - how to make them generate a multi-paragraph description in the debian control file? [duplicate]

Possible Duplicate: How to define multiline long_description in quickly's setup.py? How can I make Quickly convert the long_description in setup.py into several paragraphs in the debian ...
1
vote
2answers
122 views

Can apt actions delete/modify files inside exiting user home?

I somehow always assumed that when I run a command like apt-get install, remove, purge then at most apt might add configuration dot-files files to my existing local home (not even sure about that), ...
1
vote
1answer
1k views

What is changelog.Debian.gz file during packaging?

while packaging I encountered following error dh_builddeb dpkg-deb: building package `remotedevicecontroller' in `../remotedevicecontroller_1.0-1_i386.deb'. dpkg-source -b remotedevicecontroller-1.0 ...
1
vote
1answer
413 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 ...
1
vote
2answers
75 views

Cannot build on launchpad

I have succesfully uploaded my app to launchpad:However it fails to build on both i386 and amd64. Here is the link: https://launchpad.net/~mkamenjak/+archive/ubuntu/bugappppa/+packages Here is the ...
0
votes
1answer
1k views

where or how to compile or download libzdb-devel

I'm trying to compile the development library for libzdb, because dbmail requires this dev package to compile. While I've downloaded and compiled the package from libzdb, this is just the regular ...
0
votes
2answers
196 views

What in Quickly creates an empty …/share/gnome/help/…/C/figures/ folder?

Something in packaging scripts creates an empty figures folder where it's not present before this packaging. Where is it?