Bug 103 - RPM problem is really with triggers.
Summary: RPM problem is really with triggers.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 5.1
Hardware: i386
OS: Linux
high
high
Target Milestone: ---
Assignee: David Lawrence
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1998-11-17 06:58 UTC by rjwalsh
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 1998-11-19 15:12:38 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.