Stack Exchange Network

Stack Exchange network consists of 175 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]

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

0
votes
1answer
16 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 ...
0
votes
0answers
39 views

How to distribute docker application stacks?

I’ve got a relatively simple enterprise app stack - a database, app server and HTTP server. I’m trying to figure out how best to distribute it. Just a docker compose file might work for some ...
1
vote
0answers
74 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. ...
2
votes
1answer
184 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 ...
0
votes
1answer
79 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 ...
2
votes
1answer
72 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....
1
vote
0answers
69 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 ...
1
vote
2answers
76 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 ...
0
votes
2answers
338 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 ...
0
votes
2answers
2k 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 ...
2
votes
2answers
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 ...
0
votes
1answer
175 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 /...
0
votes
1answer
427 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, ...
0
votes
0answers
552 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....
1
vote
1answer
785 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 ...
4
votes
1answer
6k 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 ...
4
votes
1answer
1k 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 ...
4
votes
1answer
785 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 ...
0
votes
1answer
57 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 ...
9
votes
4answers
10k 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 ...
2
votes
1answer
98 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'...
1
vote
2answers
424 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 ...
0
votes
1answer
196 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 ...
1
vote
1answer
319 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 ...
3
votes
1answer
330 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 ...
0
votes
1answer
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 ...
4
votes
1answer
2k 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 ...
2
votes
1answer
230 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 ...
6
votes
2answers
267 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 ...
6
votes
7answers
116 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: ...
5
votes
3answers
6k 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 ...
2
votes
1answer
2k 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 ...
1
vote
2answers
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 ...
1
vote
2answers
160 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 ...
1
vote
1answer
651 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 ...
0
votes
3answers
586 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 ...
4
votes
1answer
579 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 ...
3
votes
2answers
86 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 ...
4
votes
2answers
90 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 "-...
1
vote
2answers
229 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 ...
2
votes
1answer
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 ${...
0
votes
1answer
1k 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 ...
5
votes
2answers
5k 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 ...
6
votes
3answers
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 ...
14
votes
10answers
1k 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 ...