Le Mercredi 17 Août 2005 13:45, Florent Bayle a écrit :
[...]
> for i in `dpkg --get-selections | grep -v deinstall$ | awk '{ print $1 }'`;
> do apt-cache policy $i | grep "^ \*\*\*" -A 1 | grep 500 | grep unstable
>
> > /dev/null && echo $i | cut -f1 -d "/"; done
[...]
Petite erreur (mais le script marche quand même, mais moins rapidement), il
n'y a pas besoin du cut -f1 -d "/", le script est donc (toujours en une
ligne) :
for i in `dpkg --get-selections | grep -v deinstall$ | awk '{ print $1 }'`; do
apt-cache policy $i | grep "^ \*\*\*" -A 1 | grep 500 | grep unstable
> /dev/null && echo $i; done
--
Florent
-- Citation aléatoire --
M : Sous les pavés, la plage !
Attachment:
pgpDDgwRzGkPj.pgp
Description: PGP signature