Bug 129875 - bad packages reorder during errase
Summary: bad packages reorder during errase
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: rpm
Version: 3.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-13 17:21 UTC by Alex Lyashkov
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-13 17:54:28 UTC
Target Upstream Version:
Embargoed:


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

Description Alex Lyashkov 2004-08-13 17:21:16 UTC
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 17:23:55 UTC
Created attachment 102707 [details]
uninstall packages list.

list packages name for uninstall at step 3.

Comment 2 Alex Lyashkov 2004-08-13 17:33:28 UTC
Created attachment 102708 [details]
install packages list for step 2.

Comment 3 Jeff Johnson 2004-08-13 17:54:28 UTC
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 18:22:01 UTC
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.