On Monday 09 January 2006 17:42, Dugald Cameron wrote:
> I have 2006 powerpack up and running fine and have main update and
> contrib sources defined. If I change these to community main and
> community contrib how do I do the updating?
>
> If I click on MCC install software how do I know which packages need
> to be updated and which do not
esiest way is with this script
=============================
#!/bin/bash
# Mandrake 'urpmi --auto-select' automatic update script, also known as
'Updater'
# Originally written by briareus, modified by Hawkwind.
# If you have any questions of comments, please email me at:
[EMAIL PROTECTED]
# Or you can contact briareus(the original author) at:
[EMAIL PROTECTED]
# Both myself and briareus can also be found on the irc.freenode.net
irc server
# In the channel #LFD
# Please come by and visit us with an questions/comments on the script.
# When this script is run, it will automatically update your current
Mandrake install
# as long as you have online sources set. Those can be found at:
http://urpmi-addmedia.org
# It basically replaces urpmi --auto-select and requires no user input
what so ever for complete
# updates to the system.
# Below are the various variables we set for use later in the script.
C='clear'
E='echo'
UU='urpmi.update'
WG='--wget'
U='urpmi'
AS='--auto-select'
A='--auto'
DB='updatedb'
UM='update-menus'
# Below is the actual script itself
$C
$E "--> MANDRAKES AUTOMATIC UPDATE SCRIPT <--"
$E "--> WE WILL NOW UPDATE THE HDLIST FROM YOUR CURRENT SET OF ONLINE
MIRRORS <--"
$UU $WG -a
$E "--> WE WILL INSTALL AN UPDATED VERSION OF URPMI ITSELF, IF THERE IS
ONE <--"
$U $WG $U
$E "--> WE WILL NOW INSTALL ANY AVAILABLE UPDATED PACKAGES <--"
$U $WG $AS $A
$E "--> WE WILL NOW UPDATE THE SLOCATE DATABASE <--"
$DB
$E "--> WE WILL NOW UPDATE THE MENUS AS NEEDED SINCE THE UPDATE OCCURED
<--"
$UM
$E "--> YOUR MANDRAKE INSTALL IS NOW UP TO DATE AS BEST AS POSSIBLE
<--"
$E "--> FROM THE ONLINE MIRRORS YOU HAVE SPECIFIED FROM
http://urpmi-addmedia.org <--"
=========================================
>
> Thanks
>
> Duggie
>
> ____________________________________________________
> Want to buy your Pack or Services from Mandriva?
> Go to http://store.mandriva.com
> Join the Club : http://www.mandrivaclub.com
> ____________________________________________________
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________