On Sunday 12 December 2004 04:18, Adeodato Simó wrote: > * Adeodato Simó [Sun, 12 Dec 2004 03:59:08 +0100]: > > $ comm -12 <(apt-cache rdepends kdelibs4 | tr -d ' ' | sort) \ > > <(grep-status -Fstatus 'install ok installed' -ns package | > > sort) > > bah, I'm *really* sorry for that crap above. > > $ grep-status -ns package -Fdepends -e "kdelibs4|libarts1" \ > --and -Fstatus 'ok installed'
But this will also list k3b, kaffeine, digikam, showimg, kvim, kile, gwenview (and probably other non-officials), since they all depend on kdelibs4. Any reason for not just doing "apt-get -t unstable install kde"? To me this this seems to archieve the objective of upgrading only official KDE packages - but probably not every single one of them? I guess one could instead use your grep-status cmd, but at the same time "egrep -v 'k3b|kaffeine|gwenview|...'" to archieve that goal. -- Frederik Dannemare | mailto:[EMAIL PROTECTED] http://qa.debian.org/developer.php?login=Frederik+Dannemare http://frederik.dannemare.net | http://www.linuxworlddomination.dk