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.
707
questions
4
votes
1
answer
239
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 ...
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 ...
4
votes
2
answers
345
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, ...
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 ...
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 ...
4
votes
1
answer
2k
views
Viewing the contents of a flatpak
When I install a package, I like to see what it's installed. With apt I can use apt-file show, with AppImages I can view the mounted filesystem, and with Snap I could mount the snap without running it ...
4
votes
1
answer
1k
views
snapcraft build issue: GLIBC wrong version
Rebuilding package with new version after successfully build it last week this week I am having issues:
The GLIBC version of the targeted core is 2.23.
A newer libc will be required for the following ...
4
votes
2
answers
9k
views
How do I create a new application icon?
I'm creating a .deb package for an application (not for public distribution) and want to have an icon for the application for the taskbar, menu, dock, etc. My application's .desktop file has a line to ...
4
votes
1
answer
239
views
How do I submit a patch to an ubuntu package which is using git?
Some ubuntu packages are now using Launchpad's git support. e.g. apache2 https://code.launchpad.net/~usd-import-team/ubuntu/+source/apache2/+git/apache2
How do I create a Merge Request for such a ...
4
votes
1
answer
436
views
Packaging MATLAB (or, more generally, a large binary, proprietary piece of software)
I'm trying to package MATLAB for internal distribution, but this could apply to any piece of software with the same architecture. In fact, I'm packaging multiple releases of MATLAB to be installed ...
4
votes
2
answers
1k
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-...
4
votes
1
answer
216
views
How can I make sure that pinning with apt-get is compatible with virtual packages?
In order to allow php5.2 being used on lucid, I created a ppa (ppa:txwikinger/php5.2) and build several php5.2 packages there. In order to prefer those packages I have given instructions to pin them. ...
4
votes
1
answer
672
views
Creating a Debian package for a Qt application built using CMake
I would like to create a .deb installation package for a GUI based Qt5 application. Most of the links available for this problem are pretty old, so I'm curious if there are more up-to-date solutions ...
4
votes
1
answer
416
views
python3-pygments is missing the executable
In 18.04 it seems the python3-pygments package is missing the pygmentize executable. That is, with python-pygments I can call pygmentize, but if I uninstall it and instead use python3-pygments, ...
4
votes
0
answers
553
views
How to create *-dev package from source?
I want to install SILE Typesetter which depends on HarfBuzz (libharfbuzz-dev). The libharfbuzz-dev available from repositories is version 1.0.1 (released 2015), while the latest version available from ...
4
votes
1
answer
83
views
Guidelines for packaging web app
For a while now, I'm trying to build an Ubuntu package for PPA upload, and facing all sort of issues understanding bzr dh-make and such. The package is web application (php-based). Most packaging ...
4
votes
1
answer
317
views
How to create and submit package for Qt application
I have an application that I developed in Qt and Ubuntu. Its primary target is Windows but I prefer working in Ubuntu for all sorts of obvious reasons, so I rebuild it using Qt under XP and create an ...
3
votes
2
answers
3k
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 ...
3
votes
2
answers
1k
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 ...
3
votes
3
answers
633
views
How to use stdeb with Launchpad?
I know that launchpad has the policy of only allowing upload of source packages on PPA's (as also explained here).
Yet, a python .deb package has all the source in it and it seems silly that one ...
3
votes
2
answers
2k
views
Trying to resolve PPA issues with libvlccore9 that rendered package management inoperable
Because PPA's don't have an actual bug tracker and they're pretty badly maintained, I figure I would just ask how to fix this here.
The package libvlccore9 in the vlc-master PPA is trying to install /...
3
votes
1
answer
4k
views
badly formatted heading line in debian package changelog
By running debuild, I find the following warnings:
# debuild
debuild: warning: debian/changelog(l1): badly formatted heading line
LINE: my_package (0.3-1) unstable; urgency=low
Where is my ...
3
votes
1
answer
599
views
How to upload to a launchpad team PPA?
I have built and signed a package which I now wish to upload to my launchpad team with dput, but every time that I try to upload it I get this email:
Rejected:
Source/binary (i.e. mixed) uploads are ...
3
votes
2
answers
1k
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
2
answers
32k
views
how to create a .bin file?
I am using Ubuntu 12.04 LTS and I am stuck at creating a simple .bin file which can print a message "hi" or anything else. My objective is to create a binary file.I have searched but didn't found ...
3
votes
2
answers
661
views
How do I find patches in debian packages?
How are the patches in debian/patches obtained?
Is this
diff -Nurp folder/original folder1/new
enough?
3
votes
1
answer
447
views
build deb package that uninstall another package in case of remove or purge
i try to build an package, which can uninstall another package, if my package should be uninstall.
I have tryed the "Depends" and the "Pre-Depends" policy in the control file. But ...
3
votes
2
answers
430
views
How does ubuntu manage packages?
A noob here. I really want to learn or at least have some ideas on how software is packaged in Ubuntu.
Is it compiled and packaged by the package author?
Or is it compiled by Ubuntu developers?
How do ...
3
votes
1
answer
5k
views
Creating deb package that depends either on A or B package
I created a deb package that has:
Package: foo
Depends: libssl1.0.1 (>= 1.0.1)
This works fine on trusty or jessie but it won't work on zesty since libssl1.0.2 is a different package than libssl1....
3
votes
1
answer
4k
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
3
answers
6k
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 ...
3
votes
2
answers
627
views
What to use for building ubuntu/debian packages?
I've been inspecting different howto's and guides on how to build packages lately. And there seems to be a lot of ways one could go about it. So I'm a bit confused about what exactly to use. That is I'...
3
votes
1
answer
3k
views
What is a '.orig.tar.xz' file in packaging?
I have recently started packaging a bash script of mine into a .deb file so that I can upload it to my PPA, and I have noticed a lot of talk about a file which seems to have been created from my ...
3
votes
3
answers
116
views
When to use separate PPAs?
I'm interested in setting up PPAs for a few projects that I'm working on, and I'm trying to find out how many PPAs I need. Should I create one PPA for each project, effectively having a single ...
3
votes
3
answers
255
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 ...
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?
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 ...
3
votes
1
answer
404
views
When installing, command in `postinst` always results in `$?` = `0`
I have a postinst script in my debian package:
#!/bin/bash
oqm-config -g system.hostname
RESULT="$?"
if [ "$RESULT" -eq 1 ]; then
oqm-config -s system.hostname $(hostname).local ...
3
votes
2
answers
854
views
How to notify a package maintainer about upstream updates?
I am running a pacemaker, pcs, corosync and I've just found that the current ubuntu package "fence_agents" is not as updated as the upstream source by various versions.
Specifically, I'm having ...
3
votes
1
answer
2k
views
Examples of multiple binary packages
I'm trying to include a preview of the new experimental Gtk+ 3 build of Inkscape in our PPA... I want to compile the upstream source using different compile-time options to generate two different ...
3
votes
1
answer
2k
views
How do I resolve Debian packaging issue with ${python:Depends}?
I am trying to build a python-based Debian package and I see the ${python:Depends} variable under the Depends section in the control file.
While installing, I see that it refers to the python-...
3
votes
1
answer
148
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 ...
3
votes
1
answer
293
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 ...
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 ...
3
votes
1
answer
517
views
Turning node.js projects into snap packages
How can I convert node.js applications into Ubuntu snaps?
I found this page on the Ubuntu developer website but the tutorial has been moved or removed.
My nodejs application is built on MEAN stack.
3
votes
1
answer
2k
views
How to define an optional dependency in a debian package
I'm working in some Debian packages and at some point I'd like to add optional dependencies, e.g. if foo-pkg is marked as to be installed at the same time as my-pkg let foo-pkg install first and then ...
3
votes
1
answer
412
views
What is a package stanza?
Briefly speaking, how to define a package stanza?
It arrives by running dpkg-gencontrol in a package directory:
# dpkg-gencontrol
dpkg-gencontrol: error: no package ...
3
votes
1
answer
1k
views
What are dynamic and static linking?
I hear the terms "Dynamically linked" and "Statically linked" tossed around in regards to packaging, and I have never been clear on what these terms actually mean.
What are dynamic and static ...
3
votes
1
answer
2k
views
How can I edit debian/rules? [duplicate]
Im trying to follow the steps described in the solution to this question:
Microphone - static background noise suppression
And one of the steps is to edit the debian/rules file but it doesnt explain ...
3
votes
2
answers
4k
views
Install PyCharm IDE from repo (without wget)
Is there a way to install the PyCharm IDE (community version) from a repo (without wget).
I think the wget method found in many blogs is too complicated.