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

Bug#392349: typo in apache2.2-common.postinst



reopen 392349
thanks

This bug was previously closed with:

* Enable the same list of modules as we had in 2.0 (by default) and do
  that for all older versions than 2.2.3-3 to fix upgrade issues people
  have had.  Closes: #392349

Unfortunately, there is a typo in apache2.2-common.postinst that
prevents this from working:

if [ "$2" = "<unknown>" -o -z "$2" ] || \
    dpkg --compare-versions "$2" lt 2.2.0-3; then

which should have been

if [ "$2" = "<unknown>" -o -z "$2" ] || \
    dpkg --compare-versions "$2" lt 2.2.3-3; then
                                    ^^^^^^^
(and probably needs to be changed to 2.2.3-4 to be tried again)


Andreas



Reply to: