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
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
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
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-...
221
votes
6answers
275k 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 ...
1
vote
1answer
705 views

How to move config files during snap install

I am trying to package my app to be able to install it using snap. App is already compiled as executable and has one config file and one certificate file which I package inside the snap. Once ...
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 ...
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
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
4k 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 ...
1
vote
2answers
490 views

Launchpad PPA supporting multiple versions of Ubuntu

Is it possible for a Launchpad PPA to support multiple Ubuntu versions such as 10.04 and 12.04 when the package itself was built on a 12.04 machine? When trying to add the PPA to a older machine, it ...
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: ...
11
votes
2answers
746 views

Why do snap-packages exist - is there a real need?

Assumptions Honestly, I do not know much about snap-packages - but this is irrelevant for this question - see below. I assume the system is significantly different from the existing one. Does the ...
5
votes
2answers
722 views

How to apply a patch on upstream source code while snapcraft build?

I used to build Debian packages (quilt), it supports applying patches while build process. Patches are stored in debian/patches folder and they are usually used to add fixes not committed yet to the ...
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
147
votes
6answers
89k 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.
112
votes
6answers
18k views

How to get my software into Ubuntu?

As a developer of free software, I want to get my application into Ubuntu. Should I provide a source tarball and ask for packaging? Or should I create a package myself? Should I target Ubuntu ...
4
votes
1answer
3k views

Changing default directory for debhelper while packaging (.deb)

I am trying to turn Spamdyke 4.3.1 (download link) into Debian package (.deb). This is pretty easy software to build, no crazy dependencies, just libssl-dev so: apt-get install build-essential ...
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 ...
1
vote
1answer
191 views

How to upload to a launchpad team PPA?

I have built and signed a package which I now wish to upload to my launchpad team with dput, but every time that I try to upload it I get this email: Rejected: Source/binary (i.e. mixed) uploads are ...
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.
16
votes
5answers
19k 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....
4
votes
2answers
100 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 ...
4
votes
2answers
14k views

MegaSync client requires libcrypto++9

So, I was trying to install the sync client for Mega (http://mega.nz) on my Ubuuntu 15.10 install. Yes, I know it's pre-release, but here is my question: When i install the .dep file, I get that ...
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?...
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/+...
2
votes
1answer
3k views

Error when creating debain source package with dpkg

When entering this dpkg-source -b <packagename> into the terminal to create a debian source package, I get the following error: dpkg-source: error: syntax error in ResolutionX_1.0-0/debian/...
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 ...
2
votes
1answer
307 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 ...
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
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 ...
17
votes
1answer
23k views

Adding post .deb install scripts

So I'm building a .deb, and I need to do a few post-install commands (linking libraries paths, and a few other things). Is there a way to have it so when you do a sudo dpkg -i <pacakage-name>....
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: ...
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
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 ...
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.
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
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 ...
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 ...
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, ...
13
votes
1answer
653 views

What's the difference between the different “rename” commands?

Since Ubuntu 14.04 there are at least three rename commands: rename provided by the util-linux package, see man rename.ul rename provided by the perl package, see man prename rename provided by the ...
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 ...