Re: [Cooker] Why Is My Update Broken?

2003-09-21 Thread Ron Stodden
rsync-plus.

The documentation of rsync-plus on my web site (see sig) has been 
updated so as to now include instructions for executing the rsync-plus 
perl modules.

Thanks for bringing this oversight to my attention.

To cause rsync-plus to download Mandrake for all languages, just don't 
download the rsync_exclude file, or delete or rename it.Your total 
download will increase by well over 500MB.

Felix Miata wrote:
http://members.optusnet.com.au/ronst/   Click all ye faithful!


I went there when I first set up my cooker box a few weeks ago. From
that page the only thing that I could figure out how to use was
http://members.optusnet.com.au/ronst/rsync-plus/rsync_exclude. I'm not a
programmer, and don't know how to use your perl stuff. Another stopper
was being forced to use UK English, without which I might have tried
harder to understand exactly how to use your stuff.
--
Ron. [Melbourne, Australia]
"If you keep a green bough in your heart, the singing bird will come"
Get Fastest Mandrake downloader, English-only, from:
http://members.optusnet.com.au/ronst/   Click all ye faithful!



Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Robert L martin
 Packages tend to be propagated to mirrors before the hdlists,
so if you happen to catch a mirror while it's busy updating, you may
well find a situation where the hdlist it has no longer reflects the
packages it has. Thus the missing packages (these would be ones that had
been updated twice since your rsync; the hdlist would contain version
X+1, which the actual file on the mirror would be X+2) and the
non-updated kernel (which had presumably only been updated once; you
have 9mdk, the hdlist lists 9mdk so urpmi thinks there is no update
available, even though 10mdk was actually on the mirror by that point).


And this is why somebody should start using an .!UNSAFE flag on servers 
example session
1 upload a file named .!UNSAFE to the server
2 start rsync
3 successfully complete rsync
4 delete .!UNSAFE

this way a script or person or whatever can check for the .!UNSAFE file 
and then if it is found wait for a semirandom time and restart
if this is started all the way at the top (mandrakesoft) then huge 
amounts of time/bandwidth can be saved.

(and yes the exact file name could be translated into whatever the 
native language of the server is (or just something like .!!! that just 
looks funny))




Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Adam Williamson
On Sat, 2003-09-20 at 17:27, Felix Miata wrote:
> I installed fresh from my sunet cooker rsync about three days ago. Last
> night (around 02:00 UTC) I freshened my rsync, then did the following:
> 
> 1-urpmi.addmedia --update cooker-updates
> file://mnt/nfs/ax5t3/cooker/Mandrake/RPMS with ../base/hdlist.cz
> 
> 2-urpmi -a
> 
> 3-urpmi -v --auto-select
> 
> 4-urpmi kernel
> 
> Step 3 installed about 39 packages and ended with a warning that two
> packages were not available. Step 4 ended with "everything already
> installed", even though my kernel was 2.4.22-9, but the package on the
> mirror is 2.4.22-10. So, I went to the RPMS directory and successfully
> ran 'rpm -i kernel-2.4.22-10mdk-1-1mdk.i586.rpm'.
> 
> Is this oddball 10mdk-1-1mdk rpm the reason why urpmi wouldn't install
> it? How do I find out what other existing packages didn't install? Why
> were there packages missing?

Anyway, to answer the original question despite Ron's masterful
diversion of it to be about his download script...this is probably just
due to a synchronisation problem between the hdlist and the available
packages. Packages tend to be propagated to mirrors before the hdlists,
so if you happen to catch a mirror while it's busy updating, you may
well find a situation where the hdlist it has no longer reflects the
packages it has. Thus the missing packages (these would be ones that had
been updated twice since your rsync; the hdlist would contain version
X+1, which the actual file on the mirror would be X+2) and the
non-updated kernel (which had presumably only been updated once; you
have 9mdk, the hdlist lists 9mdk so urpmi thinks there is no update
available, even though 10mdk was actually on the mirror by that point).
-- 
adamw




Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Thomas Backlund
Felix Miata kirjoitti viestissään (lähetysaika Lauantai 20 Syyskuu 2003 
20:47):
> Ron Stodden wrote:
> > Are you not aware of our very popular fastest Mandrake downloader?  It
> > will always beat the use of raw rsync when there are updates to
> > download.   See sig.
> >
> > It properly downloads updated kernel RPMs usually distributed in
> > Mandrake Updates.   These are correctly installed as additional lilo
> > stanzas by the Mandrake Software Manangement dialogs in 9.1.
>
> I don't use Lilo. I don't want additional Grub stanzas simply because I
> installed a newer kernel either. Why should I need the old after
> upgrading?
>

