[sbopkg-users] Obsolete Packages

alkos333 me at alkos333.net
Wed Mar 4 18:11:07 UTC 2009


How about an "Obsolete Package" function in Utilities  menu that would
do the following:

for pkg in $OUTPUT/*.tgz
    do
            if [ ! -f /var/log/packages/${pkg%.tgz} ]; then
                    rm $pkg
            fi
    done


The it's very useful for system porting when somebody just wants to
reinstall the exact collection of packages without having to recompile
all of them on the newly ported system, using the queue.  This way,
you just eliminate obsolete packages on the model system, back them
up, and then run something like this on the new system:

installpkg $OUTPUT/*.tgz


More information about the sbopkg-users mailing list