Mailinglist Archive: opensuse-packaging (120 mails)

< Previous Next >
Re: [opensuse-packaging] rpm-3.x - locking rpmdb
  • From: Vincent Untz <vuntz@xxxxxxxxxxxx>
  • Date: Fri, 17 Jul 2009 10:57:24 +0200
  • Message-id: <20090717085724.GM14341@xxxxxxxxx>
Le jeudi 16 juillet 2009, à 17:44 +0200, Michael Schroeder a écrit :
On Thu, Jul 16, 2009 at 05:32:44PM +0200, Andre Hübner wrote:
yes, thats it.
tomorrow i will try with testing existence of file and do an exit if file
exists.

Uh, please *never* do an exit 1 in a pre/postinstall scriptlet.
It'll abort in the middle of the transaction and the user will have
an inconsistent system state.

Hrm, if it's so easy to break the system, shouldn't rpm do something to
avoid this?

Vincent

--
Les gens heureux ne sont pas pressés.
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups