Re: 2011, urpmi & $MIRRORLIST

David Guntner <davidg-1boXBf7wef/[email protected]> Thu, 01 Sep 2011 11:51:19 -0700
Newsgroups gmane.linux.mandrake.expert
Organization What a concept! :-)
Message-ID <[email protected]>
Jim Beard grabbed a keyboard and wrote:
> On 09/01/2011 12:27 PM, David Guntner wrote:
>>
>> 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
>> }
> 
> 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.

Good to know that method still works with 2011.  Actually, I suddenly
had an odd thought after having posted the above, and it turns out that
I was right - while

http://api.mandriva.com/mirrors/basic.2011.x86_64.list

didn't work,

http://api.mandriva.com/mirrors/basic.2011.0.x86_64.list

did!  (In terms of putting it into the browser to see what's there.)  I
thought I had read that Mandriva wasn't going to be doing .0, .1, etc.,
releases starting with the 2011 distribution, so at first it didn't
occur to me to put the ".0" in when checking that.  Now that I know it's
there, I can simply copy what I've already got and just put in the
appropriate version number after all.

> 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.

Yep.

> IIRC PLF is separate.  For that, wait until zarb.easyurpmi.org has been
> updated,

It would appear that

http://plf.zarb.org/mirrors/2011.i586.list

(& its x86_64 counterpart) is working (at least there's something there
when I pull it up in a browser - time will tell if they've actually got
any content available yet <grin>).  Oddly enough, *they* actually have
it so that either "2011" or "2011.0" works without breaking anything.... :-)

> 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?)

Oh, I *always* make a copy of urpmi.cfg before doing a full system
upgrade, for exactly that reason. :-)

> and 2011, and create
> the new entries for PLF by modifying the ones for 2010.2.

Yep.

Just as a side note - this is all for maintaining the system once the
upgrade has been completed.  Yes, I know you can upgrade via the
mirrors.  Yes, I read in the notes that they've even made it possible
now to update the system via the GUI tools.  I don't care; I'm old
fashioned - and a bit of a chicken. :-)  When I'm going to do a full
system update like this, I prefer to have the files on the local hard
drive (and in fact I tend to download the distribution parts I want from
carroll.cac.psu.edu) because even though you can update it in all those
ways, I still prefer (old-fashioned & chicken) to drop my system to
runlevel level 1 and *then* do it.  Since once a "telinit 1" has
completed, you don't *have* network connectivity any longer, it kinda
helps to have the files locally. :-)  Makes the actual upgrading
operation go faster, too. <grin>

After than, then I define my online mirrors and do my regular updates
via that route (which was why I was concerned about $MIRRORLIST and all
that).

So thanks for the info!

                 --Dave
signature.asc (application/pgp-signature, 260 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5f1CoACgkQvC3peSYrMN7RBQCgmBHK6DQr/zIsNB81XfIoItk2
r1kAn1RRu0qk77zRc5eg8zhPGqp50p8P
=fko7
-----END PGP SIGNATURE-----