package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 1

Bug #377268 reported by j0s3_r1v3r
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
mysql-dfsg-5.0 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

 * Starting MySQL database server mysqld [fail]
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error al procesar mysql-server-5.0 (--configure):
 el subproceso post-installation script devolvió el código de salida de error 1
Configurando libhtml-template-perl (2.9-1) ...
dpkg: problemas de dependencias impiden la configuración de mysql-server:
 mysql-server depende de mysql-server-5.0; sin embargo:
 El paquete `mysql-server-5.0' no está configurado todavía.
dpkg: error al procesar mysql-server (--configure):
 problemas de dependencias - se deja sin configurar
No se ha escrito ningún informe de Apport porque el mensaje de error indica que es un error proveniente de un fallo anterior.
                                                                                                                             Se encontraron errores al procesar:
 mysql-server-5.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: el subproceso post-installation script devolvió el código de salida de error 1
Package: mysql-server-5.0 5.1.30really5.0.75-0ubuntu10
SourcePackage: mysql-dfsg-5.0
Title: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: el subproceso post-installation script devolvió el código de salida de error 1
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
j0s3_r1v3r (j0s3-r1v3r-hotmail) wrote :
Revision history for this message
Andreas Olsson (andol) wrote :

What does your /var/log/daemon.log say in regard to the failed attempt to start the MySQL server?

Changed in mysql-dfsg-5.0 (Ubuntu):
status: New → Incomplete
Revision history for this message
Calvin Mitchell (calvin674) wrote :

Dell Inspiron E1505
Karmic Koala
Synaptic error: "E: /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb: subprocess pre-installation script returned error exit status 1"

Revision history for this message
Calvin Mitchell (calvin674) wrote :

E: /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb: conflicting packages - not installing mysql-server-5.0

sudo apt-get -f install
[sudo] password for calvin:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  mysql-server-5.0
Suggested packages:
  tinyca
The following NEW packages will be installed:
  mysql-server-5.0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the download directory
calvin@vistaclm:/usr/src/apache2$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  mysql-server-5.0
Suggested packages:
  tinyca
The following NEW packages will be installed:
  mysql-server-5.0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/24.0MB of archives.
After this operation, 81.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
dpkg: regarding .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb containing mysql-server-5.0:
 mysql-server-5.0 conflicts with mysql-server (<< 5.1.30really5.0.75-0ubuntu10.2)
  mysql-server (version 5.1.30really5.0.75-0ubuntu10) is present and unpacked but not configured.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb (--unpack):
 conflicting packages - not installing mysql-server-5.0
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Calvin Mitchell (calvin674) wrote :

sudo dpkg --configure mysql-server-5.0
dpkg: error processing mysql-server-5.0 (--configure):
 package mysql-server-5.0 is not ready for configuration
 cannot configure (current status `config-files')
Errors were encountered while processing:
 mysql-server-5.0

Revision history for this message
Calvin Mitchell (calvin674) wrote :

sudo apt-get -f install mysql-server-5.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  tinyca
The following NEW packages will be installed:
  mysql-server-5.0
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0B/24.0MB of archives.
After this operation, 81.4MB of additional disk space will be used.
Preconfiguring packages ...
dpkg: regarding .../mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb containing mysql-server-5.0:
 mysql-server-5.0 conflicts with mysql-server (<< 5.1.30really5.0.75-0ubuntu10.2)
  mysql-server (version 5.1.30really5.0.75-0ubuntu10) is present and unpacked but not configured.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb (--unpack):
 conflicting packages - not installing mysql-server-5.0
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Calvin Mitchell (calvin674) wrote :

i am a web developer, and mysql-server is an important part of my setup...why is this bug listed as incomplete, and how.when can we make it complete??????

Revision history for this message
Calvin Mitchell (calvin674) wrote :

problem continues with mysql-server-5.0 5.1.30really5.0.83-0ubuntu1 [24.2MB]
Get:2 http://us.archive.ubuntu.com karmic/main libhtml-template-perl 2.9-1 [65.8kB]
Get:3 http://us.archive.ubuntu.com karmic/main mysql-server 5.1.30really5.0.83-0ubuntu1 [57.9kB]
Fetched 24.3MB in 11s (2054kB/s)
Preconfiguring packages ...
(Reading database ... 338087 files and directories currently installed.)
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.1.30really5.0.83-0ubuntu1_amd64.deb) ...
Aborting downgrade from (at least) 5.1 to 5.0.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.83-0ubuntu1_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Selecting previously deselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.9-1_all.deb) ...
Selecting previously deselected package mysql-server.
Unpacking mysql-server (from .../mysql-server_5.1.30really5.0.83-0ubuntu1_all.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.83-0ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Mathias Gug (mathiaz) wrote :

Could you please provide the following information:

 * content of /var/log/daemon.log related to mysql processes:

    /var/log/daemon.log

 * apparmor audit messages related to mysqld:

    /var/log/kern.log

 * mysqld apparmor profile:

    /etc/apparmor.d/usr.sbin.mysqld

 * mysql configuration stripped of private information (such as password):

    /etc/mysql/my.cnf

 * extra mysql configuration from the conf.d directory:

    /etc/mysql/conf.d/

Revision history for this message
j0s3_r1v3r (j0s3-r1v3r-hotmail) wrote : Re: [Bug 377268] Re: package mysql-server-5.0 5.1.30really5.0.75-0ubuntu10 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 1

Lo siento ya reinstale el sistema y ahora sí pude instalar correctamente

_________________________________________________________________
Gracias Messenger por estos 10 años
www.aniversariomessenger.com.mx

Revision history for this message
Calvin Mitchell (calvin674) wrote :

because mysql doesn't complete its installation i cannot provide any data from the following files:

    /var/log/daemon.log
    /var/log/kern.log

Revision history for this message
Calvin Mitchell (calvin674) wrote :

extra mysql configuration from the conf.d directory:

    /etc/mysql/conf.d/

...there are no files in this directory.

Revision history for this message
Trond Husoe (tr-huso) wrote :

I believe this bug is related to: 292706 and 444479

Chuck Short (zulcss)
Changed in mysql-dfsg-5.0 (Ubuntu):
status: Incomplete → Confirmed
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.