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
8 views

How to Create Multiple Binaries for Apache from source

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 ...
0
votes
0answers
19 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
0answers
7 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
38 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 ...
0
votes
0answers
14 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 ...
0
votes
0answers
10 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
7 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
23 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 ...
0
votes
0answers
25 views

Can't build PPA, flake8 fails

When building my package I get this error. make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_test make -j1 check make[1]: Entering directory flake8 libinput-gestures ...
0
votes
0answers
29 views

Create snap of .deb plus ppa dependencies?

I have a proprietary program that runs on 16.04 with an additional ppa for qt5.6. It is the only app that holds me back from updating to 18.04, so my idea was to create a snap package including the ....
1
vote
0answers
26 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
105 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 ...
0
votes
1answer
121 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
81 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
261 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
43 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
151 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
106 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
300 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
134 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
69 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
91 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
179 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
121 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
125 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
394 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
164 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
258 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
194 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
430 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
62 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
55 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
55 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 ...
1
vote
1answer
73 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
169 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
78 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
35 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
265 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 ...
12
votes
1answer
321 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
2k 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
47 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 +++-===============-============================-========...