[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#202929: apache depends on incorrect version of apache-common



Package: apache
Version: 1.3.27.0-2

The postinst file for apache attempts to source
/usr/share/apache/postinst.common .  This files is only present in
version 1.3.27.0-2 of apache-common.  Whilst attempting to upgrade from
1.3.27.0-1 of apache, I received the following error:
# apt-get install apache
Reading Package Lists... Done
Building Dependency Tree... Done
1 packages upgraded, 0 newly installed, 0 to remove and 52  not
upgraded. Need to get 0B/370kB of archives. After unpacking 32.8kB will
be used. Preconfiguring packages ...
(Reading database ... 11657 files and directories currently installed.)
Preparing to replace apache 1.3.27.0-1 (using
.../apache_1.3.27.0-2_i386.deb) ... Unpacking replacement apache ...
Setting up apache (1.3.27.0-2) ...
Installing new version of config file /etc/logrotate.d/apache ...
/var/lib/dpkg/info/apache.postinst: line 8:
/usr/share/apache/postinst.common: No such file or directory dpkg: error
processing apache (--configure): subprocess post-installation script
returned error exit status 1 Errors were encountered while processing:
 apache
E: Sub-process /usr/bin/dpkg returned an error code (1)

Running "apt-get install apache-common apache" completes the upgrade
successfully.

The depends field for apache currently specifies >= 1.3.27.0-0.  I
assume that updating this to 1.3.27.0-2 is all that is requried.

Thanks,
-- 
Pete



Reply to: