Bug 477562 - [PATCH] Preupgrade only updates from one repository
Summary: [PATCH] Preupgrade only updates from one repository
Keywords:
Status: CLOSED DUPLICATE of bug 473966
Alias: None
Product: Fedora
Classification: Fedora
Component: preupgrade
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-22 00:02 UTC by Lubomir Rintel
Modified: 2014-01-21 23:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-15 13:37:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Support multiple repositories in preupgrade (16.82 KB, text/plain)
2008-12-22 00:02 UTC, Lubomir Rintel
no flags Details

Description Lubomir Rintel 2008-12-22 00:02:27 UTC
Created attachment 327599 [details]
Support multiple repositories in preupgrade

Currently preupgrade cares very little about repositories other than GOLD's Everything. After preupgrade I ended up having to download ~300M of RPM Fusion packages and Fedora updates.

The attached patch adds support for multiple repositories, making it possible for RPM Fusion to supply its own set of repositories for new release to download the packages from. I'd be very thankful for the review of the patch, since I don't code in python much and am aware it may not be suitable for inclusion as-is from a quality standpoint.

A side effect of the patch is that it mitigates bug #477327 by moving the long string of repository URL to the kickstart file making it less likely to hit the 255 character command line boundary. Probably the URL of stage2 could be also moved into kickstart file (which would require trivial modification of anaconda's stage1 loader), since that tends to be the longest part of the command line in case install.img can't find on /boot and the mirror URLs can be arbitrarily long in theory.

Comment 1 Lubomir Rintel 2009-01-02 12:25:24 UTC
It seems to me that it is really desirable to download updates during preupgrade, since package versions of packages in updates of older branches sometimes advance beyond the version in GA of newer branch.

A good example of this is kernel. Moreover. in f10 anaconda has a bug (fixed in git) that causes it to crash with an unexpected exception when kernel is not being updated, therefore preupgrade will be effectively useless for f10 once f9's kernel is updated to newer version.

Comment 2 Lubomir Rintel 2009-01-12 21:02:08 UTC
ping

Comment 3 Will Woods 2009-05-15 13:37:04 UTC
This should be fixed with preupgrade-1.1.0.

*** This bug has been marked as a duplicate of bug 473966 ***


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