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
1answer
64 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
19 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
30 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
32 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 ...
0
votes
0answers
15 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
22 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
67 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
57 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
44 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 ...
0
votes
0answers
19 views

Warning (Setting locale failed) while building in Launchpad

I am trying to build Octave 5.1.0 for Ubuntu 18.04 in a PPA. This is the branch. While building, the builder in launchpad is showing a warning perl: warning: Setting locale failed. perl: warning: ...
0
votes
1answer
229 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
15 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 ...
0
votes
2answers
111 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.
0
votes
0answers
26 views

Can dh_systemd_start restart service of another package?

I am creating a configuration deb package (it contains only configuration files). I want postinst script of this package to restart an external service (service file is not being installed using my ...
0
votes
0answers
89 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
16 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
126 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
68 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
47 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
211 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 ...
2
votes
2answers
104 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
62 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
68 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
106 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 ...
2
votes
1answer
198 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
51 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
14 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
37 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
15 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
57 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
43 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
24 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
34 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
27 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
66 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 ...
3
votes
1answer
266 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
30 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 ...
2
votes
1answer
471 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
112 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
473 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
73 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
495 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 ...
3
votes
0answers
280 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
474 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
56 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
178 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
131 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
105 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
213 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 ...