Раз: > $ for f in /var/cache/apt/apt-file/*.gz; do \ > if zcat $f | grep $PKG >/dev/null; then \ > echo $f; \ > fi; \ > done
Два: > $ zgrep -l $PKG /var/cache/apt/apt-file/*.gz Три: > $ zgrep -lF -- "$PKG" /var/cache/apt/apt-file/*.gz Ребята, а мне все-таки интересно - почему вас так apt-cache policy не устраивает? Вроде ж его уже даже советовали. -- ************************************** * jabber: [email protected] * * Registered linux user #546240 * ************************************** -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