if the new kernel fails, you will be happy ta have an older one to boot from 
;-)

> > http://members.optusnet.com.au/ronst/   Click all ye faithful!
>
> I went there when I first set up my cooker box a few weeks ago. From
> that page the only thing that I could figure out how to use was
> http://members.optusnet.com.au/ronst/rsync-plus/rsync_exclude. I'm not a
> programmer, and don't know how to use your perl stuff. Another stopper
> was being forced to use UK English, without which I might have tried
> harder to understand exactly how to use your stuff.

The english-only part is only an option, not a setting forced on you...

An other script that works great is the rpmsync that we have in contribs,
wich also works great ;-)

-- 
Regards

Thomas




Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Randy Welch
Felix Miata wrote:

I don't use Lilo. I don't want additional Grub stanzas simply because I
installed a newer kernel either. Why should I need the old after
upgrading?
 

Because occasionally a newer kernel can cause problems.  Plus having two 
different versions of the kernel can help checkout subtle issues.  It's 
always been a good rule of thumb to have a fallback kernel just in case 
the install of the new kernel goes bad or has issues.

-randy





Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Randy Welch
Ron Stodden wrote:

Felix, et al,

Are you not aware of our very popular fastest Mandrake downloader?  It 
will always beat the use of raw rsync when there are updates to 
download.   See sig.
I can vouch for the rsync scripts Ron has.  I have switched to that for 
syncing with cooker.

-randy





Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Felix Miata
Ron Stodden wrote:
 
> Are you not aware of our very popular fastest Mandrake downloader?  It
> will always beat the use of raw rsync when there are updates to
> download.   See sig.

> It properly downloads updated kernel RPMs usually distributed in
> Mandrake Updates.   These are correctly installed as additional lilo
> stanzas by the Mandrake Software Manangement dialogs in 9.1.

I don't use Lilo. I don't want additional Grub stanzas simply because I
installed a newer kernel either. Why should I need the old after
upgrading?

> http://members.optusnet.com.au/ronst/   Click all ye faithful!

I went there when I first set up my cooker box a few weeks ago. From
that page the only thing that I could figure out how to use was
http://members.optusnet.com.au/ronst/rsync-plus/rsync_exclude. I'm not a
programmer, and don't know how to use your perl stuff. Another stopper
was being forced to use UK English, without which I might have tried
harder to understand exactly how to use your stuff.
-- 
"...[B]e quick to listen, slow to speak and slow to become angry"
James 1:19 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/




Re: [Cooker] Why Is My Update Broken?

2003-09-20 Thread Ron Stodden
Felix, et al,

Are you not aware of our very popular fastest Mandrake downloader?  It 
will always beat the use of raw rsync when there are updates to 
download.   See sig.

It properly downloads updated kernel RPMs usually distributed in 
Mandrake Updates.   These are correctly installed as additional lilo 
stanzas by the Mandrake Software Manangement dialogs in 9.1.

Felix Miata wrote:
I installed fresh from my sunet cooker rsync about three days ago. Last
night (around 02:00 UTC) I freshened my rsync, then did the following:
1-urpmi.addmedia --update cooker-updates
file://mnt/nfs/ax5t3/cooker/Mandrake/RPMS with ../base/hdlist.cz
2-urpmi -a

3-urpmi -v --auto-select

4-urpmi kernel

Step 3 installed about 39 packages and ended with a warning that two
packages were not available. Step 4 ended with "everything already
installed", even though my kernel was 2.4.22-9, but the package on the
mirror is 2.4.22-10. So, I went to the RPMS directory and successfully
ran 'rpm -i kernel-2.4.22-10mdk-1-1mdk.i586.rpm'.
Is this oddball 10mdk-1-1mdk rpm the reason why urpmi wouldn't install
it? How do I find out what other existing packages didn't install? Why
were there packages missing?
BTW, after each rsync, the last screen message (after size/speedup) is
not appended to the log. That last message is always of the form: "rsync
error: some files could not be transferred (code 23) at main.c(1045)".
Why is this line not appended? Why the error message at all?
--
Ron. [Melbourne, Australia]
"If you keep a green bough in your heart, the singing bird will come"
Get Fastest Mandrake downloader, English-only, from:
http://members.optusnet.com.au/ronst/   Click all ye faithful!