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 ...
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
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 ...
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
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+...
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~...
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) ...
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 ...
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 (...
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....
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 ...
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 ...
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, ...
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 ...
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
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
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
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
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 ...
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 ...
-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?
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
2k 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
55 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
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-...
0
votes
1answer
37 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
131 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
1k 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
331 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
1k 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
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 ...
2
votes
2answers
364 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
148 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
254 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
391 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
261 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
310 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
274 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
210 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
776 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, ...

1
2 3 4 5
13