10.04 LTS installation going badly - I'm now stuck

Asked by LEGOManiac

Two days ago, just before 10.04 LTS was released into the wild, there were some security updates. I tried to install them. They included a kernel update and it failed with the following messages as copied from the dialog box:

E: linux-image-2.6.31-21-generic: subprocess installed post-installation script returned error exit status 1
E: linux-image-generic: dependency problems - leaving unconfigured
E: linux-generic: dependency problems - leaving unconfigured

Now, I ignore this since 10.04 was due the next day anyway so last night I tried the 10.04 LTS upgrade.

In two separate dialog boxes I got the following errors:

subprocess installed post-installation script returned error exit status 1
subprocess installed post-installation script returned error exit status 1

It was late and I had left the computer running and was to tired to pay much attention to what point in the installation this was happening. I figured there's probably a log file that will tell me that anyway. (but I don't know which one)

This morning I came back to it (I'd left the install running during the night as I was too tired to stay up) and was being prompted by a dialog box to keep or change a configuration file. Nothing relevant here - I just kept going.

Ultimately, I ended up at a dialog box regarding MySQL and Bacula and requiring the MySQL database admin password.

I did once take a look at Bacula but decided it was too complicated to set up at the time and I abandoned it. It is not currently installed. I don't recall ever setting up MySQL (but I may have) but what puzzles me is that I would have given it the same password as my user account, yet, when the dialog box appeared, it wanted that password and rejected it. A blank password didn't work either so in the end I was forced to skip it.

Now I'm at a point during the 10.04 LTS upgrade where, within the dialog box, there is the terminal and it's showing:

┌───────────────────┤ Configuring bacula-director-mysql ├───────────────────┐
 │ │
 │ An error occurred while upgrading the database: ↑
 │ ▮
 │ mysqldump: Got error: 1049: Unknown database 'bacula' when selecting the ▒
 │ database ▒
 │ ▒
 │ Fortunately, ▒
 │ /var/cache/dbconfig-common/backups/bacula-director-mysql_2.4.4-1ubuntu9. ▒
 │ mysql holds a backup of the database, made just before the upgrade. ▒
 │ ▒
 │ If at this point you choose "retry", you will be prompted with all the ▒
 │ configuration questions once more and another attempt will be made at ▒
 │ performing the operation. "retry (skip questions)" will immediately ▒
 │ attempt the operation again, skipping all questions. If you choose ▒
 │ "abort", the operation will fail and you will need to downgrade, ↓
 │
 │ <Ok>
 │ │
 └───────────────────────────────────────────────────────────────────────────

Nothing I press on the keyboard moves me forward. I've tried clicking on the console window and pressing space, enter, o, and esc.

In desparation, even though it's a console window, I've tried clidking on <Ok>

The up/down arrows allow me to scroll the text a bit (there are two additional lines) but no other options are presented other than <Ok>

So how do I move forward?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
LEGOManiac
Solved:
Last query:
Last reply:
Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#1

BTW: I'm wondering if leaving a user hanging during an installation qualifies as a bug in the installation scripts? I"m thinking I'll create a bug report.

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#2

OK. I've created the bug report #572471 and included a screen shot of where I'm at, including the last two lines that don't appear in the cut/paste I put in the original question.

Since I can scroll the terminal window, I would infer that the window has focus and is accepting keyboard entry but nothing I click on gets me past the <Ok>

Revision history for this message
Tom (tom6) said :
#3

Hi

Do you have an Ubuntu Cd that you can use as a LiveCd?
https://help.ubuntu.com/community/LiveCD

This should at least allow you to use the machine for a few things until you sort this problem out.
Good luck and regards from
Tom :)

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#4

I do, but I'm wondering if there is a way to just force it to move forward. I haven't tried rebooting yet.

Revision history for this message
Tom (tom6) said :
#5

Hi :)

Ok, i would try the usual simple fixes, "Fix broken packages", that sort of thing. See if it nudges the right package or draws in a good dependency or something

System - Administration - Synaptic - Edit - "Fix broken ...

or reboot and from the boot-menu

"recovery mode" - "Fix broken ...

Then i think going for a fresh install would be a smart move BUT i guess we need to

1. Get a list of all the currently installed programs and then reinstall them after the install. Luckily this is easy.

2. Backup data&settings. It would be a little more complicated to set-up a separate /home partition but the instructions for this are now a LOT easier to understand. Using "rsync" to copy or back-up keeps the right permissions for all the files but other methods seem to leave residual problems

So, please let us know how you want to proceed and how things are going.
Good luck and regards from
Tom :)

Revision history for this message
LEGOManiac (bzflaglegomaniac) said :
#6

I rebooted and did a partial upgrade, which seems to have worked.

Revision history for this message
Tom (tom6) said :
#7

Superb :) Nicely done :))