Bug 129875 - bad packages reorder during errase
bad packages reorder during errase
Status: CLOSED DEFERRED
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rpm (Show other bugs)
3.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-13 13:21 EDT by Alex Lyashkov
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-08-13 13:54:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
uninstall packages list. (1.59 KB, application/octet-stream)
2004-08-13 13:23 EDT, Alex Lyashkov
no flags Details
install packages list for step 2. (5.09 KB, text/plain)
2004-08-13 13:33 EDT, Alex Lyashkov
no flags Details

  None (edit)
Description Alex Lyashkov 2004-08-13 13:21:16 EDT
Description of problem:
errors at reorder packages during uninstall.

Version-Release number of selected component (if applicable):
# rpm -qa rpm
rpm-4.2.2-0.14

How reproducible:
always

Steps to Reproduce:
1. install setup + filesystem rpm to dir (rpm -i --root /dir1 ...)
2. install large packages set to same dir (rpm -i --root /dir1 `cat
fileset`)
3. uninstall large packages set from this dir. (rpm -e --root /dir1
`cat fileset`)
  
Actual results:
/sbin/install-info: error while loading shared libraries: libz.so.1:
cannot open shared object file: No such file or directory
ошибка: %preun(sed-4.0.7-3) ошибка выполнения сценария, код возврата 127
/var/tmp/rpm-tmp.28347: line 3: /usr/sbin/userdel: No such file or
directory
/var/tmp/rpm-tmp.28347: line 4: /usr/sbin/groupdel: No such file or
directory
/sbin/install-info: error while loading shared libraries: libz.so.1:
cannot open shared object file: No such file or directory
ошибка: %preun(krb5-workstation-1.2.7-19) ошибка выполнения сценария,
код возврата 127
/bin/sh: error while loading shared libraries: libtermcap.so.2: cannot
open shared object file: No such file or directory

Expected results:
works ok.

Additional info:
Comment 1 Alex Lyashkov 2004-08-13 13:23:55 EDT
Created attachment 102707 [details]
uninstall packages list.

list packages name for uninstall at step 3.
Comment 2 Alex Lyashkov 2004-08-13 13:33:28 EDT
Created attachment 102708 [details]
install packages list for step 2.
Comment 3 Jeff Johnson 2004-08-13 13:54:28 EDT
From the CLI, rpm orders erasures by reversing the partial order
of the install. That is not an unreasonable choice, nor is it
clear that there is a better algorithm.

There has never been any attempt to insure that massive
erasures "work" correctly. Defferred until somewhen ...
Comment 4 Alex Lyashkov 2004-08-13 14:22:01 EDT
How i see rpm not add any reference from programs called from scripts
to packages who have it. Without it reference me have bad order to errase.

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