code.fastix.org

Dateiansicht:

Datei:Projekte -> Ubuntu:Zurückbehaltene Pakete -> show-package-versions
md5:f846225a1df3eee9a88adc97b8db0781
sha1:83f961b2452cf5ca1c4303ed88325aea48d7eefb
Download-Link:Download
  1. #!/bin/bash
  2. if [ -z "$1" ]; then
  3.         echo "Usage: $0 PackageName";
  4.         echo "Exit!";
  5.         exit 1;
  6. else
  7.         echo "Search for \"$1\"...";
  8.         apt -a list "$1" && apt-cache show "$1" | grep -P '^Version:|^Phased-Update-Percentage:'
  9. fi
  10.