diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 0a7e857..e296a1e 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -3129,7 +3129,7 @@ remove_uninstalled_packages() { local PKG rm -f $PACKAGES - ls $OUTPUT/*$REPO_TAG.t?z | while read PKG; do + ls $OUTPUT/*$REPO_TAG.t?z 2>/dev/null | while read PKG; do PKG=${PKG##*/} if [ ! -f /var/log/packages/${PKG%.t?z} ]; then echo "$PKG" >> $PACKAGES