You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

grab-packages.sh 224B

123456789101112
  1. #!/bin/sh
  2. # Get an installed package manifest
  3. set -e
  4. cd /var/cache/apt/archives
  5. #apt-get clean
  6. dpkg-query -W -f '${Package}\n' | xargs -n 50 apt-get install --reinstall -y -d > /dev/null
  7. sha256sum *.deb | sort --key 2