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
21 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
9 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
24 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+...
1
vote
1answer
39 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~...
0
votes
1answer
144 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) ...
0
votes
1answer
64 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 ...
0
votes
0answers
618 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 (...
1
vote
1answer
204 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....
0
votes
0answers
42 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 ...
1
vote
1answer
43 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 ...
1
vote
1answer
55 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, ...
1
vote
2answers
111 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 ...
40
votes
3answers
7k 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
1answer
304 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
502 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
103 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
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?
0
votes
0answers
23 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
56 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
127 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?
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
1k views

How to use Sim Card on Ubuntu 18.04

I am beginner with Ubuntu and I'm using 18.04 LTS version on my laptop Dell latitude E7250, which contain port for the sim card, but I don't know how to install it and use it, I don't know even what ...
0
votes
0answers
31 views

Packaging Python-Script not working

I'm new to packaging software for Ubuntu (PPA). I tried to package a simple python script: #!/usr/bin/env python print("Hello World") According to the packagin guide the following steps should ...
0
votes
0answers
37 views

How to remove a installation part of a .deb package

I'm trying to run Quartus 18.1 lite from Intel. When I run it, it whines about libpng12. The version available in the repositories, libpng16 (which indeed is installed and found with apt) isn't a ...
0
votes
0answers
47 views

Is it possible to read a mac installation file on ubuntu

I want to use a piece of [Windows] software that runs using Wine on a Mac but only comes shipped as a Mac package (or a Windows download). Is it possible to load that into Wine on Ubuntu? The issue I ...
1
vote
1answer
251 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-...
0
votes
1answer
36 views

OpenSSH Ubuntu Team

I am dealing with a multi-process sshd problem regarding the privilege separation directory. I have been in contact with the OpenSSH team and I have reviewed their source code, specifically: OpenSSH 7....
1
vote
1answer
126 views

What exactly is Ubuntu? [duplicate]

From kernel all the way up to the Desktop Environment, where does Ubuntu reside? Linux kernel is the kernel for all distros. The basic utilities (fdisk, ls, bash, whiptail, etc.) are mostly GNU tools ...
0
votes
0answers
934 views

Python packages locations in Ubuntu

I try to install python packages in Ubuntu and those packagers successfully. I am not good for Ubuntu that is why I am asking. But when I check locations of some of python packages, locations are ...
0
votes
1answer
300 views

qt application deploy (compatibility)

I have ported on Linux a QT application that I developed under Windows. I have Ubuntu 18.10 and QT library 5.12, (I don't need these specific version, but that's what I found at the time of my ...
2
votes
1answer
957 views

'/usr/bin/kvm-spice': No such file or directory when starting virt-viewer

When I start a VM inside virt-manager (virt-viewer) I get this error: '/usr/bin/kvm-spice': No such file or directory how should I install kvm-spice? It was there before, somehow it is gone
1
vote
0answers
18 views

How to update a debian package for a python program with a setup.py

For the first time, the command dh_make will create all necessary files and directories and this can be packaged with debuild -S. After I make some changes, am I supposed to manually update the ...
2
votes
1answer
520 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
2answers
326 views

can a snap package depend on a .deb package provided by the distro?

Can a snap be built in a way such as, when the user tries to install it, the snap also installs another package? For example, wget. Thanks.
3
votes
1answer
144 views

How can I remove a prefix from {latest-tag} in a Launchpad recipe?

I have a Launchpad recipe that looks like this: # git-build-recipe format 0.4 deb-version {latest-tag}-0~{time}~rev{revno}~pkg{revno:packaging} lp:kvantum master nest packaging lp:~krisives/kvantum/+...
1
vote
1answer
227 views

creating a .deb from archlinux tar.xz

I am trying to install the latest commit (4.0.3) of Nemo file manager on Ubuntu 18.04. It finally fixes the bug where searches do not include hidden folders. Since there is no configure file in the ...
2
votes
1answer
373 views

Creating Debian package for multiple version of Ubuntu

I have a library and few binaries that I want to pack as Debian package. I have dependency on : libboost-log*, libprotobuf* etc. I don't want to add dependency on dev packages "libboost-all-dev" etc ...
3
votes
2answers
245 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 ...
1
vote
2answers
296 views

DEB package can't install its dependencies when using dpkg

I have a deb package which I build but when I test it with dpkg (before put it in our repo) it can't install the dependencies put in DEBIAN/control file. Package: package-name Version: 1.0-1 Section: ...
2
votes
1answer
257 views

Check when package repo last updated

Is there a way to check when the current version of a package (that would have been installed when using apt install) was released, from within terminal? The intention is to check how out of date the ...
2
votes
1answer
200 views

Deploying own debian package to Launchpad

I am trying to generate a signed debian package for deployment to Launchpad. I can generate the binary-only build using : dpkg-buildpackage -b -pgpg -kmihaigalos@gmail.com dpkg-buildpackage: source ...
3
votes
1answer
702 views

What is the detailed process of resolving `${shlibs:Depends}` when creating a Debian package?

My recent work involves a lot of Debian packaging, and I'm using the Debian New Maintainers' Guide as my main reference. What I haven't fully understood is how the ${shlibs:Depends} is resolved into ...
2
votes
1answer
60 views

How should I upload a package after having used git-ubuntu to prepare it?

I prepared an upload by cloning a git-ubuntu repository and committing some changes locally. As an Ubuntu developer, I have permission to upload to the archive. What do I need to do to upload my ...
1
vote
0answers
46 views

How are Qt modules/classes distributed amongst Ubuntu packages?

For example, I know that I need the core dependency or the network one. In other words I have the following lines in qbs project file Depends { name: "Qt.core" } Depends { name: "Qt.network" } Now, ...
0
votes
1answer
24 views

Create Multiarch package with prebuild binaries

Hi I am currently trying to create a package with prebuild binaries as for the source I have a binaries directory with a 32 and 64 subdirectory. I would like to install the 64bit binaries on a 64bit ...
0
votes
0answers
87 views

Unable to install a package from the postinst of another package [duplicate]

I have Ubuntu 14.04. I have 2 deb packages, deb1 and deb2 I'm trying to install deb2 in the postinst of deb1 using dpkg -i deb2 but I get this error: dpkg: error: dpkg status database is locked by ...
1
vote
1answer
78 views

Installing shortcuts as a package

I want to improve user experience on Linux, and one of the things that I have in mind is packaging keyboard shortcuts and tracking their usage. The benefits that I see from that: Know which package ...
2
votes
1answer
33 views

Software package wit its own dynamic library - where to install?

I have written a piece of software (a .deb package) which ships with a dynamic library (foo.so) which is only usable to my softare. Where should I place the library and how can I load it? I don't ...
0
votes
0answers
35 views

How to package for multiple Ubuntu versions with different package dependencies in a single PPA from launchpad? [duplicate]

I have an existing PPA for a Qt-based application that dates back to xenial that I recently updated to support bionic. I did this by just checking in all the changes required for bionic (in ...

1
2 3 4 5
13