Mailinglist Archive: opensuse-packaging (122 mails)

< Previous Next >
Re: [opensuse-packaging] RPM dependencies vs. post-install scripts
  • From: Stephan Kulow <coolo@xxxxxxx>
  • Date: Fri, 2 Nov 2007 09:44:01 +0100
  • Message-id: <200711020944.03131.coolo@xxxxxxx>
Am Donnerstag 01 November 2007 schrieb Lukas Ocilka:

I've found that some packages containing post-install scripts might not
have defined RPM dependencies correctly. All those commands used in
post-scripts should be explicitly requested. Please, correct me if I'm
wrong :)

--- examples ---
2007-10-31 19:20:46 lukemftp-1.5-660.x86_64.rpm installed ok
Additional rpm output:
/var/tmp/rpm-tmp.16471: line 1: rm: command not found

2007-10-31 19:21:50 preload-0.2-110.x86_64.rpm installed ok
Additional rpm output:
/var/tmp/rpm-tmp.11270: line 16: sed: command not found
--- examples ---

Please, check and fix your packages.

Maybe someone could extend our 'build' scripts to check the post-install
scripts whether they contain only commands (binaries) mentioned in RPM

Do you speak python? Extend rpmlint's

Greetings, Stephan
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups