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.

0
votes
0answers
44 views

Create .deb with signed custom kernel image

I have compiled a custom kernel, but since i use UEFI secure boot, I need to generate a signed kernel image. How can I sign my unsigned kernel image, and generate the .deb containing the signed image?...
0
votes
0answers
13 views

How can I handle tests that require an X display when packaging on Launchpad?

I have a build recipe that is failing because it wants to use an X display: Build log Is there a way in the Debian/Ubuntu build process that I can either use a fake display or do I need to skip ...
3
votes
1answer
83 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
25 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 ...
0
votes
0answers
39 views

Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root? [duplicate]

Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
2
votes
1answer
54 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 ...
1
vote
2answers
26 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 ...
0
votes
2answers
52 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
42 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
51 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 ...
0
votes
0answers
9 views

Building Multiple Packages

I was given access to the source repository for a bunch of packages which were built on Debian 7. My task is to try to rebuild them for Ubuntu 18.04. These are packages which will only be used ...
1
vote
1answer
50 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
26 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 ...
0
votes
0answers
11 views

How to Create Multiple Binaries for Apache from source [duplicate]

I am using Ubuntu/Xenial and I need to create Apache2_2.4.34 packages from source. I use instructions from here. Resulting package is only one package "apache2_2.4.34-1_amd64.deb", because dh-make ...
1
vote
0answers
27 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
10 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
42 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
37 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
20 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
12 views

Packaging my Flask app using snapcraft

I am new to snapcraft, pls bear me.... I have my web application developed using Flask and opencv 3.0 technologies. We need to deploy this application in the client environment without revealing ...
0
votes
0answers
24 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
vote
0answers
35 views

How do I create a symlink from my app bin to /usr/bin?

So I have a deb package built using electron-installer-debian. When I sudo dpkg -i app.deb, it's unpacked in /usr/lib/myapp/myappbin and there's no symbolic link created. How do make it so the ...
2
votes
1answer
160 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 ...
1
vote
0answers
29 views

How to create an Ubuntu distro from VirtualBox Ubuntu Image? [duplicate]

I have an UbuntuServer installed and filled with packages that I need, and it's ready for work. Can I make a distro from VirtualBox image of UbuntuServer in to .iso installable file with all the ...
1
vote
1answer
202 views

How to add a shell script as a command offered by a Snap?

Say I have a basic shell script foo.sh: #!/bin/sh while [ 1 ] do echo "looping" sleep 1 done And I want to have this offered up as a command: /snap/bin/myapp.foo I have the snapcraft.yaml: ...
0
votes
1answer
86 views

Debian packaging of python library with extra files

Is there a minimal modification I can do to a Python 3 Debian package source in order to install additional folders under the dist-utils/my-package folder like unit tests? I am using pybuild which ...
0
votes
1answer
318 views

Build linux kernel 4.15.0-22 scripts/Makefile.clean [closed]

I want to compile linux-source-4.15.0-22 on xenial(16.04-4). When i use the following command I have received an error. make clean distclean && make mrproper && make-kpkg clean cp /...
0
votes
1answer
57 views

How to make a snap package from a python project without setup.py?

Suppose, there is only one program.py, or 2. there are a few files and an init.py executes the program. How to turn it into a snap package? This guide assumes there is a setup.py.
1
vote
1answer
209 views

Does Snap package supports private repository?

https://docs.snapcraft.io/build-snaps/ci-integration As documented here i am a game developer and have created a game on Unreal Engine and i have put my game package on git in a private repository ...
2
votes
0answers
158 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 ...
0
votes
0answers
25 views

Why is the version of Mono in the Ubuntu repositories so old? [duplicate]

I am having an issue with a mono application I use failing to auto-update from github due to github retiring support for now outdated security protocols (TLS v1.0/1.1). Since the versions of mono ...
1
vote
0answers
341 views

Creating multiple deb packages using CPack

I have a project with several components and I am creating 4 DEB packages using CPack version 2.8.12. I have no issues with package generation as well as installation but these: I am unable to make ...
0
votes
0answers
55 views

Is there any way to remove a program that has been installed with a .tar.gz file? [duplicate]

