On Sun, 08 Mar 2009, Neil Williams wrote: > dpkg --unpack needs to be able to work without executing any maintainer > scripts, just > extracting the data.tar.gz, decompressing the control.tar.gz, moving > maintainer scripts > to the var/lib/dpkg/info/ directory, handling var/lib/dpkg/status and > var/lib/dpkg/available > and leaving the status of the package as "Status: install ok unpacked"
You're asking us to support crude hacks… --unpack is not --unpack if it doesn't call the preinst/prerm. While I understand your need, I'm not convinced that dpkg has to be modified to support this use case. After all policy compliant packages have the right to expect in their postinst that the prerm/preinst have been run. I fail to see why we would want to allow that. Hacks are okay to get something done, but I wouldn't want to officialize hacks by integrating them in dpkg itself. I would suggest you to look into using virtualisation or other similar solution instead. That's just my opinion. Maybe Guillem has some nicer approach to suggest, we'll see. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

