phpmyadmin.prerm: line 12: db_get: command not found

Bug #4811 reported by caligari
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
Fix Released
Medium
MOTU Reviewers Team

Bug Description

$ sudo apt-get -f remove phpmyadmin
Password:
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Los siguientes paquetes se ELIMINARÁN:
  phpmyadmin
0 actualizados, 0 se instalarán, 1 para eliminar y 0 no actualizados.
Necesito descargar 0B de archivos.
Se liberarán 11,1MB después de desempaquetar.
¿Desea continuar [S/n]?
(Leyendo la base de datos ...
84403 ficheros y directorios instalados actualmente.)
Desinstalando phpmyadmin ...
/var/lib/dpkg/info/phpmyadmin.prerm: line 12: db_get: command not found
dpkg: error al procesar phpmyadmin (--remove):
 el subproceso pre-removal script devolvió el código de salida de error 127
Se encontraron errores al procesar:
 phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
caligari (rafacouto) wrote : Significant line 12?

I have commented line 12 in /var/lib/dpkg/info/phpmyadmin.prerm with '#' and it was right now (I hope O:-)

Zak B. Elep (zakame)
Changed in phpmyadmin:
assignee: nobody → motu
Johnny Mast (johnnymast)
Changed in phpmyadmin:
assignee: motu → rave
Revision history for this message
Johnny Mast (johnnymast) wrote :

Yes in fact that

db_get phpmyadmin/restart-webserver

was on the wrong place hold on let me patch it quickly

Revision history for this message
Johnny Mast (johnnymast) wrote : phpmyadmin_2.6.4-pl4-3ubuntu1.diff

There we go,

phpmyadmin (4:2.6.4-pl4-3ubuntu1) dapper; urgency=low

  * Changed debian/packages, closes the apt-get remove phpmyadmin bug
   (Closes: #4811)

  * Also changed the depends for yada from >= 0.48 (Debian) to >= 0.35
   (Unbuntu) This plus the versioning of the package gives me the
   feeling it comes straight from debian.

 -- rave <email address hidden> Wed, 7 Dec 2005 22:51:54 +0100

Changed in phpmyadmin:
assignee: rave → motureviewers
status: New → PendingUpload
Revision history for this message
Andrew Mitchell (ajmitch) wrote :

This patch is unnecessary, the package is fixed in dapper & the fix for breezy is more of a hack of workaround of old yada bugs.

Changed in phpmyadmin:
status: PendingUpload → Fixed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.