12.04 -> 14.04 upgrade fails in apache2

Bug #1564269 reported by Marius Gedminas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apache2 (Ubuntu)
Expired
Undecided
Unassigned
ubuntu-release-upgrader (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Terminal output:

Nepavyko įdiegti atnaujinimų

Atnaujinimas nutrauktas. Jūsų sistema gali būti netinkamoje naudoti
būsenoje. Dabar bus paleistas atkūrimas (dpkg --configure -a).

Please report this bug in a browser at
http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
and attach the files in /var/log/dist-upgrade/ to the bug report.
installArchives() failed

Tvarkomas paketas apache2 (2.4.7-1ubuntu4.9) ...
Directory /etc/apache2/conf.d is not empty - leaving as is
Please note, that directory is considered obsolete and not read anymore by default
charset.dpkg-old pov-ssl-hardening.conf
disable obsolete module proxy
ERROR: The following modules depend on proxy and need to be disabled first: proxy_http
dpkg: error processing package apache2 (--configure):
 vidinis procesas installed post-installation script nutrūko gražindamas reikšmę 1
dpkg: dependency problems prevent configuration of apache2-mpm-worker:
 apache2-mpm-worker priklauso nuo apache2 (= 2.4.7-1ubuntu4.9); tačiau:
  Paketas apache2 dar nekonfigūruotas.

dpkg: error processing package apache2-mpm-worker (--configure):
 priklausomybių problemos - paliekamas nekonfigūruotas
Apdorojant įvyko klaidų:
 apache2
 apache2-mpm-worker

Atnaujinimas užbaigtas

Atnaujinimas baigtas, bet atnaujinimo proceso metu įvyko klaidų.

Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :
Revision history for this message
Marius Gedminas (mgedmin) wrote :

Running `dpkg --configure -a` fails with the same error.

Workaround: `a2dismod proxy_http; dpkg --configure -a; a2enmod proxy_http`.

Revision history for this message
James Harris (harris1) wrote :

I ran into this issue. And it looks my fault for not using a2enmod.

ls -l /etc/apache2/mods-enabled/proxy.load
lrwxrwxrwx 1 root root 38 Nov 11 2014 proxy.load -> /etc/apache2/mods-available/proxy.load

This breaks apache2.postinst:

  target=$(readlink "$link") || true
  ...
  if [ ! -e "/etc/apache2/mods-enabled/$target" ] ; then

Replacing the symlink targets with relative paths also works around the issue.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Heh, took me a while to discover _which_ of my servers failed an upgrade on that date (ideja).

etckeeper confirms that /etc/apache2/mods-enabled/proxy.{load,conf} were symlinks to absolute paths prior to the failed upgrade. Curiously, proxy_http.load was a symlink to a relative path.

Revision history for this message
Joshua Powers (powersj) wrote :

Hi James, Marius,

Thank you for your report.

This looks like a local configuration problem, rather than a bug in Ubuntu. Since we use this bug tracker to track bugs in Ubuntu, rather than configuration problems, I'm marking this bug as Invalid. This helps us to focus on fixing bugs in Ubuntu.

If you disagree, please explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Thanks!

Changed in apache2 (Ubuntu):
status: New → Incomplete
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ubuntu-release-upgrader (Ubuntu) because there has been no activity for 60 days.]

Changed in ubuntu-release-upgrader (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apache2 (Ubuntu) because there has been no activity for 60 days.]

Changed in apache2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.