The Software Center failed to add glpi and presented me with: Next Step:
Abort.

It launched a gui during installation and said to visit localhost/glpi/
to complete configuration. Then another dialog popped up asking me if I
wanted to use the default database or configure it manually. I chose the
automatic option. The install then failed with a third dialog box that
said:

Configuring glpi
Next Step: 
"Abort, Retry, Ignore" and help.

It appeared to me that the choices given were in response to an error
that wasn't presented to the user. So I attempted to uninstall. That
failed when I asked it to remove any db configuration, creating the
error "package glpi 0.78.1-1 failed to install/upgrade: subprocess
installed pre-removal script returned error exit status 1 ".

This was in the details of the failure dialog message box:  
"...
Use of uninitialized value $_[1] in join or string at 
/usr/share/perl5/Debconf/DbDriver/Stack.pm line 111, <GEN0> line 26.
dbconfig-common: dumping mysql database glpi to 
/var/tmp/glpi.glpi.2013-03-07-09.53.mysql.S3l9Zs.
sanity check failed for mysql.
error encountered dumping database:
No mysql client to execute. (have you installed the mysql-client package?)
..."

Of course I haven't installed the mysql-client package - I opted for the
automatic configuration my database!

Upon attempting to recreate this problem, I see that if I click Help on
that ridiculous 'Configuring glpi' dialog box it explains quite clearly
that I must first install mysql-client manually. It's just an awful
dialog to present. Screencap included for your pleasure.

What I would have expected is that the error information be presented
above the Abort options. I'm conditioned to ignore little 'help' buttons
in most cases.

Something like this would be clearer to me:

Configuring glpi
Next Step: 
Since glpi cannot detect an installed database, you need to ensure that one is 
available. [basically move all the text under 'help' to the front of the dialog 
box.]
Then, present the user with the options:
"Abort, Retry, Ignore" and Help.


** Attachment added: "nextStep-Abort.png"
   
https://bugs.launchpad.net/ubuntu/+source/glpi/+bug/831601/+attachment/3562257/+files/nextStep-Abort.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/831601

Title:
  package glpi 0.78.1-1 failed to install/upgrade: subprocess installed
  pre-removal script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glpi/+bug/831601/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to