Hardy Upgrade freezes on phpbb2-conf-mysql

Bug #218492 reported by Luke Faraone
10
Affects Status Importance Assigned to Milestone
phpbb2 (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: phpbb2-conf-mysql

if phpbb2-conf-mysql is installed, attempts to use the gui to update will fail.

Only alternative was to cancel, drop to terminal, and do sudo dpkg --configure -a

Then CTRL+C when it failed again, causing it to continue leaving it broken.

7.10>8.04 RC

Output: "
Setting up phpbb2-conf-mysql (2.0.22-3) ...
Creating MySQL tables if they don't exist yet...
Creating phpbb_sessions_keys table if it doesn't exist yet...
Creating search_time column if it doesn't exist yet...
"

And it freezes, I left it for hours...

Revision history for this message
Luke Faraone (lfaraone) wrote :

Script being run during freeze:
/usr/bin/ucf --three-way /tmp/phpbb2.config.php.R19308 /etc/phpbb2/config.php

This also occurs when installing the package in hardy. Attaching a strace produces the following (attached while frozen):
"Process 18933 attached - interrupt to quit
read(0,
"

So it seems to be waiting for input, even after the debconf window has closed!

Revision history for this message
James Westby (james-w) wrote :

Hi,

This has been fixed elsewhere (e.g. boxbackup) by changing it to use

  ucf --three-way --debconf-ok

and dropping the /dev/tty redirection.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Hi,

I have made the modification, could you please test the
packages at

  http://jameswestby.net/scratch/phpbb2_2.0.22-3ubuntu0.1~hardy1_all.deb
  http://jameswestby.net/scratch/phpbb2-conf-mysql_2.0.22-3ubuntu0.1~hardy1_all.deb

However, we need to be careful that installing them a different
way does not mask the bug.

Thanks,

James

Revision history for this message
James Westby (james-w) wrote :

Hi,

Attached is the proposed patch if the above .debs work.

Thanks,

James

Revision history for this message
Luke Faraone (lfaraone) wrote :

Yes, the above deb packages work for me.

Revision history for this message
yopai (pierre-olivier-vares) wrote :

I had the same problem by installing the packages from the official repository :
Prendre(Take) :3 http://fr.archive.ubuntu.com hardy/universe phpbb2 2.0.22-3 [549kB]
Prendre(Take) :5 http://fr.archive.ubuntu.com hardy/universe phpbb2-conf-mysql 2.0.22-3 [57,2kB]
Dépaquetage(Unpacking) de phpbb2 (à partir de .../phpbb2_2.0.22-3_all.deb) ...
Dépaquetage(Unpacking) de phpbb2-conf-mysql (à partir de .../phpbb2-conf-mysql_2.0.22-3_all.deb) ...
Paramétrage(Configure) de phpbb2 (2.0.22-3) ...
Paramétrage(Configure) de phpbb2-conf-mysql (2.0.22-3) ...
Creating MySQL database...
Creating MySQL user...
Creating MySQL tables if they don't exist yet...
Creating phpbb_sessions_keys table if it doesn't exist yet...
Creating search_time column if it doesn't exist yet...

The script then freezes, as described above.
By using the links you provide, it works (after a warning : an older version is in the repository).

Shouldn't this packages be in the repository ? (since this packages are 3 months old)

Revision history for this message
Greyhound (lordgreyhound) wrote :

James version works flawlessly. Thank you!

Revision history for this message
Mathias Burén (mathias-buren) wrote :

This exact bug (it appears to be the exact same) exists on Ubuntu 8.10 as of 9 Oct.

Luke Faraone (lfaraone)
Changed in phpbb2:
importance: Undecided → Medium
status: New → Triaged
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.