diff --git a/xbps-src b/xbps-src index dfa059927cc..4e834909170 100755 --- a/xbps-src +++ b/xbps-src @@ -806,6 +806,7 @@ case "$XBPS_TARGET" in if [ -n "$CHROOT_READY" -a -z "$IN_CHROOT" ]; then chroot_handler $XBPS_TARGET $XBPS_TARGET_PKG else + check_existing_pkg chroot_sync_repodata # prevent update_base_chroot from removing the builddir/destdir update_base_chroot keep-all-force