This helps fighting against 404's, without having to run a full
dist-upgrade of all chroots (through upgrade-porter-chroots).
Signed-off-by: Cyril Brulebois <kibi@debian.org>
Signed-off-by: Stephen Gran <steve@lobefin.net>
usage() {
bn="`basename "$0"`"
- echo "Usage: $bn <chroot> <apt sub-command> <package>"
+ echo "Usage: $bn <chroot> <apt sub-command> [<package>]"
echo ""
echo " allowed chroots are ($VALID_CHROOTS_PARSE)"
echo ""
echo " + remove"
echo " + purge"
echo " + build-dep"
+ echo " + update"
}
case "$APTCMD" in
-install|remove|purge|build-dep)
+install|remove|purge|build-dep|update)
# those are the allowed apt sub-commands
;;
*)