Bug 118773 - Requires(pre,postun) screws up package ordering
Requires(pre,postun) screws up package ordering
Status: CLOSED DUPLICATE of bug 155700
Product: Red Hat Raw Hide
Classification: Retired
Component: rpm (Show other bugs)
1.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
triage|leonardjo|closed|duplicate
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-19 19:08 EST by Enrico Scholz
Modified: 2007-04-18 13:04 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-25 14:37:53 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)
spec-file (306 bytes, text/plain)
2004-03-19 19:09 EST, Enrico Scholz
no flags Details

  None (edit)
Description Enrico Scholz 2004-03-19 19:08:49 EST
Description of problem:

# rpm -Uvh test-*0-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:test-B                 ########################################### [ 33%]
   2:test                   ########################################### [ 67%]
   3:test-A                 ########################################### [100%]


Expected would be that 'test-A' gets installed before 'test'. The
trigger seems to be the 'postun' Requires; without it, things are
fine.


Version-Release number of selected component (if applicable):

rpm-4.2-0.69 - rpm-4.3-0.21


How reproducible:

100%



Additional information:

-vvvv output is

: ========== +++ test-0-1 noarch/linux 0x0
D: opening  db index       /var/lib/rpm/Depends create mode=0x0
D:  Requires: test-A                                        YES (added provide)
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (rpmlib provides)
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (rpmlib provides)
D: opening  db index       /var/lib/rpm/Conflictname rdonly mode=0x0
D: ========== +++ test-A-0-1 noarch/linux 0x0
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (cached)
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (cached)
D: ========== +++ test-B-0-1 noarch/linux 0x0
D:  Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1       YES (cached)
D:  Requires: rpmlib(CompressedFileNames) <= 3.0.4-1        YES (cached)
D: closed   db index       /var/lib/rpm/Depends
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth)
D:     0    0    0    2    0 +test-B-0-1
D: ========== successors only (1293 bytes)
D:     1    0    0    0    0 +test-0-1
D:     2    0    0    1    0 +test-A-0-1
Comment 1 Enrico Scholz 2004-03-19 19:09:32 EST
Created attachment 98702 [details]
spec-file
Comment 2 Enrico Scholz 2004-03-19 19:17:44 EST
When writing

| Requires(pre):    test-A
| Requires(postun): test-A

instead of

| Requires(pre,postun):  test-A

things are fine too.
Comment 3 Robert Scheck 2004-03-20 12:50:18 EST
Maybe your problem it's related with: #118780
Comment 4 Leonard den Ottolander 2004-04-13 10:08:11 EDT
Yes, duplicate of bug 118780. Closing as such.


*** This bug has been marked as a duplicate of 118780 ***
Comment 5 Leonard den Ottolander 2004-04-13 10:32:33 EDT
Not the same issue according to mschwendt. Reopening.
Comment 6 Mike A. Harris 2005-04-25 14:37:53 EDT

*** This bug has been marked as a duplicate of 155700 ***
Comment 7 Fedora Update System 2005-09-16 17:24:50 EDT
From User-Agent: XML-RPC

xorg-x11-6.8.2-1.FC3.45 has been pushed for FC3, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

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