Bug 103

Summary: RPM problem is really with triggers.
Product: [Retired] Red Hat Linux Reporter: rjwalsh
Component: rpmAssignee: David Lawrence <dkl>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1998-11-19 15:12:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description rjwalsh 1998-11-17 06:58:34 UTC
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.

Comment 1 rjwalsh 1998-11-17 18:07:59 UTC
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.

Comment 2 Aleksey Nogin 1998-11-17 21:48:59 UTC
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

Comment 3 Bill Nottingham 1998-11-18 12:12:59 UTC
Try 'rpm -e --notriggers <package>'. Does that help?

Comment 4 Aleksey Nogin 1998-11-18 17:11:59 UTC
Thanks, rpm -e --notriggers worked!

Comment 5 Derek Tattersall 1998-11-19 15:12:59 UTC
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.