Bug 1557 - The installer should clear the mirror cache before upgrading
Summary: The installer should clear the mirror cache before upgrading
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 16:41 CEST by Frédéric "LpSolit" Buclin
Modified: 2011-08-01 20:52 CEST (History)
3 users (show)

See Also:
Source RPM: drakx-installer-stage2
CVE:
Status comment:


Attachments

Description Frédéric "LpSolit" Buclin 2011-06-03 16:41:31 CEST
When upgrading from Mandriva 2010.2 to Mageia 1 today, the installer failed to find remote repositories (especially those not being on the DVD, such as "tainted"). The error message was about media.cfg being not found.

So I did:

urpmi.removemedia -a
urpmi.addmedia --distrib --mirrorlist

but then it started to look at ftp.u-strasbg.fr, which is a repo for Mandriva. Deleting /var/cache/urpmi/mirrors.cache and then calling the commands above again fixed the problem.

Probably should the installer clear the mirror cache itself, so that it can find the Mageia repos when upgrading and use them. This is especially important because several of us use the proprietary Nvidia package, which is not on the DVD, and so Mageia was unable to display the GUI (it booted in text mode, because the installed Nvidia package had an ABI incompatibility), which is frightening for the average user.
Manuel Hiebel 2011-06-03 17:55:07 CEST

CC: (none) => manuel
Component: Installer => RPM Packages
Source RPM: (none) => mgaonline

Comment 1 Manuel Hiebel 2011-06-06 14:14:40 CEST
*** Bug 1588 has been marked as a duplicate of this bug. ***

CC: (none) => anssi.hannula

Ahmad Samir 2011-07-02 03:55:50 CEST

Version: 1 => Cauldron
Source RPM: mgaonline => drakx-installer-stage2

Comment 2 Manuel Hiebel 2011-07-02 13:39:01 CEST
Frederic buclin, you did the upgrade with drakxinstaller (dvd) or  with mgaonline/urpmi ?
Comment 3 Frédéric "LpSolit" Buclin 2011-07-02 13:45:25 CEST
(In reply to comment #2)
> Frederic buclin, you did the upgrade with drakxinstaller (dvd) or  with
> mgaonline/urpmi ?

I used the DVD only.
Comment 4 Frédéric "LpSolit" Buclin 2011-07-02 13:46:36 CEST
(In reply to comment #3)
> I used the DVD only.

I wanted the installer to also use the remote repos, but it was unable to find them.
Comment 5 Manuel Hiebel 2011-07-02 13:55:15 CEST
Ok so ahmad was right :)
Comment 6 Thierry Vignaud 2011-08-01 20:52:15 CEST
Just fixed in SVN (for Mageia 2)

Status: NEW => RESOLVED
CC: (none) => thierry.vignaud
Resolution: (none) => FIXED


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