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.

120 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
68 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, ...
DimanNe's user avatar
  • 190
1 vote
0 answers
1k 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 ...
user3403236's user avatar
1 vote
0 answers
427 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 ...
user1770201's user avatar
1 vote
0 answers
457 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 ...
Antrops's user avatar
  • 11
1 vote
0 answers
198 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 ...
Martin Ueding's user avatar
1 vote
0 answers
114 views

PPA: How to force an older lib version from PPA for building?

I maintain this PPA: https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable I want to build qbittorrent against the provided(in the PPA) libtorrent version. This is because we don'...
sledgehammer999's user avatar
1 vote
0 answers
251 views

Delay the installation/configuration of my Debian package

I'm working on a custom Debian package and I'd like to delay its installation/configuration when installed with other packages, eg; $ sudo apt-get install htop curl my-pkg rsync ... Apt-get should ...
Javier López's user avatar
1 vote
0 answers
709 views

Creating Debian package: How to create folder using rule file in user/Desktop?

I am packing .deb and I want to create folder on the Desktop I am creating folders using : mkdir -p $(CURDIR)/debian/tmp/usr/share/icons/hicolor/128x128/apps/ mkdir -p $(CURDIR)/debian/uome/username/...
AlexL's user avatar
  • 11
1 vote
0 answers
144 views

Process for building OpenStack packages?

