Bug 157151 - FC 4 Updates erase Sun Jdk/Jre
FC 4 Updates erase Sun Jdk/Jre
Status: CLOSED WONTFIX
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
4
All Linux
medium Severity high
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
: 156116 (view as bug list)
Depends On:
Blocks: FC4Blocker
  Show dependency treegraph
 
Reported: 2005-05-07 14:08 EDT by Steve Romero
Modified: 2014-01-21 17:52 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-19 18:10:38 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)
log files from described events (12.58 KB, text/plain)
2005-05-07 14:08 EDT, Steve Romero
no flags Details

  None (edit)
Description Steve Romero 2005-05-07 14:08:28 EDT
Description of problem:
Several updates from FC4 test have erased rpm installed Sun JRE from the system.

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

How reproducible:
Install Sun Jre.
Update regularly and check Yum logs.

Steps to Reproduce:
1.
2.
3.
  
Actual results:
Sun Jre erased from system.

Expected results:
Would have expected FC updates to leave this alone.

Additional info:

Note that I did not identify a system component as I'm not certain just what is
causing this.

See attached log files from selected dates when this occured.
Comment 1 Steve Romero 2005-05-07 14:08:28 EDT
Created attachment 114124 [details]
log files from described events
Comment 2 Seth Vidal 2005-05-07 18:33:50 EDT
reassigning to rpm as yum doesn't have any control over implicit obsoletes.
Comment 3 Jeremy Katz 2005-05-18 20:56:22 EDT
*** Bug 156116 has been marked as a duplicate of this bug. ***
Comment 4 Paul Nasrat 2005-05-19 16:52:20 EDT
rpm -qp --provides jdk-1_5_0_03-linux-i586.rpm
jre = 1.5.0_03
j2sdk = 1.5.0_03
j2re = 1.5.0_03
jaxp_parser_impl
xml-commons-apis
jdk = 2000:1.5.0_03-fcs

D: ========== tsorting packages (order, #predecessors, #succesors, tree, depth,
breadth)
D:     0    0    0    1    1    0   -jdk-1.5.0_03-fcs.i586


  /* On upgrade, erase older packages of same color (if any). */
  mi = rpmtsInitIterator(ts, RPMTAG_PROVIDENAME, rpmteN(p), 0);
Comment 5 Seth Vidal 2005-05-19 17:52:34 EDT
So if you change RPMTAG_PROVIDENAME to RPMTAG_NAME

does the problem vanish?

and how many other, weirder problems does it create?
Comment 6 Paul Nasrat 2005-05-19 18:10:38 EDT
This is really the sun package not designed in a way to integrate with the rest
of the java/rpm world (JPackage). JPackage is recognised and used by the major
Linux RPM vendors.

See also:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4680244
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4680244

Work around for you is to use the jpackage style rpm built from the
self-exploding binary (not the sun rpm) - see http://jpackage.org/rebuilding.php
http://jpackage.org/faq.php.  

An external howto is here http://www.mksearch.mkdoc.org/howto/jpackage-sun-fc3/

This is the best solution as you get a nicer laid out jdk that plays with the
Fedora java design and implementation (as it's based off JPackage). I'll try and
get something in the release notes about it - (probably "for proprietory JDKs
please use packages JPackage 

Changing rpm to not key off PROVIDENAME at this time for FC4 is not tenable.

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