the update of mysql-server is defect, after this update, my mysql-server is broken

Bug #520076 reported by Jobpilot
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.1 (Ubuntu)
New
Undecided
Unassigned

Bug Description

cedric@pcfixe:~$ sudo apt-get upgrade
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront mis à jour :
  mysql-server-5.1
1 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 7'272ko dans les archives.
Après cette opération, 0o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? o
Réception de : 1 http://ch.archive.ubuntu.com karmic-updates/main mysql-server-5.1 5.1.37-1ubuntu5.1 [7'272kB]
7'272ko réceptionnés en 6s (1'079ko/s)
Préconfiguration des paquets...
(Lecture de la base de données... 296689 fichiers et répertoires déjà installés.)
Préparation du remplacement de mysql-server-5.1 5.1.37-1ubuntu5 (en utilisant .../mysql-server-5.1_5.1.37-1ubuntu5.1_amd64.deb) ...
 * Stopping MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg : avertissement : ancien script pre-removal a retourné une erreur de sortie d'état 1
dpkg - tentative d'exécution du script du nouveau paquet à la place ...
 * Stopping MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg : erreur de traitement de /var/cache/apt/archives/mysql-server-5.1_5.1.37-1ubuntu5.1_amd64.deb (--unpack) :
 le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1
 * Stopping MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "stop" failed.
 * Starting MySQL database server mysqld [ OK ]
Des erreurs ont été rencontrées pendant l'exécution :
 /var/cache/apt/archives/mysql-server-5.1_5.1.37-1ubuntu5.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
cedric@pcfixe:~$

ProblemType: Package
Architecture: amd64
Date: Wed Feb 10 19:45:21 2010
DistroRelease: Ubuntu 9.10
ErrorMessage: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1
MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
 [mysqld_safe]
 syslog
MySQLVarLibDirListing: ['sugarcrm', 'pcfixe.err', 'pcfixe.err-old', 'hyla', 'debian-5.0.flag', 'ibdata1', 'adresses', 'zabbix', 'debian-5.1.flag', 'amarok', 'localhost.err-old', 'Laurux', 'flyspray', 'test_mysql', 'ib_logfile1', 'mysql', 'ib_logfile0', 'wikidb', 'egroupware', 'chrono', 'mysql_upgrade_info', 'localhost.err', 'wikimedia']
NonfreeKernelModules: nvidia
Package: mysql-server-5.1 5.1.37-1ubuntu5
ProcVersionSignature: Ubuntu 2.6.31-19.56-server
SourcePackage: mysql-dfsg-5.1
Title: package mysql-server-5.1 5.1.37-1ubuntu5 failed to install/upgrade: le sous-processus nouveau script pre-removal a retourné une erreur de sortie d'état 1
Uname: Linux 2.6.31-19-server x86_64

Revision history for this message
Jobpilot (ctrachsel) wrote :
Revision history for this message
Jobpilot (ctrachsel) wrote :

Hi everybody, the problem came after an update.
I had try an apt-get remove mysql-server an apt-get install mysql-server,
after i did this test:
cedric@pcfixe:~$ sudo /etc/init.d/mysql stop
 * Stopping MySQL database server mysqld [fail]
cedric@pcfixe:~$ sudo /etc/init.d/mysql start
 * Starting MySQL database server mysqld [ OK ]
cedric@pcfixe:~$ sudo /etc/init.d/mysql status
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
 *
cedric@pcfixe:~$

Best regards

Revision history for this message
Quiche (eric-quetto) wrote :

Find your debian-sys-maint password in /etc/mysql/debian.cnf.

Then use
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY '<password>' WITH GRANT OPTION;
Replace <password> with your debian-sys-maint password.

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.