Bug 442610 - anaconda fails to download a package missing in preupgrade's directory
Summary: anaconda fails to download a package missing in preupgrade's directory
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F9Blocker
TreeView+ depends on / blocked
 
Reported: 2008-04-15 19:35 UTC by Michal Schmidt
Modified: 2008-04-21 23:00 UTC (History)
2 users (show)

Fixed In Version: anaconda-11.4.0.74-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-21 23:00:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Schmidt 2008-04-15 19:35:59 UTC
Description of problem:

Preupgrade tries to download all the packages needed for a successful upgrade to
disk before rebooting to anaconda. Since preupgrade uses the original yum from
the current installation and anaconda uses the new yum, it sometimes happens the
two yum versions calculate a different set of packages for the upgrade and
therefore some packages can be missing in preupgrade's directory on the disk.
In such case anaconda should be able to download the missing packages from a
standard mirror.
The problem is anaconda does not set up the network, so the download fails and
the upgrade can't proceed.
In my case I was upgrading from F7 to Rawhide and the missing package was
compat-expat1.

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

I hit the bug on 2008-04-13, so I guess it was:
anaconda-11.4.0.71-1

Steps to reproduce:
Deleting an RPM from /var/cache/yum/anaconda-upgrade/packages before rebooting
into the upgrade environment should do it.

Comment 1 Jeremy Katz 2008-04-15 19:38:08 UTC
Breaks a new feature in a pretty substantial way and I have a patch that at
least should work locally, it just needs to be tested.  So sticking on the
blocker list.

Comment 2 Jeremy Katz 2008-04-17 06:11:04 UTC
And cleaned up the patch to where it's working and pushed to git.

Comment 3 Will Woods 2008-04-17 21:32:42 UTC
This isn't in F9PR (anaconda-11.4.0.73) but should appear in the next anaconda
build.

Comment 4 Will Woods 2008-04-21 23:00:57 UTC
Confirmed fixed in anaconda-11.4.0.74. Yay!


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