[sisyphus] apache conflicts

Ivan Adzhubey =?iso-8859-1?q?iadzhubey_=CE=C1_rics=2Ebwh=2Eharvard=2Eedu?=
Пн Авг 4 22:41:47 MSD 2008


On Monday 04 August 2008 01:56:49 pm Alexey Tourbin wrote:
> On Mon, Aug 04, 2008 at 12:40:30PM -0400, Ivan Adzhubey wrote:
> > # apt-get dist-upgrade
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > Calculating Upgrade... Done
> > <...skipped...>
> > 280 upgraded, 8 newly installed, 1 replaced, 21 removed and 0 not
> > upgraded. Need to get 0B/249MB of archives.
> > After unpacking 3064kB disk space will be freed.
> > Do you want to continue? [Y/n] y
> > Committing changes...
> > Preparing...
> > #########################################################################
> >### [100%]
> > file /var/www/html/addon-modules conflicts between attempted installs of
> > apache2-html-2.2.9-alt4 and webserver-common-1.1-alt1
> > E: Error while running transaction
>
> У каталога /var/www/html/addon-modules разные права доступа.
>
> $ rpm -qlvp webserver-common-1.1-alt1.noarch.rpm
> apache2-html-2.2.9-alt4.noarch.rpm |fgrep addon-modules drwxrws--x    2
> root    webmaste            0 Aug  3 16:36 /var/www/html/addon-modules
> drwxr-xr-x    2 root    root                0 Aug  3 16:43
> /var/www/html/addon-modules $
>
> С некоторых пор это считается конфликтом (rpm 4.0.4-alt93;
> раньше каталоги вообще никогда не конфликтовали, а теперь требуется
> совпадение st_mode и st_uid/st_gid).
>
> Впрочем, как видно из вывода, пакет был собран только вчера.

Понятно, поставил путем rpm --force. Вот еще ошибки в процессе:

 70: apache2-common          ########################################### [ 
67%]
 71: apache2-httpd-worker    ########################################### [ 
68%]
 72: apache2-httpd-prefork   ########################################### [ 
69%]
 73: apache2                 ########################################### [ 
70%]
error reading information on service httpd2: No such file or directory
service: httpd2: Unrecognized service
error reading information on service httpd2: No such file or directory
service: httpd2: Unrecognized service
error reading information on service httpd2: No such file or directory
service: httpd2: Unrecognized service

# chkconfig --list|fgrep httpd
httpd           0:off   1:off   2:off   3:on    4:on    5:on    6:off
httpd-perl      0:off   1:off   2:off   3:off   4:off   5:off   6:off

# ls -lh /etc/init.d/|fgrep http
-rwxr-xr-x 1 root root 2.9K 2008-08-02 09:41 httpd
-rw------- 1 root root 3.4K 2008-08-03 08:43 httpd2
-rwxr-xr-x 1 root root 3.3K 2008-08-02 09:41 httpd-perl

# rpm -qf /etc/init.d/httpd2
apache2-2.2.9-alt4

???

--Ivan

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.




Подробная информация о списке рассылки Sisyphus