Bug 655843

Summary: upgrade fails to detect non-existent mirrors
Product: [Fedora] Fedora Reporter: John Beranek <john>
Component: preupgradeAssignee: Richard Hughes <richard>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 12CC: richard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-03 11:59:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Log file of the upgrade none

Description John Beranek 2010-11-22 14:21:30 UTC
Description of problem:

I just tried to run preupgrade to upgrade my F12 x86_64 system to F14 x86_64. Our company has local mirrors of Fedora, Livna and Rpmfusion.

Ran preupgrade, it went and fetched package metadata, warned me about /boot not having enough space, and then continued to (supposedly) download packages.

Then, (clearly) without having downloaded anywhere near enough, I got to the "Completion" dialogue, where I was told preupgrade had downloaded everything it needed, and all I needed to do was reboot.

What it had _actually_ done, is look on our local mirror for Fedora 14 packages (we have _none_) not spot that there were none, and continue on like it had found repositories there, instead of what it actually found, '404' pages.

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

preupgrade-1.1.8-1.fc12.1.noarch

How reproducible:

Always

Steps to Reproduce:
1. Configure a Fedora 12 machine for a local mirror that doesn't have F14 packages
2.Start a preupgrade to F14
  
Actual results:

The necessary packages are not downloaded

Expected results:

The user should either be told that the appropriate repositories cannot be found, or preupgrade should default to looking on the default mirror list to find packages. I'm not sure it can actually do this though, as the mirrorlist is only stored in the .repo files, and on our site the mirrorlist lines are commented out. They could just as easily have been deleted.

Additional info:

Comment 1 John Beranek 2010-11-22 14:23:34 UTC
Hmm, faulty subject, needs to start _preupgrade_.

Comment 2 John Beranek 2010-11-22 14:37:39 UTC
Created attachment 462048 [details]
Log file of the upgrade

Comment 3 Bug Zapper 2010-12-03 11:59:14 UTC
Fedora 12 changed to end-of-life (EOL) status on 2010-12-02. Fedora 12 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 John Beranek 2010-12-03 12:15:55 UTC
Lucky that no one took the bug in the week and a half when Fedora 12 was still supported then... ;)