| Summary: | "битый" симлинк после обновления пакета до версии 2.8.21-alt1 | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Andrei Bulava <abulava> |
| Component: | mod_ssl-doc | Assignee: | Michael Shigorin <mike> |
| Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
| Severity: | normal | ||
| Priority: | P2 | CC: | lakostis, ldv, mithraen |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
fixed in 2.8.21-alt2 Где этот -alt2? На localhost. Сейчас уйдёт в incoming. * Wed Oct 27 2004 Dmitry V. Levin <ldv@altlinux.org> 2.8.21-alt2%release_tag - %name-doc, %name-sxnet: + fixed %%post scripts (#5405). |
Вывод apt-get dist-upgrade озадачил следующим: 10: mod_ssl-doc ########################################### [100%] ln: creating symbolic link `/var/www/html/addon-modules/mod_ssl' to `/usr/share/ doc/mod_ssl-2.8.21': File exists Проверил, оказалось - после обновления появился "битый" симлинк: # ls -al /var/www/html/addon-modules|grep mod_ssl lrwxrwxrwx 1 root webmaster 29 Sep 20 09:37 mod_ssl -> /usr/share/doc/mod_ssl-2.8.19 Дальше всё просто ;-) $ rpm -q --scripts mod_ssl-doc postinstall scriptlet (through /bin/sh): ln -s /usr/share/doc/mod_ssl-2.8.21 \ /var/www/html/addon-modules/mod_ssl ||: postuninstall scriptlet (through /bin/sh): if [ $1 = 0 ]; then /bin/rm -f /var/www/html/addon-modules/mod_ssl fi Если в %post будет ln -sf ..., то обновление будет проходить успешно.