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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

1
vote
1answer
44 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
27 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 ...
0
votes
1answer
78 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
71 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
172 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
0answers
38 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.
0
votes
1answer
92 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
80 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
262 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
123 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
60 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
86 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
174 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
38 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
120 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
57 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
122 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
330 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
156 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
78 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
185 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
186 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/+...
0
votes
1answer
70 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
409 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 ...
1
vote
0answers
50 views

Rename Custom deb package

How can I rename a .deb package that can be uploaded to reprepro? For example, I have a deb package example-latest.deb which is the latest version, I have created a custom repository so users can ...
0
votes
0answers
43 views

build gcc for amd64 without the i386 support

I have old software that only compiles with gcc-4.6, which is no longer in Ubuntu repo. So I found the Ubuntu gcc-4.6 source packages and try to rebuild. However, I run into problems because the gcc-...
0
votes
0answers
52 views

Retain config files during upgrade

I'm trying to package up my application into a .deb file and it works. However; upon upgrading my old config files get overwritten. Based on the following diagram, I was thinking about doing some ...
0
votes
1answer
71 views

I need a little guidance on creating a snap package

I'm planning to create a snap on my python3 app trespass (password keeper). I host it on github https://github.com/gps1539/trespass and it can be installed from pypi via pip install trespass. I think ...
1
vote
1answer
147 views

Making a snap package: nginx crashes when confined, needs capname=“chown”

I'm trying to make a snap package for a custom nginx version - the idea being I can run my snap and it will start an nginx server with the HTML content that the snap contains. So far, I have a ...
0
votes
1answer
76 views

How to package from source? [duplicate]

I would like to package Nagios 4 on Ubuntu. Installation from source involves multiple make commands and a configure command. wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/nagioscore/...
1
vote
2answers
34 views

Valid characters in field identifiers of binary package control file

What are the restrictions on characters in debian binary package control files within Ubuntu? python-tempest currently uses an identifier called Python_version in the control file in trusty and this ...
0
votes
1answer
211 views

Build deb package version with command line option

Newbie to build deb package. I've a build script to generate packages for Ubuntu. Version number is there in changelog. I'd like to automate the process of building deb packages without touching ...
0
votes
0answers
253 views

java.sql.SQLException: Opening db:'DB-NAME.db' : Permission denied

I've developed a Java application using Netbeans IDE 8.2 on Ubuntu 14. I tried to package it by following instructions in this tutorial, but it is about NetBeans 7.4 native packaging in Windows. I ...
8
votes
1answer
256 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 ...
1
vote
1answer
1k views

How to install telegram-cli with Persian/Arabic support

I want to install telegram-cli in Ubuntu 17.04 AMD64. So I use this commands: sudo snap install telegram-cli But it not support Persian/Arabic letters. All Persian/Arabic letters has been messed up. ...
0
votes
1answer
24 views

How to set up package-building?

Though we are largely satisfied with the official packages provided by Ubuntu, some times we'd like to make a change (like adding a patch or upgrade version) to an existing package or even add a ...
3
votes
0answers
46 views

What do all these fields really mean in an Ubuntu package version? [duplicate]

For example, in Ubuntu 14.04, dpkg -l bind9 outputs: ||/ Name Version Architecture Description +++-===============-============================-========...
1
vote
1answer
1k views

Creating deb package that depends either on A or B package

I created a deb package that has: Package: foo Depends: libssl1.0.1 (>= 1.0.1) This works fine on trusty or jessie but it won't work on zesty since libssl1.0.2 is a different package than libssl1....
2
votes
1answer
95 views

Why does postrm run twice on purge?

I've created a package that has a postrm script which removes a user. When running sudo apt-get remove ..., the postrm script behaves as expected: vagrant@vagrant-ubuntu-trusty-64:~$ sudo apt-get -y ...
1
vote
1answer
65 views

What are private packages in the ubuntu Repository?

I see private packages in the Repos from time to time. What exactly does having a package labelled private delineate? What would I need it for?
0
votes
0answers
26 views

Targeting different releases when creating binary .debs

I am building .deb binary packages on ubuntu 14.04 but I want to target different releases including 14.04, 16.04 and 17.04. Is it possible to build a binary package on ubuntu 14.04 that targets a ...
0
votes
0answers
52 views

Getting the debian source from java maven projejct

I have an open source project which was built in Java maven. In order to build a debian package a bebian source files are required as tarballs. How I can get those files from java maven?. I would ...
1
vote
0answers
125 views

Create a sloppy Ubuntu package for Travis CI

I develop on software A which depends on software B and C, software B depends on D, which ships a convenience copy of C as well. For my work on A and B, I'd like to have continuous integration with ...
1
vote
1answer
250 views

Error while cloning source code of package (bzr: ERROR: Not a branch)

I'm following the Ubuntu Packaging Guide (UDD) and was faced with an error when I had tried to clone an existing package on third step. $ bzr branch ubuntu:kdetoys bzr: ERROR: Not a branch: "bzr+ssh:/...
3
votes
1answer
343 views

How to setup PYTHONPATH for a snap package?

I'm trying to snap package a non-pure python project. I used python plugin with custom build/install scripts. This project contains 2 python packages that are required for desktop app: alfanous (API)...
5
votes
2answers
498 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 ...
2
votes
1answer
299 views

Turning node.js projects into snap packages

How can I convert node.js applications into Ubuntu snaps? I found this page on the Ubuntu developer website but the tutorial has been moved or removed. My nodejs application is built on MEAN stack.