/etc/lsb-base-logging.sh: line 84: INITOUTPUT: unbound variable

Bug #316594 reported by iSkander
This bug report is a duplicate of:  Bug #291987: mysql-server-5.0 installation fails. Edit Remove
6
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mysql-server

2 days ago my Ubuntu was auto-updated itself. After that I cannot be able to connect with mysql-server ["ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
"]
So i trye to remove & install again... Remove & Install have the same problem, that i reported below!

After I lunch the command

"apt-get install mysql-server-5.0",

it says:

"
Lettura della lista dei pacchetti in corso... Fatto
Generazione dell'albero delle dipendenze in corso
Lettura delle informazioni di stato... Fatto
mysql-server-5.0 è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
1 non completamente installati o rimossi.
Dopo questa operazione verranno occupati 0B di spazio su disco.
Configuro mysql-server-5.0 (5.0.51a-3ubuntu5.1) ...
/etc/lsb-base-logging.sh: line 84: INITOUTPUT: unbound variable
invoke-rc.d: initscript mysql, action "stop" failed.
/etc/lsb-base-logging.sh: line 84: INITOUTPUT: unbound variable
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: errore processando mysql-server-5.0 (--configure):
 il sottoprocesso post-installation script ha restituito un codice di errore 1
Sono occorsi degli errori processando:
 mysql-server-5.0
E: Sub-process /usr/bin/dpkg returned an error code (1)
"

My machine is:
NetBook Dell Mini 9 (LPIA)
OS: Ubuntu 8.04.1
Release: 8.04

Version Table
 *** 5.0.51a-3ubuntu5.1 0
        500 http://dell-mini.archive.canonical.com hardy-updates/main Packages
        100 /var/lib/dpkg/status
     5.0.51a-3ubuntu5 0
        500 http://dell-mini.archive.canonical.com hardy/main Packages

I think the problem is "LSB"-scrips but I do not trust to remove it and install an older version.
Before update Mysql-Server works perfectly

ProblemType: Package
Architecture: lpia
Date: Tue Jan 13 00:07:26 2009
DistroRelease: Ubuntu 8.04
ErrorMessage: il sottoprocesso pre-removal script ha restituito un codice di errore 1
Package: mysql-server-5.0 5.0.51a-3ubuntu5.1
PackageArchitecture: lpia
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.0.51a-3ubuntu5.1 failed to install/upgrade: il sottoprocesso pre-removal script ha restituito un codice di errore 1
Uname: Linux 2.6.24-19-lpia i686

Revision history for this message
iSkander (alessandro-scipioni) wrote :
Revision history for this message
Gabriel Piassetta (gabrielpiassetta) wrote :

Just comments the lines 84, 114, 136 and 156

that is not a great solution, just a work around, but solve the problem.

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.