Bug 29395 - apache2-mod_perl install cause wrong filetrigger/dependencies/alternatives
Summary: apache2-mod_perl install cause wrong filetrigger/dependencies/alternatives
Status: CLOSED WORKSFORME
Alias: None
Product: Sisyphus
Classification: Development
Component: apache2 (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 12:11 MSK by Mike Lykov
Modified: 2018-11-21 19:42 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lykov 2013-09-26 12:11:59 MSK
пустой ovz ct (ничего из apache нет), потребовался apache2 mod_perl. решил сразу его и поставить:
apt-get install apache2-mod_perl

The following NEW packages will be installed:
  apache2 apache2-ab apache2-base apache2-cgi-bin apache2-cgi-bin-printenv
  apache2-cgi-bin-test-cgi apache2-datadirs apache2-htcacheclean
  apache2-htcacheclean-control apache2-html apache2-htpasswd
  apache2-httpd-worker apache2-icons apache2-mod_disk_cache apache2-mod_perl
  apache2-mods condstopstart-common condstopstart-web libapr1 libaprutil1
  libexpat libgdbm perl-BSD-Resource perl-DBM shadow-groups
  webserver-cgi-bin-control webserver-common webserver-common-control
.... ставятся ...
Get:12 http://ftp.altlinux.org x86_64/classic apache2-base 2.2.24-alt3 
Get:13 http://ftp.altlinux.org x86_64/classic apache2-httpd-worker 2.2.24-alt3 [176kB]
....
Get:28 http://ftp.altlinux.org x86_64/classic apache2-mod_perl 2.0.8-alt1 [402kB]
....
Port config http installed;
        run service httpd2 condreload to fully enable.
Extra config httpd-addon.d installed;
        run service httpd2 condreload to fully enable.
....

Module negotiation installed;
        run service httpd2 condreload to fully enable.
Module perl installed;
        run service httpd2 condreload to fully enable.
/usr/sbin/apachectl2: line 133: /usr/sbin/httpd2: No such file or directory
Some errors detected in Apache2 configuration!
To use mod_perl check configuration and start httpd2 service.

Running /usr/lib/rpm/posttrans-filetriggers
Done.

при этом 
# ls -l /usr/sbin/http*
lrwxrwxrwx 1 root root     40 сен 26 11:56 /usr/sbin/httpd2 -> /etc/alternatives/links/|usr|sbin|httpd2
-rwxr-xr-x 1 root root 476864 май 29 15:59 /usr/sbin/httpd2.worker

------------
альтернатива появляется позже, чем исполняется файлтриггер?
Comment 1 Mike Lykov 2013-09-26 12:17:18 MSK
заметил, что в sisyphus та же версия пакета. не знаю, на apache2 это или на apache2-mod_perl (разные маинтейнеры)
Comment 2 Mike Lykov 2013-09-26 13:19:00 MSK
повторно 

# apt-get install --reinstall apache2-mod_perl

Module perl is already enabled!
Module perl installed;
        run service httpd2 condreload to fully enable.
Syntax OK
Running /usr/lib/rpm/posttrans-filetriggers
Done.

явно где-то автогонки ;)
Comment 3 Anton Farygin 2018-11-21 19:42:25 MSK
на текущем sisyphus не воспроизвёл.