Mailinglist Archive: opensuse-packaging (122 mails)

< Previous Next >
[opensuse-packaging] RPM dependencies vs. post-install scripts
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Thu, 01 Nov 2007 13:25:48 +0100
  • Message-id: <4729C5CC.5030304@xxxxxxx>

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



Lukas Ocilka, YaST Developer (xn--luk-gla45d)
SUSE LINUX, s. r. o., Lihovarska 1060/12, Praha 9, Czech Republic

< Previous Next >
Follow Ups