The tag has no usage guidance.

learn more… | top users | synonyms

13
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 ...
6
votes
7answers
102 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: ...
6
votes
2answers
260 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 ...
5
votes
2answers
3k 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 ...
5
votes
3answers
1k 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 ...
4
votes
2answers
4k 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 ...
4
votes
2answers
83 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
1answer
553 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 ...
3
votes
3answers
3k 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 ...
3
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 ...
3
votes
2answers
79 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 ...
3
votes
1answer
217 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 ...
3
votes
1answer
157 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
1answer
426 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 ...
2
votes
1answer
180 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 ...
2
votes
1answer
697 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 ...
2
votes
1answer
89 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 ...
2
votes
0answers
4k 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 ...
1
vote
2answers
191 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 ...
1
vote
2answers
4k 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 ...
1
vote
2answers
47 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 ...
1
vote
1answer
321 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 ...
1
vote
1answer
2k 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 ...
1
vote
2answers
239 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 ...
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
0answers
11 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
1answer
200 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 ...
1
vote
0answers
167 views

mini-dinstall chmod 0600 changes file: Operation not permitted

I'm getting "Operation not permitted" in the mini-dinstall.log everytime a new debian package has been uploaded on the custom debian repository using dput. The deb file is installed successfuly but ...
1
vote
2answers
142 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 ...
0
votes
1answer
484 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 ...
0
votes
3answers
354 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 ...
0
votes
1answer
46 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 ...
0
votes
1answer
168 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 ...
0
votes
1answer
668 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 ...
0
votes
2answers
29 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
0answers
5 views

pbuilder excludes shared libraries

I need to deploy a custom built ruby to my machines. I created it using ruby-build with rbenv install and use the resulting rbenv root directory as my package root. The contents are included using ...
0
votes
2answers
319 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 ...
0
votes
1answer
98 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
257 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
281 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 ...
0
votes
1answer
476 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 ...