[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

ensuring rpm -i/U doesn't remove scripts (%post)



I've modified my .spec file and the %post script is failing (my fault).

part of rpm -uvvh ... is:

D: adding 1 entries to Installtid index.
D:   install: running %post script(s) (if any)
+ umask 022
/var/tmp/rpm-tmp.42090: line 48: syntax error near unexpected token `}'
/var/tmp/rpm-tmp.42090: line 48: `}'
error: execution of %post scriptlet from postfix-20020107snapshot-0.3.ldap 
failed, exit status 2
D: closed   db index       /var/lib/rpm/Depends
D: closed   db index       /var/lib/rpm/Installtid

rpm removes the /var/tmp/rpm-tmp.42090 file, and I'm not entirely sure 
which line 48 corresponds to.

Is there any way I can ask rpm to not remove the "offending" temporary 
script file so that I can examine it, or is there another easy way to 
find this information?

Simon
-- 
Simon J Mudd,   Tel: +34-91-408 4878,  Mobile: +34-605-085 219
Madrid, Spain.  email: sjmudd@pobox.com,  Postfix RPM Packager






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []