rpm-2.5.3-5.1 dumps core when I try to upgrade certain packages. The packages in question were ypserv (upgrading from the default release to 1.3.4-1) and samba (upgrading from the default release to 1.9.18p7-2). There are now two entries in my rpm database for these packages, and I can't erase either of them (nothing happens when I try.) I have installed both the rpm and rpm-devel packages.
Glint could not remove these packages either. After I rebuilt the RPM database, it no longer dumped core, but then again it did not remove the entries from the database either.
I have the same problem [root@... /root]# rpm -q rpm rpm-2.5.3-5.1 [root@... /root]# rpm -q samba ypserv samba-1.9.18p5-1 samba-1.9.18p7-2 samba-1.9.18p10-5 ypserv-1.3.1-2 ypserv-1.3.4-1 [root@... /root]# rpm -evv ypserv-1.3.1-2 samba-1.9.18p5-1 samba-1.9.18p7-2 D: counting packages to uninstall D: opening database in //var/lib/rpm/ D: found 3 packages to uninstall D: uninstalling record number 842648 D: uninstalling record number 1729880 D: uninstalling record number 4025432 [root@... /root]# rpm -q samba ypserv samba-1.9.18p5-1 samba-1.9.18p7-2 samba-1.9.18p10-5 ypserv-1.3.1-2 ypserv-1.3.4-1
Try 'rpm -e --notriggers <package>'. Does that help?
Thanks, rpm -e --notriggers worked!
The problem is resolved in RH5.2, with ypserv and samba rpms that no longer use triggers. There were several other rpms that used triggers, and they have been fixed also.