if $doupdate; then
tmpdir=$(mktemp -d)
cd $tmpdir
+ # otherwise we get a warning message:
+ # W: Download is performed unsandboxed as root as file '/tmp/tmp.UwxbPFG3CZ/debian-archive-keyring_2021.1.1+deb11u1_all.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
+ chmod 775 .
p download debian-archive-keyring
- s dpkg -i debian-archive-keyring
+ s dpkg -i ./debian-archive-keyring*
p update
cd -
rm -rf $tmpdir