Bug 8175 - execution of %preun scriptlet failed
: execution of %preun scriptlet failed
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/perl-XML-LibXML)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2005-10-10 12:34 by
Modified: 2006-08-07 05:16 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-10-10 12:34:37
perl-XML-LibXML-1.58-alt3.1

При попытке удаления этого пакета получаем:

# rpm -e perl-XML-LibXML
Can't locate XML/SAX.pm in @INC (@INC contains: /etc/perl5
/usr/lib/perl5/i386-linux /usr/lib/perl5
/usr/local/lib/perl5/site_perl/5.8.7/i386-linux
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl/5.8.3/i386-linux
/usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/i386-linux /usr/lib/perl5/vendor_perl
/usr/lib/perl5/vendor_perl .) at /root/tmp/rpm-tmp.17794 line 1.
BEGIN failed--compilation aborted at /root/tmp/rpm-tmp.17794 line 1.
error: execution of %preun scriptlet from perl-XML-LibXML-1.58-alt3.1 failed,
exit status 2
------- Comment #1 From 2006-04-26 11:11:41 -------
В спеке написано:
Requires(post,preun): perl(XML/SAX.pm) perl-XML-SAX >= 0.12-alt3

Видимо rpm не понимает зависимостей типа Requires(preun).
------- Comment #2 From 2006-08-07 05:16:09 -------
Короче я сделал статический конфиг.

* Tue May 30 2006 Alexey Tourbin <at@altlinux.ru> 1.58-alt5
- removed post/preun scriplets (should fix #8175)