I am trying to build OpenStack packages (swift and keytone from Mitaka's release) and all its dependencies for Ubuntu 16.04. By exploring jobs like https://jenkins.qa.ubuntu.com/view/Releases/view/...
maap8's user avatar
  • 11
1 vote
1 answer
612 views

pbuilder-dist dh_build fails to find/install debian/control Depends

I have been following the tutorial 6. Packaging New Software on how to create an ubuntu/debian package. I have successfully managed the hello example, but I have been having some problems with my own ...
Guillaume's user avatar
  • 171
1 vote
0 answers
38 views

Create snap that has all built applications exposed

I am building a snap that has a package that build 7 tools in the /usr/local/bin and /usr/local/sbin and would like to expose all of them. Is there a way to wildcard the the app command? I have done ...
user615018's user avatar
1 vote
1 answer
117 views

How do I write a rules file for Blockify?

There are no Debian packages available for the Blockify ad-muter for Spotify and I would like to build one. I have created copyright, compat, and all other Debian package files for it, except a ...
Josh Pinto's user avatar
  • 7,919
1 vote
1 answer
1k views

Getting application dependencies for creating snap package

I intended to create universal installer for distributing my qt5-based application on different Linux distributions. Currently I support building installation .deb packages than can be used on Ubuntu ...
Vasyl's user avatar
  • 203
1 vote
0 answers
164 views

What files to upload when submitting a debian package to Ubuntu Store

I'm going to submit my debian package to Ubuntu Store. When I submit my app there is a link "See What am I expected to upload?" that goes to http://developer.ubuntu.com/publish/my-apps-packages/ that ...
Andy's user avatar
  • 11
1 vote
0 answers
360 views

Can't Create Debian Package for QT App

I can't create package. I was try to create with this tutorial. Error is when I write the last one command: pdebuild --debbuildopts -sa Errors: parsechangelog/debian: warning: debian/changelog(...
Damiany's user avatar
  • 11
1 vote
0 answers
181 views

while making debian package from source i'm seeing the error

While making Debian package I'm seeing the below error. ubuntu@ip-10-232-76-3:/opt/uat/elasticsearch-1.4.4$ sudo dpkg-buildpackage -b -rfakeroot -us -uc dpkg-buildpackage: warning: using a gain-root-...
prem's user avatar
  • 509
1 vote
0 answers
755 views

xz-utils 5.2.1 on trusty: how to compile and re-package? Or ppa available?

I want to compile and use a newer version of xz-utils, in this case version 5.2 as well as create deb-packages to be distributed on different ubuntu (14.04) machines. The recent changes to xz were ...
OpenGears's user avatar
  • 166
1 vote
0 answers
231 views

How can I specify a Qmake file during packaging?

I'm trying to package a piece of software that I wrote for Debian/Ubuntu. I've read that dh supports Qmake natively. However, my .pro file is not in the root directory of the source tree, but rather ...
thirtythreeforty's user avatar
1 vote
2 answers
631 views

Untrusted packages warning

When I try to update my system I get following warnings: W: GPG error: http://archive.canonical.com vivid Release: The following signatures couldn't be verified because the public key is not ...
Nasreddine's user avatar
  • 1,497
1 vote
0 answers
345 views

How to cross compile the qtmultimedia-opensource-src for armhf?

Repost from https://answers.launchpad.net/ubuntu/+source/qtmultimedia-opensource-src/+question/264619 Cross I can't figure out how to build it with cross compiler (on trusty-amd64 for utopic-armhf):...
Velkan's user avatar
  • 3,616
1 vote
0 answers
2k views

Building deb package gives fakeroot debian/rules clean gave error exit status 2

I am trying to create my first deb package of https://github.com/manojgudi/sandhi. After this command - dpkg-buildpackage -rfakeroot it stops with the following error - dpkg-shlibdeps: error: no ...
Karup's user avatar
  • 143
1 vote
0 answers
484 views

Publish Java Swing Application on Ubuntu Software Center

I have installed Ubuntu 14.04 on a VirtualBox in Windows 8.1 and now I want to install Ubuntu SDK in it using the following commands: $ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa $ sudo apt-get ...
Imdad Soomro's user avatar
1 vote
1 answer
542 views

How to create a deb package when upstream developer has not a release a tarball

I want to create a deb package of https://github.com/manojgudi/sandhi. But I cannot find any tarball there. All the tutorials that I came across on the net assume that there is an upstream tarball ...
Karup's user avatar
  • 143
1 vote
1 answer
7k 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 ...
Patryk's user avatar
  • 9,156
1 vote
0 answers
78 views

Qt-creator publish tab missing click part

I am trying step by step to write some simple tutorial Ubuntu apps using qt-creator. First I've chosen HTML5 App then after writing some hello code or even after doing nothing I've tried to create a ...
sebag's user avatar
  • 11
1 vote
0 answers
536 views

init script of debian package not working correcly in different computers in Ubuntu 12.04

I created a Debian single binary package (.deb) for a software project to install the application as a service in ubuntu. dpkg --install package installation is successful in the computer I used to ...
Dig The Code's user avatar
1 vote
0 answers
63 views

creating debian packages for Mozilla Products

I am trying to create a Debian Package for Boot-to-Gecko desktop client, I have no prior experience in Debian packaging except the test cases mentioned in packagers guide and other places, I have ...
121n3's user avatar
  • 75
1 vote
0 answers
184 views

What is a good workflow to develop/test/release packages via apt repositories?

We are currently looking for a workflow to manage Ubuntu packages and releases within apt repositories. Until now our small team did the development in git. One occasionally used the master branch to ...
Stefan's user avatar
  • 193
1 vote
0 answers
74 views

Change install path in Gambas

I am writing an application in Gambas for inclusion in the software center in Ubuntu. I just got told that the only thing missing in my application, is that it should install into /opt/whatever. ...
rasmusrim's user avatar
1 vote
1 answer
158 views

Repackaging an installed application with libraries included

I have a package installed in Ubuntu-13.10, called "GPIV", which is not available for Fedora, which I use in my lab for some unavoidable reasons. But, I want to use the GPIV software on Fedora also. ...
Chandra's user avatar
  • 11
1 vote
1 answer
1k views

Install package from ppa with setup.py file

I am writing a python program that I want to upload to a ppa so other people can install it on their machine. Right now I have a setup.py-file that copies the files to their place and installs the ...
user2366975's user avatar
1 vote
1 answer
154 views

What's the easiest way to package files into a deb?

I have a bunch of static web files that change from time to time. Right now I'm syncing my servers up using rsync, but I'd instead like to add scripts to my git repository so that when changes are ...
GregB's user avatar
  • 189
1 vote
0 answers
46 views

Are USC applications allowed to install .desktop files?

Ubuntu's official site for developers says: Technical requirements: In order for your application to be distributed in the Software Centre it must: Be in one, self-contained directory when ...
Coder's user avatar
  • 11
1 vote
1 answer
75 views

Packaging for the Ubuntu Software Center

I have a question about packaging for the Ubuntu Software Center: must the package to upload be a .deb file? If so, how do I create one? I don't use the pygobject API.
wez's user avatar
  • 11
1 vote
1 answer
2k views

Can't open shared libraries (snap)

I have a problem related to the snap Anbox I created for ARM64 devices. I got it to build successfully, I didn't even get a warning in the priming stage (i.e. I wasn't asked that some files were ...
Pato SublimeArmy's user avatar
1 vote
1 answer
424 views

Deb package created using fpm but giving error while depackaging

I created a deb package of https://github.com/manojgudi/sandhi using fpm. The package was successfully created but on de-packaging on another system it gives me the following error : dpkg: warning: ...
Karup's user avatar
  • 143
0 votes
0 answers
65 views

When building package with debuild, I'm unable to force make to look into certain directories for *.h files

What I'm trying to do is to build a deb package with debuild command, given I have provided all the necessary files like debian/control, debian/rules, debian/changelog etc... When trying to run ...
Sokolval's user avatar
0 votes
0 answers
293 views

Including shared libraries in a .deb package

I have a binary file that is dependent on a few shared libraries, I am trying to package this binary with the required libraries and install them alongside my app. The libraries were built by myself, ...
Melon's user avatar
  • 1
0 votes
0 answers
259 views

Building linux-tools deb produces empty binary packages

I'm trying to build the linux-tools-generic package on Ubuntu Impish (i.e. 21.10). I am trying to follow the guides I can find (e.g. this one), so the workflow looks something like this: Set up by ...
diwhyyyyy's user avatar
  • 101
0 votes
0 answers
105 views

How to install wasabi wallet on armhf architecture

How to create and install wasabi wallet on armhf architecture? Is it possible to create it from its GitHub repository. If so, How?
user487583's user avatar
0 votes
0 answers
205 views

Can I get nativefier to produce a .deb?

On macOS and Windows, the Electron JS app creator script nativefier is able to wrap a website into a .dmg or .exe. However, on Ubuntu, the nativefier script produces a big folder where you have to ...
ubuntuquestioner's user avatar
0 votes
0 answers
731 views

Error creating the package: cannot create directory ‘/opt/simplest_studio’

I trying to create a .deb package. Created the control and rules files, did everything, as it was said in the instructions and after a ten thousandth attempt errors still pop up. The $(MAKE) command ...
Helg1980's user avatar
  • 101
0 votes
1 answer
465 views

Conventional place to install additional files needed in my DEB package?

I made myself a culture and understood the basics to build a DEB package of my project. What is not clear to me (and which until now in the guides that I have followed has never been specified to me) ...
Nicholas Redi's user avatar
0 votes
0 answers
91 views

Correct place for lib compiled with special flags for a single program

Hello I am trying to create a debian package of a program I wrote bundled with a library. Since I am using special flags to compile the library I only want to provide the library for my program. While ...
ted's user avatar
  • 281
0 votes
0 answers
80 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 ...
intel_chris's user avatar
0 votes
1 answer
1k 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 ...
Angelo's user avatar
  • 1
0 votes
1 answer
42 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 ...
user3694354's user avatar
0 votes
1 answer
133 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 ...
Nissaar's user avatar
  • 71
0 votes
2 answers
2k 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 ...
Siarhei Karatkevich's user avatar
0 votes
0 answers
398 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 ...
Mark Keller's user avatar