[Fai-commit] r4721 - trunk/lib

lange at alioth.debian.org lange at alioth.debian.org
Sun Nov 11 13:34:07 UTC 2007


Author: lange
Date: 2007-11-11 13:34:07 +0000 (Sun, 11 Nov 2007)
New Revision: 4721

Modified:
   trunk/lib/updatebase
Log:
use aptitude when doing dist-upgrade


Modified: trunk/lib/updatebase
===================================================================
--- trunk/lib/updatebase	2007-11-11 13:30:15 UTC (rev 4720)
+++ trunk/lib/updatebase	2007-11-11 13:34:07 UTC (rev 4721)
@@ -31,7 +31,7 @@
 [ $? -ne 0 ] && yes '' | $ROOTCMD dpkg --configure -a 
 # using the above value, causes an error: "dpkg need action"
 export aptopt=
-$ROOTCMD apt-get $aptopt -f -y dist-upgrade </dev/null
+$ROOTCMD aptitude $aptopt -f -y dist-upgrade </dev/null
 # update dpkg info which packages are available
 tmp=$($ROOTCMD mktemp)
 $ROOTCMD apt-cache dumpavail > $FAI_ROOT/$tmp




More information about the Fai-commit mailing list