Re: Automatic media and mirror configuration

Anssi Hannula <[email protected]>
Newsgroups gmane.linux.mandrake.plf.general
Message-ID <[email protected]>
Frederik Himpe wrote:
> On wo, 2008-04-02 at 16:05 +0300, Anssi Hannula wrote:
>> Hi all!
>>
>> As of 2008.1/cooker, one can configure the PLF medias fully
>> automatically with this command:
>>
>> urpmi.addmedia --distrib --mirrorlist \
>> 	'http://plf.zarb.org/mirrors/$RELEASE.$ARCH.list'
>>
>> Urpmi will automatically select the closest mirror according to your
>> timezone. Backports are also added but ignored by default, you can use
>> drakrpm-edit-media to enable them.
>>
>> In case you were unaware, the command for the official Mandriva sources
>> is here:
>> urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
> 
> Unfortunately this and the xml-info things seems to have broken some
> things...:
> 
> - mirror structure seems to have changed, so that I'm forced to remove
> and re-add PLF repositories on all of my machines:
> 
> [urpmi.update -a]
> 
> ftp://ftp.easynet.fr/plf/mandriva/cooker/free/binary/i586/synthesis.hdlist.cz
>                                                                                                                                                                                   
> ...retrieving failed: curl: (19) Given file does not exist
> ...retrieving failed: curl failed: exited with 19
> problem reading synthesis file of medium "plffree_release"
> 
> ftp://ftp.easynet.fr/plf/mandriva/cooker/non-free/binary/i586/synthesis.hdlist.cz
>                                                                                                                                                                                   
> ...retrieving failed: curl: (19) Given file does not exist
> ...retrieving failed: curl failed: exited with 19
> problem reading synthesis file of medium "plfnonfree_release"

After moving to the new synthesis generation system, Cooker synthesis
files are now in media_info/ subdir only. Do you think I should create
legacy compatibility hardlinks into ./ directory?

> - On one machine where I successfully reconfigured PLF with the above
> command, it seems after a complete urpmi --auto-select, urpmi is now
> broken:
> [root@anastacia frederik]# urpmi foo
> mirror list not found
> Could not find a mirror from mirrorlist
> http://plf.zarb.org/mirrors/2008.1.x86_64.list
> 
> Please create a 2008.1 file because mandriva-release is at 2008.1 now,
> even it it's not officially out yet.

You are late, I already did that a few hours ago :)

-- 
Anssi Hannula
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.