On Thursday 19 April 2007 04:50:22 Bo Ørsted Andresen wrote: > # cd /var/db/pkg && \ > emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \ > sed -r 's/-[^-]+(-r[0-9]+)*$//' | while read pkg; do > for p in "${pkg}-"*; do > quickpkg "=$p"; > done; > done
Hah, I thought `quickpkg automake` would only make a binpkg for the highest version available. Turns out it handles all versions installed. So... # emerge -peq system | sed -n 's|^\[ebuild[^]]*\] \([^ $]\+\).*$|\1|p' | \ sed -r 's/-[^-]+(-r[0-9]+)*$//' | sort -u | xargs quickpkg :) -- Bo Andresen
signature.asc
Description: This is a digitally signed message part.