Questions tagged [packaging]

Packaging relates to creating packages for the operating systems' package managers.

Filter by
Sorted by
Tagged with
14 votes
10 answers
2k views

Why can't Linux developers create a universal packaging format?

Vendor binary package format selections appear to be determined by a form of Murphy's Law: all the distros you don't use have packages. (Corralary: there exists no distribution that satisfies your ...
jldugger's user avatar
  • 14.5k
12 votes
5 answers
15k views

Incremental RPM package version "numbers" for x.y.z > x.y.z-beta (or alpha, rc, etc)

In order to publish RPM packages of several different versions of some software, I'm looking for a way to specify version "numbers" that are considered "upgrades", and include the differentiation of ...
Jonathan Clarke's user avatar
7 votes
3 answers
2k views

What is the best source for Solaris packages?

There are multiple sources for add on packages for Solaris, blastwave, openCSW, Sunfreeware, and pkgsrc. Ideally, I'd like to stick as close as possible to a single packaging system, so which of these ...
6 votes
3 answers
11k views

How do I build debian packages of kernel modules?

Specifically, I want to build a package for debian/lenny using the latest uvc drivers. I can compile and install them, but I want them packaged in the normal debian fashion. I imagine I want to use ...
Jayen's user avatar
  • 1,877
6 votes
1 answer
3k views

How to use dpkg-divert to temporarily remove/replace symlink when package is installed?

The default nginx package creates a symlink named default in the sites-enabled dir, which points to a default config file in sites-available. I'm currently creating a package for an app that sits on ...
Suan's user avatar
  • 163
6 votes
7 answers
141 views

What have been the most useful resources for you when learning to make RPM's?

I'm in the position of needing to make a few RPMs at work, which is something fairly new to me. I'd really love to hear which docs, tutorials. or presos have been useful for you for understanding: ...
Chris Adams's user avatar
6 votes
2 answers
278 views

How do people package internal software to their production servers?

We build .deb packages and host them in a local Debian APT Repository, which we then use Puppet to manage installs from. However, there is surprisingly little written about building or managing an ...
mrisher's user avatar
  • 401
5 votes
2 answers
6k views

init script is not getting installed to /etc/init.d

I have a source package where I want to add a simple init.d script. I know dh_installinit should help : when I run it, it creates examples of postrm, prerm, postinstall to perform an update-rc.d ...
Falken's user avatar
  • 1,742
5 votes
1 answer
1k views

RPM Package a ruby project

I want to package a ruby program that I get from git into a RPM package. I have at my disposition a build server and a production server (Same OS / Same Arch). As most ruby project, mine does have ...
Spredzy's user avatar
  • 963
5 votes
1 answer
3k views

Debian package creation: binary-arch and binary-indep targets

I'm trying to create my first deb so I don't know much about it yet. This is my 'rules' file at the moment: #!/usr/bin/make -f # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 # This ...
sergeyarl's user avatar
5 votes
1 answer
8k views

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot without errors?

How to install Oracle Java on Debian Wheezy with make-jpkg and fakeroot? the manual for installing oracle java on debian wheezy is quite clear and understandable: http://wiki.debian.org/JavaPackage ...
c33s's user avatar
  • 1,535
4 votes
2 answers
97 views

Managing local Debian packages in source control

I'm starting to manage more custom-packaged applications for our Ubuntu Hardy systems. Some are of apps not available in Ubuntu but most are much newer versions than are available via the standard "-...
4 votes
1 answer
891 views

Is it possible to include temporary script files to be run by postinst in a Debian package?

I want to create a Debian package that runs a few scripts in postinst. These scripts are only needed in postinst (they're just too unwieldy to include in postinst itself). Is there a standard way to ...
Blixt's user avatar
  • 595
3 votes
1 answer
1k views

How to remove deprecated files from new version of package?

I'm building a new version of my own debian package, there is something was changed and some files now should be removed (for example old upstart scripts which shouldn't be executed more). I just ...
simplylizz's user avatar
3 votes
2 answers
97 views

Command to organize a Finder window

I'm building a packaged-based OS X image, and, with new software added, the Application's folder is a mess (with icons obscuring each other and things in disarray). I thought deleting the .DS_Store ...
Clinton Blackmore's user avatar
3 votes
1 answer
418 views

Modify foreign files by a debian package

I am creating a debian package. This will have to alter /etc/inittab to switch tty1 from /sbin/getty to /sbin/rungetty. Of course I can alter the line with an sed in the postinst. Is this the best ...
krissi's user avatar
  • 3,447
2 votes
1 answer
4k views

Debian package: postinst error log?

I've created *.deb package with a postinst script. On some hosts it works with errors: subprocess post-installation script returned error exit status 1 Is there a place where these errors are logged ...
kolypto's user avatar
  • 11.2k
2 votes
2 answers
7k views

Install pdf2swf on Ubuntu Trusty Tahr(14.04)

It seems the Ubuntu 14.04 repository contains a version of swftools without pdf2swf--see https://launchpad.net/ubuntu/trusty/+package/swftools This package does not include pdf2swf and avi2swf How ...
vangheem's user avatar
  • 149
2 votes
1 answer
3k views

Specific file permissions in .deb

I can create a .deb package successfully with all the file owner fields set correctly. Unfortunately the permission fields are ignores. For example I install one file with: install -v -cm 400 -o ${...
viraptor's user avatar
  • 1,306
2 votes
2 answers
733 views

Bootstrap a debian build environment and build source packages with no root privileges

On debian squeeze, I am trying to do the following : fetch sources package from the wheezy source repository bootstrap a squeeze chroot for several architectures build the packages for several ...
Erwan Queffélec's user avatar
2 votes
1 answer
354 views

Using signed debian packages for internal repository

We are using an internal debian repository for backports and internal software. We chose reprepro to manage the repository, and we sign source packages (with debsign) so that the repository accepts ...
Falken's user avatar
  • 1,742
2 votes
1 answer
3k views

How do I include a customized configuration file in a rebuilt RPM?

We've rebuilt a bunch of RPMs because we wanted to remove modules and change config options for items specific to our production environment. We're hosting them in a private repo, and have them signed ...
Karl Katzke's user avatar
  • 2,596
2 votes
2 answers
583 views

Python deployment fails with "packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5."

Issue in google app engine: previous deployment 1 week ago was ok, now i get "packaging 21.2 has requirement pyparsing<3,>=2.0.2, but you have pyparsing 3.0.5." both packages are not ...
Jeroen Buis's user avatar
2 votes
1 answer
479 views

fpm doesn't deal with dependanices

I've read the docs and other tutorials to try to get fpm to handle dependencies while building debian packages, but it fails every time. my build.sh #!/bin/bash # constants ITERATION=1 CODEVER=0....
chicks's user avatar
  • 3,819
2 votes
1 answer
122 views

Can a working Tomcat 6 webapp be turned into a usable .war file?

Problem: I have a working webapp on a FreeBSD 8.1 Tomcat 6 test server that I need to move to a production system. The developer who last touched it (and had root on that server) has moved on and isn'...
Bill Cole's user avatar
  • 384
1 vote
2 answers
401 views

Debian Packaging : How to prevent "trying to overwrite" error

I have two Debian Packages that were previously made on our internal repository. They both share the same source code but are compiled with a distinct option, creating two separate binaries with the ...
Falken's user avatar
  • 1,742
1 vote
2 answers
96 views

Centos package naming for FreeIPA?

Where can I find information about CentOS package management? I installed Spacewalk recently and noticed that FreeIPA was listed as ready for an update. The versions are differently named, and the ...
datakid's user avatar
  • 359
1 vote
2 answers
5k views

Packaging a virtualenv

I'd like to package a Python virtualenv with fpm, so that I can deploy it to my servers. I want to setup the virtualenv somewhere in my home directory without having to use root permissions, but ...
brejoc's user avatar
  • 51
1 vote
1 answer
1k views

What is the apt equivalent of yum's createrepo?

With yum, I can create a respository from a folder of RPMs with the createrepo tool. What's the equivalent to turn a folder of .deb files into an apt repository? This isn't about mirroring upstream ...
kdt's user avatar
  • 1,410
1 vote
2 answers
9k views

How do I create a SCCM package where the main installation initiates self-contained msi's?

I have a few applications that are installed using InstallShield -- during the installation one or two parts of the application are installed with msi's. I've tried recording an iss file to instruct ...
DeliriumTremens's user avatar
1 vote
2 answers
980 views

wrap exe to another exe with silent installation command [closed]

I need help to check what is the tool able achieve this by wrap the exe and lic file and run the command I have a installer.exe and installer.lic file, the exe support silent install command install ...
Francis's user avatar
  • 21
1 vote
0 answers
173 views

How can I force the postinst for package A to run before the one for package B without depending on it?

(Hint to the reader: For the purpose of this post you can safely ignore what ufw is and how it actually works. My question is not about ufw, but about packaging). I have my own Deb package mypackage. ...
Nils Toedtmann's user avatar
1 vote
0 answers
108 views

Open Build System error, nothing provides dh-systemd(>=1.5) in Ubuntu 16.04 repository

I am trying to build a custom nginx package for Ubuntu 16.04 [link to my project]. I created my gpg signed files to be uploaded using the command Code: debuild -S -sa -k'mygpgkey' and uploaded ...
Arush Salil's user avatar
1 vote
1 answer
786 views

How to package a custom kernel for Debian?

I've build a custom linux kernel from the vanilla source tree using the deb-pkg target: make deb-pkg After that package has been built I've got several .deb files. However I'd like to upload those ...
tex's user avatar
  • 889
1 vote
2 answers
183 views

Packaging python software with custom dependencies

I'm looking for a good way to package a Python application that is going to be deployed on a Debian server. The application itself depends on some modules which are not included in base Debian ...
viraptor's user avatar
  • 1,306
1 vote
1 answer
735 views

Debian package with init.d without autostart

I'm trying to create a package which contains the init.d file, but doesn't try to start the daemon right after the installation. Currently, I'm using scripts created from the dh_make template. Right ...
viraptor's user avatar
  • 1,306
1 vote
2 answers
452 views

Build a debian package which includes a template [email protected]

I need to build a package for a program that should be deployed as a service. I have added a debian/helloworld.service and my package is built, installed and works correctly, i have a /lib/systemd/...
kzsnyk's user avatar
  • 111
0 votes
1 answer
121 views

Is it possible for a debian package to be installed by multiple names through apt?

I have a package foo-new, which many new users know by its old name foo-old, so they try to execute apt install foo-old which does not work. Is it possible through a control field to make a package ...
fornwall's user avatar
  • 103
0 votes
3 answers
639 views

How to install software packages on a shared Red Hat Linux host account without root access or rpm?

I have a shared RHEL 4 host account where I do not have root privileges. I would like to install Git and Bash Complete in a way that they can be upgraded easily. To date, I've just been installing ...
user avatar
0 votes
1 answer
83 views

Debian package bigger than the source files

This might be a stupid question but I'm build a custom Debian package with the following command: dpkg-deb --build sources/ my_package.deb The sources directory is about 7MB and the resulting ...
Chewie's user avatar
  • 3
0 votes
1 answer
249 views

Solaris packaging preserve file timestamps

I have been creating Solaris packages for application deployment for some time, however recently I became aware that deployed files had the same timestamp of when the package was created. Looking ...
aaa90210's user avatar
  • 351
0 votes
1 answer
1k views

Best practice signing debian packages

On my environment the packages are created by running 'debuild -b' and uploaded to the debian repository with dput. The debuild step is telling me that the package has been signed so should be cool. I ...
V. Albastonio's user avatar
0 votes
0 answers
145 views

trouble passing variable arguments list in powerhsell

Looking to build a small package for deploying Project 64 bit click to run version. I want to use MECM Install files get copied to somewhere in c:\windows\ccmcache\* $fire_off_location = Get-Location ...
lark2056's user avatar
0 votes
1 answer
302 views

Get a rpm subpackage to be installed with an update

As part of my internship task, I've to deploy OpenVPN clients on around 60-70 client devices that run CentOS (which reside on private networks and cannot be accessed directly). I'm quite new to ...
Akhil's user avatar
  • 101
0 votes
1 answer
951 views

dpkg not able to delete a symbolic link

I have the following postint script in the dpkg package: rm -f /SOMEDIRECTORY/current ln -s /SOMEDIRECTORY/releases/RELEASESHA /SOMEDIRECTORY/current ln -s /SOMEDIRECTORY/shared/config/config.json /...
milosgajdos's user avatar
  • 1,878
0 votes
1 answer
466 views

Windows Server 2008R2 WDS using MDT added applications but they arent installing

Not important information: I've a MDT server 2010 setup on a Windows 2008 R2 server I've configured DHCP for PXE and its working fine I've a custom Scheduled task configured to set my keyboard, ...
Jaoibh's user avatar
  • 1
0 votes
0 answers
593 views

rpm dependency failed to install, package installed anyway

I have this issue and I would like to understand why it is like this. I have build 3 really simple rpm packages called a, b and c, and I made a independant, b depending on a and c depending on a and b....
Pierre-Alain TORET's user avatar