Mandrake Linux Archives: cooker@mandrivalinux.org
Mandrake Linux: cooker@mandrivalinux.org
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
- From: Adam Williamson
- Subject: [Cooker] Re: [CHRPM] urpmi-4.7.6-1mdk
- Date: 10 Jun 2005 16:43:56 -0000
On Fri, 2005-06-10 at 09:20 +0200, Rafael Garcia-Suarez wrote: > -=-=-=- > Name : urpmi Relocations: (not relocatable) > Version : 4.7.6 Vendor: Mandriva > Release : 1mdk Build Date: Fri Jun 10 09:10:43 2005 > -=-=-=- > Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 4.7.6-1mdk > > - Fix bug on urpmi-parallel-ssh on localhost with network media It works! Great job, Rafael. For everyone else, I've been bugging Rafael about this for a few months; urpmi parallel mode is now a good deal more useful for small home networks. If you're like me and you have two or three machines on your local network that you have running Cooker, try it out, it's a lot more convenient, quicker and more conservative with bandwidth than updating each machine individually (or keeping a full Cooker mirror on your main machine, or whatever). Install the latest urpmi on all machines first. Then on the machine you want to be the host, install urpmi-parallel-ssh. Edit /etc/urpmi/parallel.cfg (create it if non-existent) to look like this: local:ssh:localhost:toy:htpc Where 'local' is an arbitrary name to refer to this group of machines (pick any name you like), and localhost:toy:htpc is the list of hostnames you want to update (unlimited, : separator). Install 'fanout' on the host machine. Now do this: # fanout "hostname1 hostname2 localhost" "urpmi.update -a" # urpmi -v --parallel --auto-select urpmi on the host machine will ask each machine in the group which packages it needs to update, go out and grab all the packages, distribute them via scp to each machine, then have each machine update itself. The recent change is that having the host machine in the parallel group now works (i.e. having 'localhost' in /etc/urpmi/parallel.cfg) - previously, urpmi would trip over its own lock files, but rafael's fixed this. I'm not sure the 'fanout' stage is necessary, I think each machine goes off the hdlists on the host machine, but I do it just to make sure each machine has its hdlists up to date if I want to urpmi something on the machine individually. -- adamw
Attachment:
signature.asc
Description: This is a digitally signed message part
- Replies:
- Re: [Cooker] Re: [CHRPM] urpmi-4.7.6-1mdk
- From: Rafael Garcia-Suarez
- Re: [Cooker] Re: [CHRPM] urpmi-4.7.6-1mdk
- Prev by Date: [Cooker] [Bug 16378] [php4-mime_magic] New: mime_content_type doesn't returm mimetype for PDF files
- Next by Date: [Cooker] [Bug 16379] [PyQt] New: PyQt conflicts with smoke
- Previous by thread: [Cooker] [Bug 16378] [php4-mime_magic] New: mime_content_type doesn't returm mimetype for PDF files
- Next by thread: Re: [Cooker] Re: [CHRPM] urpmi-4.7.6-1mdk
- Index(es):
Search the archive:
To (un)subscribe from/to the lists:
Fund the Mandriva Linux project
