Unable to remove/purge: phpmyadmin.prerm: line 12: db_get: command not found

Bug #5904 reported by Loic Pefferkorn
6
Affects Status Importance Assigned to Milestone
phpmyadmin (Ubuntu)
Fix Released
Medium
Unassigned
Breezy
Invalid
Medium
Unassigned

Bug Description

Running Breezy:

loic@iron:~$ sudo apt-get install phpmyadmin
(...)
loic@iron:~$ sudo apt-get remove phpmyadmin
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  phpmyadmin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives.
After unpacking 11.1MB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 89657 files and directories currently installed.)
Removing phpmyadmin ...
/var/lib/dpkg/info/phpmyadmin.prerm: line 12: db_get: command not found
dpkg: error processing phpmyadmin (--remove):
 subprocess pre-removal script returned error exit status 127
Errors were encountered while processing:
 phpmyadmin
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Loic Pefferkorn (loic) wrote :

Was fixed in Dapper (#4811)

Revision history for this message
Loic Pefferkorn (loic) wrote :

This bug comes from Breezy version of yada, problem corrected in versions >=0.44

 yada (0.44) unstable; urgency=medium

   * Generate debconf header for preinst and prerm scripts.

 -- Piotr Roszatycki <email address hidden> Tue, 13 Sep 2005 23:19:12 +0200

Changed in phpmyadmin:
assignee: nobody → motu
Changed in phpmyadmin:
status: Unconfirmed → Rejected
Revision history for this message
Eve La Fée (ubuntu-evelafee) wrote : Corrected version of phpmyadmin.prerm

Added '. /usr/share/debconf/confmodule'.

Revision history for this message
Reinhard Tartler (siretart) wrote :

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs which you find.

Changed in phpmyadmin:
assignee: motu → nobody
status: Unconfirmed → Fix Released
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.