overhaul update-packages to be faster, and save sha256 hash manifest of downloaded debs

This commit is contained in:
Lance Vick 2020-10-15 17:08:15 -07:00
parent 1badff2241
commit 249e93bcce
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
4 changed files with 249 additions and 207 deletions

View File

@ -147,6 +147,9 @@ update-packages:
docker cp \ docker cp \
"$(NAME)-update-packages:/etc/apt/sources.list" \ "$(NAME)-update-packages:/etc/apt/sources.list" \
"$(PWD)/config/container/sources.list" "$(PWD)/config/container/sources.list"
docker cp \
"$(NAME)-update-packages:/etc/apt/package-hashes.txt" \
"$(PWD)/config/container/package-hashes.txt"
docker rm -f "$(NAME)-update-packages" docker rm -f "$(NAME)-update-packages"
## Make Helpers ## Make Helpers

View File

@ -0,0 +1,119 @@
01665e698fbec3b06a50e919be5c57ae7dde678da0db14a331174eaca6d4968b patch_2.7.6-3+deb10u1_amd64.deb
01e99d68427722e64c603d45f00063c303b02afb53d85c8d1476deca70db64c6 libreadline7_7.0-5_amd64.deb
0226c5853f5e48d7e99796c2e6332591383e9c337ac588e1b689f537abd0a891 libssh2-1_1.8.0-2.1_amd64.deb
02f795889390fa0e1f29c6ecdd4a30cd0aae39c0c6b1379410055404b0897c66 libx11-data_2%3a1.6.7-1+deb10u1_all.deb
042967b8267ee537ed9a1bf012533622847aab433362e3b57c9108a53bfcb99a libkrb5-3_1.17-3_amd64.deb
05e64681a0c3037fa71c94c083a8aabb6eb5f40e974c4ec548e0376635cffeb0 gpg-wks-server_2.2.12-1+deb10u1_amd64.deb
05e90f94363055cf27cd88b7968820645180d37a649a93cf5d7ea6f3c7fe973e gcc-8_8.3.0-6_amd64.deb
0827321e85d36200759e3ec621fc05154c752534c330ffc5472ad75bbb8eb913 libbsd0_0.9.1-2_amd64.deb
0b7a8c30b3511f5a0de38a4300a14ccb8a9e304a3e96c0aa105e12cb4033562c perl_5.28.1-6+deb10u1_amd64.deb
0c199af9431db289ba5b34a4f21e30a4f1b6c5305203da9298096fce1cdcdb97 libkeyutils1_1.6-6_amd64.deb
0ca12c0fe7534a5a08df265b773b6a15a9704db008c15f366dc41cd4be53a2ad libperl5.28_5.28.1-6+deb10u1_amd64.deb
0dec7696ad10153388bfa7702e9e61c0fbe1614ca07b72de48792ac2dba4738f libtsan0_8.3.0-6_amd64.deb
138494ccd9661911a40460c7a90f141de397589d4b2f6c5aa2ecca1b71f46208 libmagic-mgc_1%3a5.35-4+deb10u1_amd64.deb
14b54c6ca62c9fc8c1a9e3d7766d1b7ab5b75f4304d477b246721970d8e4662d openssh-client_1%3a7.9p1-10+deb10u2_amd64.deb
153d8a5ddb04044d10f877a8955d944612ec9035f4c73eec99d85a92c3816712 readline-common_7.0-5_all.deb
18fa901205ed21c833ff669daae26f675803147f4cc64ddc95fc9cddd7f654c8 libpcre2-8-0_10.32-5_amd64.deb
1ac02a14c1739d09c5b351a26617357579b4bfab2f2e8325e90d8ac24ae2174a libmagic1_1%3a5.35-4+deb10u1_amd64.deb
1cb272a8168138e9b8334e87cc26388259f232b74667b3a7f3856f227adcc4ba libdpkg-perl_1.19.7_all.deb
24f435c4164ba014551848f79027b2d4be6c10cd51d9d15ee919b8c5722ce9d0 make_4.2.1-1.2_amd64.deb
25cc6d68d36b13b54ca5a1c2933703681bf4694a66ee29a555616620a482fe0d libncurses6_6.1+20181013-2+deb10u2_amd64.deb
28b5748b604179ade61490fb4573e16eeab26e53669980ccd6a1d5dda8988430 xauth_1%3a1.0.10-1_amd64.deb
290fc88e99d21586164d51f8562c3b4c6a3bfabdbb626d91b6541896d76a582b libpsl5_0.20.2-2_amd64.deb
2b2f418d91b27347bd471fe59a931eaab09d10acbd2abc61d53a7795154aa0d6 libksba8_1.3.5-2_amd64.deb
2dd69416c4e8decda8a9ed56e36275df7645aea7851b05eb16d42fed61b6a12f lsb-base_10.2019051400_all.deb
2ff7fbe9078ed8ed9535b4cd8388ed6eb2767e6071a26007383a520e3da0232c libgpm2_1.20.7-5_amd64.deb
329d2974829d0dd61ea5d59676ae6db10e49f97588ddff74042edd0a60b3bcd2 libxmuu1_2%3a1.1.2-2+b3_amd64.deb
329e5138cb8c1e308baef55f20d43a108bd64b58c381abe852c234e74c14a73c libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb
336e0fb622ba1db1a5985f555e0437c83339c96a3491113501dc569371b7f32c git-man_1%3a2.20.1-2+deb10u3_all.deb
359e8c0524ce6a4729af5aaf581bc37ebe7b3c3919bfb18ce310e92a2948987a gnupg_2.2.12-1+deb10u1_all.deb
3821cee0d331cf75ee79daff716f9d320f758f9dff3eaa6d6cf12bae9ef14306 wget_1.20.1-1.1_amd64.deb
3b16194392acf0df4d0b386fa57d68806aad8487a2c531af5ab6279b261a30e8 build-essential_12.6_amd64.deb
3e04a24ec61841bb6fb8b17b1af7c904272f26479001c2dc054501e839222425 gpg-wks-client_2.2.12-1+deb10u1_amd64.deb
41191859a20c49a1f629ecd8899576631858676c4079f7bbff3808f5376e3680 perl-base_5.28.1-6+deb10u1_amd64.deb
43915a1d28e04039097f97c833b697b8d1703c7da9289fba7eb1834ba6fa23b0 libc6-dev_2.28-10_amd64.deb
49a2e7f290ab0006dbc139bfe6784f71bf38d1b14feebc22c14808bbe3748f6d libgssapi-krb5-2_1.17-3_amd64.deb
4a3fb6e0953789f3de455ad7c921294978d734e6395bc45bd6039dcd9634d263 libsasl2-2_2.1.27+dfsg-1+deb10u1_amd64.deb
4c16a19ee0d88669b15e708df7b66c01353deda3b9b7ba8f27cf086bb09e867f dpkg-dev_1.19.7_all.deb
4cfa1d3ffd1c75cfe5a4053cf56f63a60d0616ec8ee59a2ec7259a4e8c43fde5 git_1%3a2.20.1-2+deb10u3_amd64.deb
4edf6f10f1c28753e198e6993643f5aac1245e657a4fe4739211fe60f38d6ba9 gpgsm_2.2.12-1+deb10u1_amd64.deb
4fcc963af0d718d8edc8e1aa2436c2b7a2c3cd5862ad8bb3e50a30cbb7e9dad6 bzip2_1.0.6-9.2~deb10u1_amd64.deb
506fc9e1fc66f34e6f3f79555619cc12a15388c3bdd5387c1e89d78b19d1b5dc librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb
559bf1ef518fa3d29672c1902814c17d8e79106254d943f9e997c43f28f47159 less_487-0.1+b1_amd64.deb
579c11dd6004f06ac2639b338c320fde794ed3c36a1d2be559ec282ea3042dd7 libcc1-0_8.3.0-6_amd64.deb
5af8fd893c3b065f46365efa3f037c8ac22af00683fed15b1ea36970bbabd764 libgdbm-compat4_1.18.1-4_amd64.deb
5c83aafe6b83f801434c5dad7bddad8a8b459a1b590ee7d344c30667d8ca1ac5 liberror-perl_0.17027-2_all.deb
61c00b6f4c7a242aa6aefdc07012747607cd9c6c5392c1dcd087ce27031dd1dd perl-modules-5.28_5.28.1-6+deb10u1_all.deb
61c7a740651a8f310a08d83a0c90a295916479588ae91f5222e429059560990e manpages_4.16-2_all.deb
637488a3c09b98c749e09ece395a00adb0ced3099bad64907ce9fbd7fbf619fc libcurl3-gnutls_7.64.0-4+deb10u1_amd64.deb
64f5f6fd7559a9f431132f24aa6ec9bfd062b0473f2e403c98dbd638be65f9c0 cpp-8_8.3.0-6_amd64.deb
66d1ed0aaa8865bcdaf26f657272d881bacc46501456365a931e52b8775f9e50 unzip_6.0-23+deb10u1_amd64.deb
6980055df5f62aea9a32c6cc44fe231ca66cc9a251b091bd0b7e3274f4ce2a19 libnghttp2-14_1.36.0-2+deb10u1_amd64.deb
6b375ddff08752c7e512a1137c6ed5a2d183442786803cf77066be76b3482ebe gpg-agent_2.2.12-1+deb10u1_amd64.deb
6eab4706e8f484eefcd708b0fb26a1ae27c01442a6ca2fc1affb0197afbadab1 libpopt0_1.16-12_amd64.deb
724901105792e983bd0e7c2b46960cd925dd6a2b33b5ee999b4e80aaf624b082 libxext6_2%3a1.3.3-1+b2_amd64.deb
73d6980767bbc2fd7cf99d407352ec6ce0ccb4fd67fa1b77ef663632e8fd7607 libmpx2_8.3.0-6_amd64.deb
766684a231a740b434468e1c7146353fcddff7b8e14644a82672299459c53c34 libquadmath0_8.3.0-6_amd64.deb
7827d98f210bd8c7635bbf7dfeac3d9434c343d3649588340909a91590e0c0fd libfakeroot_1.23-1_amd64.deb
791b343ed8c48bcaf2cbf26168cef19cb219ec77d59fed8714e6a309bf7d5cba gnupg-utils_2.2.12-1+deb10u1_amd64.deb
793311e57c5dc2cd9c8ece0c36b975989bf00a566e0491a2894a9266cb43a9ff libsasl2-modules_2.1.27+dfsg-1+deb10u1_amd64.deb
794bd3ffa0fc268dc8363f8924b2ab7cf831ab151574a6c1584790ce9945cbb2 ca-certificates_20200601~deb10u1_all.deb
79965b74e6c839e7b90d24ac5b61840f57872ecb1e4ac1007937036c85364f82 libstdc++-8-dev_8.3.0-6_amd64.deb
8174360edf75f3dd3a12e8bd4dc0c502a470acdb6e41057672ca3f6d696a79d1 rsync_3.1.3-6_amd64.deb
84d592a6bcd3e91d156ab9a796ede07c1068512a3ee47a41d023e2960ed9c677 libitm1_8.3.0-6_amd64.deb
8743b526038e61a684b8327435c462288395d5b4f6b5b102d6ad11cbfccb52c7 libalgorithm-merge-perl_0.08-3_all.deb
87d9ed9340dc3cb6d7ce024d2e046a659d91356863083715d2c428a32e908833 libxcb1_1.13.1-2_amd64.deb
89db66e500f882d5a0a03178bbc30d671ecdbd92bf3e606a6cb3208f92773c2f manpages-dev_4.16-2_all.deb
8b2390d2996dadff71c100aa81dcf7c7b09e0eabb5541c1c69b301c303dbb5df dirmngr_2.2.12-1+deb10u1_amd64.deb
8ee8daa87132e1f2eb6a82370dd01565cf9d3b299b96d3054711f144dd8f174a libc-dev-bin_2.28-10_amd64.deb
909fcd28491d7ebecf44ee2e8d0269b600271b0b6d236b19f2c0469cde162d21 libgomp1_8.3.0-6_amd64.deb
9308fdd43ba620614945bf428efd4a07cda8c135ce49a3708c0239564ac11a7e publicsuffix_20190415.1030-1_all.deb
93b428481d80f7c44a1597ce28a129fdeb5f25d8339c3ff0822a1f9fe615798a libassuan0_2.5.2-1_amd64.deb
93c2beb8b1c455ebd86ef830bc0bfd67fb9f3af447c6c2e770dcbf83c79b893f libnpth0_1.6-1_amd64.deb
95c39f813e7c99f93d7de3bab571f4c2f52c917a64d4dc33be8ef7c4dad14adb binutils-common_2.31.1-16_amd64.deb
9ddccf6c37b9ac540b499da06e5eb7406d52b66bc4659b48be0eea85e6f86df9 gpg_2.2.12-1+deb10u1_amd64.deb
a49f5eba4b17f237c20931976c371a5676d7c8d0ff931a1a62abedb38bf63269 krb5-locales_1.17-3_all.deb
a52d5216858c7185bc245e52ad95a6ad515d087bc25e8556df06c5626b41a837 libgcc-8-dev_8.3.0-6_amd64.deb
a65ea1c2a2c32995ea5337dc769ea2de503dd65e0ee2cde345d565ba06575d0c file_1%3a5.35-4+deb10u1_amd64.deb
a73b05c10399636a7c7bff266205de05631dc4af502bfb441cbbc6af0a7deb2a libmpc3_1.1.0-1_amd64.deb
a7857b726c3e0d16cda2fbb9020d42e024a3160d54ef858f58578612276683e8 libxau6_1%3a1.0.8-1+b2_amd64.deb
ae756853eff06749370f37f717339098d7ead8eb40d8eca9050c4dd8d64be33a g++_4%3a8.3.0-1_amd64.deb
b3392a29de0cea29f9e8e07793d1f03fcb84a3ca25b7471e2db0e0fa93ffa566 libldap-common_2.4.47+dfsg-3+deb10u2_all.deb
b582f4bc549877d59254318feaaf1354020d695cfe9b9e6aab0aa26b65c29071 libubsan1_8.3.0-6_amd64.deb
b9db9483510589d939ee897b8b2b15661d243c8fac13dfa18e6daa10be5d0a2a liblsan0_8.3.0-6_amd64.deb
b9ded0026e9d0e006eb6d3e697919d9b2a8f7bf607d8acdebf03588e2b96b771 libk5crypto3_1.17-3_amd64.deb
bae88af666531b3b46a5c1b54f699e7354264e6fc1654b02bb537f2076694b05 libbinutils_2.31.1-16_amd64.deb
baf0872964df0ccb10e464b47d995acbba5a0d12a97afe2646d9a6bb97e8d79d netbase_5.6_all.deb
bb7b21912481ba65342df8c4c6e3011579e443ed54beaceaaa6d75bd328d3600 libgnutls30_3.6.7-4+deb10u5_amd64.deb
bd00051c1275de495f54a0a2006ba188f8fb2dba33bc669e5ea417ade07b2602 libcurl4_7.64.0-4+deb10u1_amd64.deb
c1da1cffff8a024b5eca0a6795558d9e0ec88fbd24fe059490dc665dc5cac92f binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb
c2696ba3984dd2fc90bacb01c3bbb6c5f4477bcabbc90fa084cb9fe971b66d6d binutils_2.31.1-16_amd64.deb
c27678f219146a347a99a108685c893616f4b1d0646bcfd644d6f079d319c780 libalgorithm-diff-perl_1.19.03-2_all.deb
c472991b6fed2efac0a5eb1ba6fca02f2061172b7ae4669627c96daf6f575afb gpgconf_2.2.12-1+deb10u1_amd64.deb
c472cc849c02f03522b44e12191b6dfde496afa2a53b862f9b913dc2ae218f70 gcc_4%3a8.3.0-1_amd64.deb
c99437674b33964f44eb54b1a4d8cb5bbca0293989cd3d426bcb54e9f54d88db libsasl2-modules-db_2.1.27+dfsg-1+deb10u1_amd64.deb
cc219cdf82ffc3d98d74b79b98687395450c43eece6712ca7784e4d2c48dea61 libfile-fcntllock-perl_0.22-3+b5_amd64.deb
ccd6cdf5ec28a92744a79f3f210f071679d12deb36917d4e8d17ae7587f218cc libedit2_3.1-20181209-1_amd64.deb
d005438229811b09ea9783491c98b145c9bcf6489284ad7870c19d2d09a8f571 libmpfr6_4.0.2-1_amd64.deb
d2cf8da8b3d575f0c2d7cb0a687e63b617a7bc85e434b8b1a2abe63481977619 libgdbm6_1.18.1-4_amd64.deb
d333c8986adff11fb54aed83e1b29f99996c321f7fb5b75614d66e5aa611a5d8 g++-8_8.3.0-6_amd64.deb
d384b12b278fc55e993b274c0e324ec4203f1646deaf76453bd1e6954e24dc21 libasan5_8.3.0-6_amd64.deb
d51e27d3fcba9bd0fe5f3303b61d08ebbd1a3bc57c40d467338b34f5d4ee762f libisl19_0.20-2_amd64.deb
d60dee1f402ee0fba6d44df584512ae9ede73e866048e8476de55d9b78fa2da1 libexpat1_2.2.6-2+deb10u1_amd64.deb
db395e23091fe0e534ae0f1e32d036a68e53103599663505710275dcfecafa43 linux-libc-dev_4.19.146-1_amd64.deb
de75f92b5fb4ab369c52c4a4351efad8396f06db9b15b87749d76d2cd18b4772 cpio_2.12+dfsg-9_amd64.deb
dea842d782f8b122a5551a7246781b94044713bb8c3235b0d4747a3ea15696b1 liblocale-gettext-perl_1.07-3+b4_amd64.deb
dfbe504791f99e8e086ed7a363d22ed6ae802e3e6c4e191878df94fa3d5e2420 xz-utils_5.2.4-1_amd64.deb
e0e9d331643755db339e321c38889be13a8284cbba8ed0b7bfc062f8a68a0974 libkrb5support0_1.17-3_amd64.deb
e1751738e0f3cf798c8db1f6424789f1d388a423c158bf182c18325e109a9140 libldap-2.4-2_2.4.47+dfsg-3+deb10u2_amd64.deb
e57bd3393ba387eba57f45c99d51abf1ad762f898337ca1079cb9b2f563f8c63 curl_7.64.0-4+deb10u1_amd64.deb
e671d4fbf01230393897f3dc8a5b5699905431f1fff914320e82ba829a9420ad fakeroot_1.23-1_amd64.deb
e7157cc999402118a01919b90be27249e70ae830d06a5dc42e9069ed230926be gnupg-l10n_2.2.12-1+deb10u1_all.deb
e94da3a26503099b1787d865127687941bd527d278b59a607bfa533f9b94d232 cpp_4%3a8.3.0-1_amd64.deb
ecb8536f5fb34543b55bb9dc5f5b14c9dbb4150a7bddb3f2287b7cab6e9d25ef libxdmcp6_1%3a1.1.2-3_amd64.deb
ed640f8e2ab4e44731485ac7658a269012b9318ec8c6fb7b2b78825a624a9939 base-files_10.3+deb10u6_amd64.deb
ee7300195d7c28182097e81c4210ee633922a5ff74881099e456b8d42aa27ab3 pinentry-curses_1.1.0-2_amd64.deb
f3aed76145c49f0b6be3eb6840abc4245eebf24448b55c8ed0736fc1d45e5f8a libatomic1_8.3.0-6_amd64.deb
f896eeb2215b29943ae99ac9fbac3eac500a0ca105925815117bd7b2b6d2e0e8 bc_1.07.1-2+b1_amd64.deb
f9d62eaa734828d4282fe4c17613c1a688af4cccbe2819eb691b3aaf615e882f libx11-6_2%3a1.6.7-1+deb10u1_amd64.deb
ff247b1c0527cc7322af8d47260268db079e94284ee12352b31be912d30ce2a1 libsqlite3-0_3.27.2-3_amd64.deb

