The tag has no wiki summary.

learn more… | top users | synonyms

13
votes
10answers
825 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
2answers
252 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
98 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
2answers
2k 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 ...
4
votes
3answers
877 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 ...
3
votes
2answers
77 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 ...
3
votes
2answers
75 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
103 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
682 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
3answers
2k 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
153 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
325 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
73 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
1answer
75 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 ...
2
votes
0answers
67 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 ...
1
vote
2answers
605 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 ...
1
vote
2answers
153 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
7k 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
1answer
127 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
112 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
123 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
227 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
1answer
53 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 ...
0
votes
2answers
129 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
3answers
222 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
1k 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
133 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
38 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
113 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
320 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
1answer
40 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
38 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
0answers
21 views

how to indicate a new source control file to dh_gencontrol when packaging with debuild command

Iam packaging my source code with debuild command. When build target is executed it creates automatically a new control file. So a file called debian/new_control is generated. when binary rule target ...
0
votes
0answers
1k 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 ...
0
votes
1answer
22 views

How to detect test being run in context of a Debian package build?

I am building a Debian squeeze package using git-buildpackage. In the build there are tests that run. I would like to be able to detect in these tests whether they are being run in the context of a ...
0
votes
1answer
356 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 ...