03-get-sources: ensure that apt information is available + up2date
[grml-live.git] / etc / grml / fai / config / scripts / GRMLBASE / 03-get-sources
index 4deb887..5d59b07 100755 (executable)
@@ -22,6 +22,8 @@ bailout() {
   rm -f "$PACKAGE_LIST"
 }
 
+$ROOTCMD apt-get update
+
 $ROOTCMD dpkg-query -W -f='${Package}\n' > "${PACKAGE_LIST}"
 
 if ! [ -r "${PACKAGE_LIST}" ] ; then