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
0
votes
0answers
17 views

Packaging: Enable universe from an Ubuntu .deb package

I'm constructing a debian .deb package for my application and distributing it through a PPA. If someone follows the PPA instructions verbatim, they get an error message stating that "Some ...
0
votes
0answers
23 views

Don't find site-packages after PC formatting

I don't find the path : '/usr/local/lib/python2.7/site-packages' and '/usr/local/lib/python3.5/site-packages' Does it normal or not? If not, could you tell me the reason? And how to fix it? Please ...
0
votes
0answers
11 views

Running git buildpackage (cowbuilder) noninteractivly (avoid sudo prompt)

I would like to automate package builds with gbp buildpackage, however the underlying cowdancer prompts for root permissions to run. While running the entire gbp buildpackage command with elevated ...
5
votes
1answer
6k views

How to create multiple debian packages using the same debian directory

I am packaging an application in my PC for installation/distribution purposes. I have created the package successfully using dpkg facility in ubuntu 12.04. Now I need to create multiple packages (...
0
votes
0answers
20 views

Debian packaging tutorial: how to update Control and Rules files

I am learning Debian packaging for the Ubuntu 18.04 environment. I am able to create a basic package from tarball to Debian package, however I am not able to make sense on what has to be updated in ...
0
votes
0answers
37 views

Share debian package maintainer scripts and conffiles from existing package to a new package

I have creating two variation of debian packages for python2 and python3. I already have com.python2.package1 created with all of it is maintainer scripts. Now I am try to add com.python3.package2 so ...
0
votes
0answers
49 views

How do you package a kernel module to be hosted on launchpad with GNU GPL v3 and GNU LGPL v3 for the licensing?

I am trying to host a kernel module on launchpad that works with a userspace daemon. I was able to package the daemon and upload it to a ppa, but trying to follow the same process, I ran into a ...
29
votes
3answers
5k views

Why do some packages have extra numbers before a colon on the front of their version string?

I have just noticed that Wine (and a number of other packages) have shifted their versioning scheme to something like: 1:1.6.2-0ubuntu3 I understand everything after the 1:... But what does the 1: ...
286
votes
5answers
366k views

What is an “AppImage”? How do I install it?

I just read Meet Etcher, A Stylish Open-Source USB Image Writer Tool. It talks about downloading an AppImage. Yes, Linux; the Linux packages is distributed as an .appimage for 32-bit and 64-bit ...
3
votes
0answers
350 views

How to create an AppImages from deb or tar.gz?

I have a software downloaded from web in deb and tar.gz files which I have not installed in my system itself. I want to convert these files as an AppImage for personal use. How can I do this? In the ...
5
votes
2answers
212 views

How does one package a python application that includes a gsettings schema with setuptools?

I'm trying to use setuptools to package a python application that relies on gsettings for storing and retrieving user's preferences. However I have not used said tool before and I am unsure about what ...
2
votes
1answer
179 views

How can I create a deb from binaries?

I have a few binary files: foo, bar.so, and foo.lnk. I want to make a deb that will extract foo to /usr/share/foo/foo, bar to that same directory, and foo.lnk to /usr/share/applications. I dont want ...
1
vote
1answer
890 views

Collecting package metadata (current_repodata.json): failed NotWritableError: The current user does not have write permissions to a required path

When i am trying to install any library such as pandas and even when i tried to install clean package using conda install anaconda-clean. it gives an error : Collecting package metadata (...
0
votes
1answer
5k views

Building ffmpeg deb package gives fakeroot debian/rules clean gave error exit status 2

I am trying to build my first .deb package (with ffmpeg sources) and I get some errors. Those are my steps that can be reproduced to get this error: git clone git://source.ffmpeg.org/ffmpeg.git ...
0
votes
0answers
25 views

How to properly specify dependency package versions on a deb package

I'm trying to build a package that depends on libssl. Here's how my control file looks like: Architecture: i386 Maintainer: Name Installed-Size: 938 Depends: libc6 (>= 2.7), libncursesw5 (>= 5....
0
votes
0answers
10 views

Rename a package while building in Launchpad

Is it possible for a Launchpad packaging recipe to rename a package (from whatever there was in the control file) to something else? Some people name their packages com.github.something to ensure ...
0
votes
0answers
21 views

Is it legal for a package to depend on a development package?

I have a package that needs dpkg-dev to be installed. So I've added it as a dependency and it works as expected, but now I'm wondering whether it is legal practice according to the Debian packaging ...
1
vote
1answer
30 views

Given a package name (e.g. libhdf5-serial-dev_1.8.16+docs-4ubuntu1.1_all.deb), how can I know in which Ubuntu distribution(s) it is available via apt?

Given a package name (e.g., libhdf5-serial-dev_1.8.16+docs-4ubuntu1.1_all.deb), how can I know in which Ubuntu distribution(s) it is available via apt-get (apt-get install libhdf5-serial-dev=1.8.16+...
0
votes
1answer
19 views

Building a package that runs tests needing X server (debuild)

I'm trying to make a package for srsGUI a package for drawing plots. Its tests require X server to run. Everything seems to build fine, then it gets to the tests and spits out: $ debuild -us -uc ... ...
0
votes
1answer
145 views

Conventional place to install additional files needed in my DEB package?

I made myself a culture and understood the basics to build a DEB package of my project. What is not clear to me (and which until now in the guides that I have followed has never been specified to me) ...
1
vote
1answer
43 views

Upload error in Launchpad - source file already exists

DEBUG Considering changefile 73927/ubuntu/brightness-controller_2.3.4-0~202004250741~ubuntu20.04.1_source.changes DEBUG Finding fresh policy INFO Processing upload brightness-controller_2.3.4-0~...
2
votes
1answer
568 views

Can't open shared libraries (snap)

I have a problem related to the snap Anbox I created for ARM64 devices. I got it to build successfully, I didn't even get a warning in the priming stage (i.e. I wasn't asked that some files were ...
1
vote
1answer
44 views

License not working inside snap package

we're using ubuntu 16.04 for our packaging of java application in snap. we’ve developed a Java application for face recognition with the help of third party SDK. The application needs license from the ...
2
votes
1answer
395 views

Python rpi.GPIO with Snapcraft / snap?

I'm having great trouble trying to build a snap for a simple python code for Rpi2. Code I would like to put into a Snap is: # External module imports import RPi.GPIO as GPIO import time print("...
0
votes
1answer
76 views

How to customise both choices and description of a debconf question?

I'm currently working on a package script where I need to provide customised choices and also wish to provide an extended description based on those choices. I've successfully modified a Linux ...
2
votes
1answer
858 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 ...
1
vote
1answer
3k views

How to create a installer package of my software made in Code Blocks

I am an amateur developer, I'm using Ubuntu for like 1 month or so and I want to know how can I create an installer package form my Code Blocks C++ generated release file..
1
vote
1answer
228 views

Install Tor 0.4.x on Ubuntu 18.04

We can install Tor 0.3.x on Ubuntu from Ubuntu's default repository. I want to have updated tor version. Because the 0.3.x version doesn't work here any more. Is there any repository that offers Tor 0....
18
votes
6answers
21k views

How to solve dpkg-source source problem when building a package?

Has anyone here had some experience creating a Debian / Ubuntu package? I am trying to backport the lammps package (http://packages.ubuntu.com/quantal/lammps) from Ubuntu 12.10 (Quantal) to Ubuntu 12....
57
votes
1answer
15k views

How to create a meta-package that automatically installs other packages?

I'd like to be able to create a package that doesnt contain any code or programs itself, but instead installs other packages that exist in the repositories onto a computer, sort of how the ubuntu-...
6
votes
2answers
175 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 ...
3
votes
3answers
1k 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 ....
0
votes
0answers
43 views

Is there limitation how old Debian standards version you can use on a package?

The package in question has a script and no binary executable. Also there is a Bash completion file and a manual page. The package should be installable on as many Ubuntu releases as possible. The ...
3
votes
2answers
2k views

How can I create a 'debian/control' file that differs based on Ubuntu release?

I have great deal of source code that we maintain, producing many different Ubuntu packages. All of these packages need to build on Ubuntu LTS releases from Ubuntu 8.04 (Hardy Heron) forward. (Yes, I ...
1
vote
1answer
342 views

Install python2.7 unmet dependencies problems - Ubuntu 18.04

I recently clean reinstalled Ubuntu 18.04 and now wanted to install python2.7 for various other dependencies, however am unable to do so. Running sudo apt install python and sudo apt install python-...
1
vote
2answers
131 views

Are Ubuntu Server and Desktop configured/compiled differently?

I am considering to use Ubuntu Server for a very low-end x86_64 machine. I am wondering what's the difference, and found this: difference between ubuntu server, minimal, and desktop I still have a ...
1
vote
1answer
75 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, ...
40
votes
3answers
8k views

How can different packages have identical source code?

I recently learned how easy it is to get the source code for any given package using apt-get source so that I can get the source code, make changes and install my own modified version of any package. ...
1
vote
2answers
665 views

Where is XDG_CONFIG_DIRS set?

If my understanding is correct, Ubuntu and variants set XDG_CONFIG_DIRS to something like XDG_CONFIG_DIRS=/etc/xdg/xdg-$VARIANT:/etc/xdg Then, package-provided system-wide configuration defaults in /...
0
votes
1answer
109 views

Packaging fails upon compiling 16.04 HWE kernel

Short summary: Packaging script looks in wrong path. Detailed error summary: To compile the kernel, I used the compilation instructions from here, which included the steps: Checkout git sources ...
1
vote
1answer
272 views

equivs-build: fatal error occurred while parsing debian/changelog

There is no debian/changelog file involved when using equivs-build, so would the fatal error occurred while parsing debian/changelog error be a bug? Here are the details: $ cat ttf-ubuntu-font-...
4
votes
2answers
232 views

How one can create an installer for custom keyboard layout

I've managed to create a custom keyboard layout for my language. Now that the keyboard is in a state that I can share it. I don't know how to make it a redistributable package.
4
votes
2answers
15k views

MegaSync client requires libcrypto++9

So, I was trying to install the sync client for Mega (http://mega.nz) on my Ubuntu 15.10 install. Yes, I know it's pre-release, but here is my question: When i install the .dep file, I get that ...
1
vote
1answer
39 views

Should I commit “debian” directory into my source code?

I'm preparing Debian/Ubuntu package for new project. What is the best practice regarding "debian" directory? Should I generate it every time or commit into source code?
6
votes
2answers
2k views

Is it possible to package Python app into snap packages?

Can Python (or anything other than QML/web apps) be turned into snap packages instead of .deb packages as described here? Is there any detailed documentation available?
0
votes
0answers
25 views

Correct place for lib compiled with special flags for a single program

Hello I am trying to create a debian package of a program I wrote bundled with a library. Since I am using special flags to compile the library I only want to provide the library for my program. While ...
0
votes
0answers
57 views

Launching GUI app from debian package postinstall script

I've generated a debian package that contains some libraries and an executable (GUI application). I would like the executable to start automatically in the context of the user session who launch the ...
-1
votes
1answer
149 views

How can I request a package for “authselect” on Ubuntu?

I find authselect (link to project on GitHub) a very convenient piece of software. How can I request that it be packaged for Ubuntu?
2
votes
1answer
766 views

echo-cancel does not work after PulseAudio rebuild

I work with Ubuntu 14.04.5 and faced troubles with rebuilding PulseAudio from source. PulseAudio here is 4.0-0ubuntu11.1, but I need to rebuild it and include recent patch https://patchwork....
175
votes
6answers
119k 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.

1
2 3 4 5
13