diff --git a/src/libexec/rsdk/rsdk-chroot b/src/libexec/rsdk/rsdk-chroot index 4f4fa53..3e2d6f4 100755 --- a/src/libexec/rsdk/rsdk-chroot +++ b/src/libexec/rsdk/rsdk-chroot @@ -107,7 +107,7 @@ main() { sudo cp "$file" "$RSDK_TEMP" sudo systemd-nspawn -D "$RSDK_TEMP" bash -c \ "if ! dpkg -i '/$(basename "$file")'; then - apt-get install -y --fix-missing --fix-broken --allow-downgrades || ( + apt-get install -y --fix-missing --allow-downgrades || ( apt-get update; apt-get install -y --fix-missing --fix-broken --allow-downgrades );