Mailinglist Archive: opensuse-packaging (122 mails)

< Previous Next >
Re: [opensuse-packaging] RPM dependencies vs. post-install scripts
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Fri, 02 Nov 2007 10:26:12 +0100
  • Message-id: <472AED34.4090103@xxxxxxx>
Stephan Kulow napsal(a):
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

It's a shame but I don't ;)
I hope, there's someone who does and is willing to help.
Any volunteer?


< Previous Next >
Follow Ups