Re: 2011, urpmi & $MIRRORLIST
Jim Beard <jdbeard-kTz99GpLsC/[email protected]> Thu, 01 Sep 2011 14:08:25 -0400
| Newsgroups | gmane.linux.mandrake.expert |
|---|---|
| Message-ID | <[email protected]> |
On 09/01/2011 12:27 PM, David Guntner wrote:
> Hi all,
>
> I'm running 2010.1/2& am planning on eventually upgrading to 2011.
> I've been looking over the notes, etc., for doing the upgrade. One of
> the things mentioned is (as always) that you remove your old media data
> and then add it back with:
>
> urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
>
> That's all well and good, but it leaves me feeling like I'm flying a bit
> on the blind side - I don't know what that's going to point me to. :-)
>
> See, even though I'm running a 64-bit version, there *are* some 32-bit
> apps/libraries that I need for various things, so I've always pointed
> urpmi at two sources for each part of the distribution (Main, Contrib,
> etc.) that I use. For example, my existing urpmi.cfg file has this in it:
>
>
> Contrib\ updates {
> key-ids: 26752624
> mirrorlist: http://api.mandriva.com/mirrors/basic.2010.1.x86_64.list
> update
> with-dir: media/contrib/release
> }
>
> Contrib32\ updates {
> key-ids: 26752624
> mirrorlist: http://api.mandriva.com/mirrors/basic.2010.1.i586.list
> update
> with-dir: media/contrib/release
> }
>
>
> Among other things. :-) I took a quick sneaky peek, but it appears that
> there's nothing at that above URL which has "2011" where the "2010.1" is
> currently. Thus, my dilemma. Since I don't know what $MIRRORLIST is
> doing, I don't know if it's going to include both 64-bit& 32-bit sources.
>
> So, anyone in the know out there: WILL it cover both sources? :-)
There is an easy approach to your problem. As soon as you have
installed 2011 (and removed unused hardware/software if you
wish), urpmi.removemedia -a (to clear the decks) and then start
up mcc/Mandriva Linux Control Center == Configure Your Computer
in the menus, if I remember right.
Then, go to Software Management to configure media sources for
install and update. Go to File at the top left, and pick Choose
a specific media mirror (carroll.cac.psu is a good choice for
USA). Go to Options and choose wget as your downloader, and
tinker with any other settings as you wish. Then click on Add, on
the right side of the screen. When asked, choose a full set of
sources.
You should get a list of everything, 32- and 64-bit, with the
standard ones enabled. You will probably need to enable non-free
and (if you want them) backports.
IIRC PLF is separate. For that, wait until zarb.easyurpmi.org
has been updated, or take a look at /etc/urpmi/urpmi.cfg for your
old system (you did leave it on the system or keep a complete
backup, as insurance should 2011 be an epic FAIL for you, did you
not?) and 2011, and create the new entries for PLF by modifying
the ones for 2010.2.
Cheers!
jim b.
--
UNIX is not user unfriendly; it merely
expects users to be computer-friendly.