[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] New Cobalt question



> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of HelpDesk
> Sent: Monday, June 03, 2002 9:20 PM
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: [cobalt-users] New Cobalt question
>
>
> I just got a RaQ4i.  Of the updates available at Cobalt, how do I know
which
> one to begin applying and move up.  I thought it would be as simple as
> looking at the installed software on the interface and seeing which ones
> were still missing.  But nothing matches, even the ones going back a year
or
> more.
>
> Any help would be appreciated.
>
> Thanks.
>
> Michael


This script should work on a new RAQ4.
It gets all the files and installs them in the correct order.
If any of the pkgs require a reboot, then you would have to do that manually
once they had all been installed.

Rgds Bassi

ps the line URL is all one line until cd /home/packages .. incase this gets
split by the email

========= script below ========

#!/bin/sh
COBALTPAGE="http://emea.cobalt.com/support/download/raq4.eng.html";
URLS=`wget -O - $COBALTPAGE | tac | grep "http://ftp.cobalt.sun.com"; | sed
's/.*\<a href="//' | sed 's/".*//'`
cd /home/packages
for URL in $URLS; do
wget $URL
done
for URL in $URLS; do
FILE=`echo $URL | sed 's/.*\///'`
/usr/local/sbin/cobalt_upgrade $FILE
done