Bug 19642 - ошибка в %post
Summary: ошибка в %post
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: readom (show other bugs)
Version: unstable
Hardware: all Linux
: P3 blocker
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 19:14 MSD by Sergey V Turchin
Modified: 2011-10-27 13:32 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey V Turchin 2009-04-16 19:14:29 MSD
Невозможно собрать пакет, зависимый от readcd, т.к. в тесте на установку ошибка

rpmi: readcd-6:2.01.01-alt2a03.0 installed
control: No such facility: readcd
error: execution of %post scriptlet from readcd-2.01.01-alt2a03.0 failed, exit status 1
Comment 1 Michael Shigorin 2011-10-27 11:13:15 MSK
$ sudo apt-get install readcd
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting readom for 'readcd'
readom is already the newest version.
0 upgraded, 0 newly installed, 0 removed and 31 not upgraded.
$ rpm -q --scripts readom
preinstall scriptlet (through /bin/sh):

if [ $1 -ge 2 ]; then 
        /usr/sbin/control-dump readom 
fi
postinstall scriptlet (through /bin/sh):

if [ $1 -ge 2 ]; then 
        /usr/sbin/control-restore readom 
else 
        for facility in readom; do 
                /usr/sbin/control "$facility" public 
        done 
fi
Comment 2 Dmitry V. Levin 2011-10-27 13:32:31 MSK
Эх, нет чтобы и остальные баги вешались сразу в исправленном виде! :)