View File

@ -1,209 +1,119 @@
adduser=3.118
apt=1.8.2.1
base-files=10.3+deb10u6
base-passwd=3.5.46
bash=5.0-4
bc=1.07.1-2+b1
binutils=2.31.1-16
binutils-common:amd64=2.31.1-16
binutils-x86-64-linux-gnu=2.31.1-16
bsdutils=1:2.33.1-0.1
build-essential=12.6
bzip2=1.0.6-9.2~deb10u1
ca-certificates=20200601~deb10u1
coreutils=8.30-3
cpio=2.12+dfsg-9
cpp=4:8.3.0-1
cpp-8=8.3.0-6
curl=7.64.0-4+deb10u1
dash=0.5.10.2-5
debconf=1.5.71
debian-archive-keyring=2019.1
debianutils=4.8.6.1
diffutils=1:3.7-3
dirmngr=2.2.12-1+deb10u1
dpkg=1.19.7
dpkg-dev=1.19.7
e2fsprogs=1.44.5-1+deb10u3
fakeroot=1.23-1
fdisk=2.33.1-0.1
file=1:5.35-4+deb10u1
findutils=4.6.0+git+20190209-2
g++=4:8.3.0-1
g++-8=8.3.0-6
gcc=4:8.3.0-1
gcc-8=8.3.0-6
gcc-8-base:amd64=8.3.0-6
git=1:2.20.1-2+deb10u3
git-man=1:2.20.1-2+deb10u3
gnupg=2.2.12-1+deb10u1
gnupg-l10n=2.2.12-1+deb10u1
gnupg-utils=2.2.12-1+deb10u1
gpg=2.2.12-1+deb10u1
gpg-agent=2.2.12-1+deb10u1
gpg-wks-client=2.2.12-1+deb10u1
gpg-wks-server=2.2.12-1+deb10u1
gpgconf=2.2.12-1+deb10u1
gpgsm=2.2.12-1+deb10u1
gpgv=2.2.12-1+deb10u1
grep=3.3-1
gzip=1.9-3
hostname=3.21
init-system-helpers=1.56+nmu1
iproute2=4.20.0-2
iputils-ping=3:20180629-2+deb10u1
krb5-locales=1.17-3
less=487-0.1+b1
libacl1:amd64=2.2.53-4
libalgorithm-diff-perl=1.19.03-2
libalgorithm-diff-xs-perl=0.04-5+b1
libalgorithm-merge-perl=0.08-3
libapt-pkg5.0:amd64=1.8.2.1
libasan5:amd64=8.3.0-6
libassuan0:amd64=2.5.2-1
libatomic1:amd64=8.3.0-6
libattr1:amd64=1:2.4.48-4
libaudit-common=1:2.8.4-3
libaudit1:amd64=1:2.8.4-3
libbinutils:amd64=2.31.1-16
libblkid1:amd64=2.33.1-0.1
libbsd0:amd64=0.9.1-2
libbz2-1.0:amd64=1.0.6-9.2~deb10u1
libc-bin=2.28-10
libc-dev-bin=2.28-10
libc6:amd64=2.28-10
libc6-dev:amd64=2.28-10
libcap-ng0:amd64=0.7.9-2
libcap2:amd64=1:2.25-2
libcap2-bin=1:2.25-2
libcc1-0:amd64=8.3.0-6
libcom-err2:amd64=1.44.5-1+deb10u3
libcurl3-gnutls:amd64=7.64.0-4+deb10u1
libcurl4:amd64=7.64.0-4+deb10u1
libdb5.3:amd64=5.3.28+dfsg1-0.5
libdebconfclient0:amd64=0.249
libdpkg-perl=1.19.7
libedit2:amd64=3.1-20181209-1
libelf1:amd64=0.176-1.1
liberror-perl=0.17027-2
libexpat1:amd64=2.2.6-2+deb10u1
libext2fs2:amd64=1.44.5-1+deb10u3
libfakeroot:amd64=1.23-1
libfdisk1:amd64=2.33.1-0.1
libffi6:amd64=3.2.1-9
libfile-fcntllock-perl=0.22-3+b5
libgcc-8-dev:amd64=8.3.0-6
libgcc1:amd64=1:8.3.0-6
libgcrypt20:amd64=1.8.4-5
libgdbm-compat4:amd64=1.18.1-4
libgdbm6:amd64=1.18.1-4
libgmp10:amd64=2:6.1.2+dfsg-4
libgnutls30:amd64=3.6.7-4+deb10u5
libgomp1:amd64=8.3.0-6
libgpg-error0:amd64=1.35-1
libgpm2:amd64=1.20.7-5
libgssapi-krb5-2:amd64=1.17-3
libhogweed4:amd64=3.4.1-1
libidn2-0:amd64=2.0.5-1+deb10u1
libisl19:amd64=0.20-2
libitm1:amd64=8.3.0-6
libk5crypto3:amd64=1.17-3
libkeyutils1:amd64=1.6-6
libkrb5-3:amd64=1.17-3
libkrb5support0:amd64=1.17-3
libksba8:amd64=1.3.5-2
libldap-2.4-2:amd64=2.4.47+dfsg-3+deb10u2
libldap-common=2.4.47+dfsg-3+deb10u2
liblocale-gettext-perl=1.07-3+b4
liblsan0:amd64=8.3.0-6
liblz4-1:amd64=1.8.3-1
liblzma5:amd64=5.2.4-1
libmagic-mgc=1:5.35-4+deb10u1
libmagic1:amd64=1:5.35-4+deb10u1
libmnl0:amd64=1.0.4-2
libmount1:amd64=2.33.1-0.1
libmpc3:amd64=1.1.0-1
libmpfr6:amd64=4.0.2-1
libmpx2:amd64=8.3.0-6
libncurses6:amd64=6.1+20181013-2+deb10u2
libncursesw6:amd64=6.1+20181013-2+deb10u2
libnettle6:amd64=3.4.1-1
libnghttp2-14:amd64=1.36.0-2+deb10u1
libnpth0:amd64=1.6-1
libp11-kit0:amd64=0.23.15-2
libpam-modules:amd64=1.3.1-5
libpam-modules-bin=1.3.1-5
libpam-runtime=1.3.1-5
libpam0g:amd64=1.3.1-5
libpcre2-8-0:amd64=10.32-5
libpcre3:amd64=2:8.39-12
libperl5.28:amd64=5.28.1-6+deb10u1
libpopt0:amd64=1.16-12
libpsl5:amd64=0.20.2-2
libquadmath0:amd64=8.3.0-6
libreadline7:amd64=7.0-5
librtmp1:amd64=2.4+20151223.gitfa8646d.1-2
libsasl2-2:amd64=2.1.27+dfsg-1+deb10u1
libsasl2-modules:amd64=2.1.27+dfsg-1+deb10u1
libsasl2-modules-db:amd64=2.1.27+dfsg-1+deb10u1
libseccomp2:amd64=2.3.3-4
libselinux1:amd64=2.8-1+b1
libsemanage-common=2.8-2
libsemanage1:amd64=2.8-2
libsepol1:amd64=2.8-1
libsmartcols1:amd64=2.33.1-0.1
libsqlite3-0:amd64=3.27.2-3
libss2:amd64=1.44.5-1+deb10u3
libssh2-1:amd64=1.8.0-2.1
libssl1.1:amd64=1.1.1d-0+deb10u3
libstdc++-8-dev:amd64=8.3.0-6
libstdc++6:amd64=8.3.0-6
libsystemd0:amd64=241-7~deb10u4
libtasn1-6:amd64=4.13-3
libtinfo6:amd64=6.1+20181013-2+deb10u2
libtsan0:amd64=8.3.0-6
libubsan1:amd64=8.3.0-6
libudev1:amd64=241-7~deb10u4
libunistring2:amd64=0.9.10-1
libuuid1:amd64=2.33.1-0.1
libx11-6:amd64=2:1.6.7-1+deb10u1
libx11-data=2:1.6.7-1+deb10u1
libxau6:amd64=1:1.0.8-1+b2
libxcb1:amd64=1.13.1-2
libxdmcp6:amd64=1:1.1.2-3
libxext6:amd64=2:1.3.3-1+b2
libxmuu1:amd64=2:1.1.2-2+b3
libxtables12:amd64=1.8.2-4
libzstd1:amd64=1.3.8+dfsg-3
linux-libc-dev:amd64=4.19.146-1
login=1:4.5-1.1
lsb-base=10.2019051400
make=4.2.1-1.2
manpages=4.16-2
manpages-dev=4.16-2
mawk=1.3.3-17+b3
mount=2.33.1-0.1
ncurses-base=6.1+20181013-2+deb10u2
ncurses-bin=6.1+20181013-2+deb10u2
netbase=5.6
openssh-client=1:7.9p1-10+deb10u2
openssl=1.1.1d-0+deb10u3
passwd=1:4.5-1.1
patch=2.7.6-3+deb10u1 patch=2.7.6-3+deb10u1
libreadline7=7.0-5
libssh2-1=1.8.0-2.1
libx11-data=2%3a1.6.7-1+deb10u1
libkrb5-3=1.17-3
gpg-wks-server=2.2.12-1+deb10u1
gcc-8=8.3.0-6
libbsd0=0.9.1-2
perl=5.28.1-6+deb10u1 perl=5.28.1-6+deb10u1
perl-base=5.28.1-6+deb10u1 libkeyutils1=1.6-6
perl-modules-5.28=5.28.1-6+deb10u1 libperl5.28=5.28.1-6+deb10u1
pinentry-curses=1.1.0-2 libtsan0=8.3.0-6
publicsuffix=20190415.1030-1 libmagic-mgc=1%3a5.35-4+deb10u1
openssh-client=1%3a7.9p1-10+deb10u2
readline-common=7.0-5 readline-common=7.0-5
rsync=3.1.3-6 libpcre2-8-0=10.32-5
sed=4.7-1 libmagic1=1%3a5.35-4+deb10u1
sysvinit-utils=2.93-8 libdpkg-perl=1.19.7
tar=1.30+dfsg-6 make=4.2.1-1.2
tzdata=2020a-0+deb10u1 libncurses6=6.1+20181013-2+deb10u2
unzip=6.0-23+deb10u1 xauth=1%3a1.0.10-1
util-linux=2.33.1-0.1 libpsl5=0.20.2-2
libksba8=1.3.5-2
lsb-base=10.2019051400
libgpm2=1.20.7-5
libxmuu1=2%3a1.1.2-2+b3
libalgorithm-diff-xs-perl=0.04-5+b1
git-man=1%3a2.20.1-2+deb10u3
gnupg=2.2.12-1+deb10u1
wget=1.20.1-1.1 wget=1.20.1-1.1
xauth=1:1.0.10-1 build-essential=12.6
gpg-wks-client=2.2.12-1+deb10u1
perl-base=5.28.1-6+deb10u1
libc6-dev=2.28-10
libgssapi-krb5-2=1.17-3
libsasl2-2=2.1.27+dfsg-1+deb10u1
dpkg-dev=1.19.7
git=1%3a2.20.1-2+deb10u3
gpgsm=2.2.12-1+deb10u1
bzip2=1.0.6-9.2~deb10u1
librtmp1=2.4+20151223.gitfa8646d.1-2
less=487-0.1+b1
libcc1-0=8.3.0-6
libgdbm-compat4=1.18.1-4
liberror-perl=0.17027-2
perl-modules-5.28=5.28.1-6+deb10u1
manpages=4.16-2
libcurl3-gnutls=7.64.0-4+deb10u1
cpp-8=8.3.0-6
unzip=6.0-23+deb10u1
libnghttp2-14=1.36.0-2+deb10u1
gpg-agent=2.2.12-1+deb10u1
libpopt0=1.16-12
libxext6=2%3a1.3.3-1+b2
libmpx2=8.3.0-6
libquadmath0=8.3.0-6
libfakeroot=1.23-1
gnupg-utils=2.2.12-1+deb10u1
libsasl2-modules=2.1.27+dfsg-1+deb10u1
ca-certificates=20200601~deb10u1
libstdc++-8-dev=8.3.0-6
rsync=3.1.3-6
libitm1=8.3.0-6
libalgorithm-merge-perl=0.08-3
libxcb1=1.13.1-2
manpages-dev=4.16-2
dirmngr=2.2.12-1+deb10u1
libc-dev-bin=2.28-10
libgomp1=8.3.0-6
publicsuffix=20190415.1030-1
libassuan0=2.5.2-1
libnpth0=1.6-1
binutils-common=2.31.1-16
gpg=2.2.12-1+deb10u1
krb5-locales=1.17-3
libgcc-8-dev=8.3.0-6
file=1%3a5.35-4+deb10u1
libmpc3=1.1.0-1
libxau6=1%3a1.0.8-1+b2
g++=4%3a8.3.0-1
libldap-common=2.4.47+dfsg-3+deb10u2
libubsan1=8.3.0-6
liblsan0=8.3.0-6
libk5crypto3=1.17-3
libbinutils=2.31.1-16
netbase=5.6
libgnutls30=3.6.7-4+deb10u5
libcurl4=7.64.0-4+deb10u1
binutils-x86-64-linux-gnu=2.31.1-16
binutils=2.31.1-16
libalgorithm-diff-perl=1.19.03-2
gpgconf=2.2.12-1+deb10u1
gcc=4%3a8.3.0-1
libsasl2-modules-db=2.1.27+dfsg-1+deb10u1
libfile-fcntllock-perl=0.22-3+b5
libedit2=3.1-20181209-1
libmpfr6=4.0.2-1
libgdbm6=1.18.1-4
g++-8=8.3.0-6
libasan5=8.3.0-6
libisl19=0.20-2
libexpat1=2.2.6-2+deb10u1
linux-libc-dev=4.19.146-1
cpio=2.12+dfsg-9
liblocale-gettext-perl=1.07-3+b4
xz-utils=5.2.4-1 xz-utils=5.2.4-1
zlib1g:amd64=1:1.2.11.dfsg-1 libkrb5support0=1.17-3
libldap-2.4-2=2.4.47+dfsg-3+deb10u2
curl=7.64.0-4+deb10u1
fakeroot=1.23-1
gnupg-l10n=2.2.12-1+deb10u1
cpp=4%3a8.3.0-1
libxdmcp6=1%3a1.1.2-3
base-files=10.3+deb10u6
pinentry-curses=1.1.0-2
libatomic1=8.3.0-6
bc=1.07.1-2+b1
libx11-6=2%3a1.6.7-1+deb10u1
libsqlite3-0=3.27.2-3

View File

@ -15,8 +15,18 @@ deb http://deb.debian.org/debian buster-updates main
deb http://snapshot.debian.org/archive/debian/${snapshot_date} buster-updates main deb http://snapshot.debian.org/archive/debian/${snapshot_date} buster-updates main
EOF EOF
set -e; apt-get update
apt install -y openssl
apt-get install -y --download-only $(cat /etc/apt/packages.list)
apt-install (
cd /var/cache/apt/archives \
&& find . -type f \( -iname \*.deb \) -exec openssl sha256 -r {} \; \
| sed 's/ \*.\// /g' \
| LC_ALL=C sort
) > /etc/apt/package-hashes.txt
dpkg -l | awk '{ if ($1 == "ii") print $2 "=" $3 }' > /etc/apt/packages.list cat /etc/apt/package-hashes.txt \
| awk '{ print $2 }' \
| sed -e 's/_[a-z0-9]\+\.deb//g' -e 's/_/=/g' \
> /etc/apt/packages.list