Is there any way to remove a program and all of its executable files and docs that have installed from a .tar.gz file (for example on an Arch Linux) by : ./configure make make install Answer : I ...
2
votes
1answer
142 views

How to create a .tar.gz file to install a custom application

I have written a simple program, and I made a .deb file to install it on Debian based OSs. but for other distros like Arch, I usually use a .tar.gz file (and doing :./configure, make and make install),...
2
votes
1answer
87 views

What makes Checkinstall packages not suitable for distribution?

I am planning to have multiple servers running with the same packages. And as a solution to not compile packages individually on each server, I want to use checkinstall to generate .deb and then ...
1
vote
1answer
96 views

How can I apply the packaging for libvirt to build a package out of a git version?

I've been trying to work on a patch to libvirt to enable Ceph/RBD storage volumes. I would like to test my code now. I would like to do this as a package (or even a Launchpad PPA), so that I can ...
1
vote
0answers
185 views

How to create a deb file which installs Valve's OpenVR Package on Ubuntu?

Ultimate Goal: Add ValveSoftware/OpenVR to a PPA so that it can be installed via $ sudo apt-get install openvr I'm assuming this means I need to create something like an OpenVR.deb. Attempt: I have ...
0
votes
1answer
41 views

Electron Snap file is not build after running command

https://gist.github.com/popey/7803cfbda9b337fab792c403e50e4709 Im following this tutorial. After running npm run dist terminal outputs missing script: dist After running npm run lint since it is ...
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), ...
3
votes
2answers
59 views

Whats the simplest way to make source and binary package when you are the original author?

The Debian packaging guides, which I have read so far, assume that the packager is not the maintainer, and so needs to have original tarballs, patches, etc. If I have an app which builds with "make" (...
2
votes
1answer
139 views

DEB and RPM packaging

I have an application that I'd like to pack into DEB and RPM for making it installable into Linux distributions such as: Debian Ubuntu Linux Mint Fedora OpenSUSE Do I need to develop an extra DEB ...
0
votes
1answer
446 views

How to build .deb package for a single kernel module?

Is there any helper which can build a .deb package for particular kernel modules from mainstream kernel? Currently I build a kernel and manually create packagename/DEBIAN/control file, which is quite ...
0
votes
0answers
177 views

Possible to build a source.changes file from a deb package?

I want to build a source.changes file to publish a package. But I have no idea how to build it. I created a .deb file containing the source code and the compiled binary. Is there any way to convert it ...
2
votes
1answer
80 views

Does Ubuntu compile all their non-proprietary packages on their repo from source or do they use the dev's pre-compiled binary?

I was just curious to know, does Ubuntu compile all the open-source/non-proprietary packages on their repo or do they just take the finished bins from the dev and stick If it in the repo?
3
votes
2answers
1k 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 /...
2
votes
2answers
307 views

Install non-executable files with dh_install

I have some debian package which has the following install file: src/an_executable_python_script usr/bin src/web/* usr/share/packagename inside the src/web folder are some html and css files. It ...
8
votes
1answer
201 views

Where exactly is all the source code on Launchpad browseable?

I have always found the source code browser of Launchpad extremely useful when I need to link to packaging code in an answer. The URL pattern is simple enough (https://code.launchpad.net/ubuntu/+...
2
votes
1answer
219 views

How do I get the current running version of a package in deb file's postinst and preinst script?

I am creating a debian package that discard some database operations carried out in postinst script of the package if its previous version is installed. I googled and found it for RPM but I could not ...
0
votes
1answer
73 views

Am I allowed to create and distribute a deb package to Ubuntu store if I didn't develop the software?

Am I allowed to create and distribute a deb package to Ubuntu store if I didn't develop the software? I want to create a package (.deb) file following Debian/Ubuntu standards, submit it to Ubuntu ...
0
votes
1answer
463 views

Build Kernel in 16.04 - no firmware package built

I've been successfully building a set of Linux kernels on 16.04 base for some time now. When I build the 4.14 kernel to make deb packages with: make -j24 KDEB_PKGVERSION=1.custom deb-pkg which has ...