From 9a4a2d021849037ad26caac792debf6bc3f147ce Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 12 May 2009 14:53:50 +1000 Subject: Use "yum clean all" before any "yum -y update" to avoid yum weirdness. There is occasionally weirdness where something to do with yum gets left in a strange state that causes dependency problems. Adding a gratuitous "yum clean all" before doing a "yum update" seems to avoid some of these problems... and it isn't very expensive... Signed-off-by: Martin Schwenke --- base/root/scripts/SoFS-postinstall.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'base/root/scripts') diff --git a/base/root/scripts/SoFS-postinstall.sh b/base/root/scripts/SoFS-postinstall.sh index 159154a..e043d39 100755 --- a/base/root/scripts/SoFS-postinstall.sh +++ b/base/root/scripts/SoFS-postinstall.sh @@ -5,6 +5,7 @@ # basic-postinstall.sh but we may have just rewound the cluster, so we # might be running this on the node install of from kickstart. echo "Updating from YUM repositories" +yum clean all yum -y update echo "Trying install of scsi-target-utils" -- cgit