X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=distro-end;fp=distro-end;h=77cfa4ba89782d55ec1fa1b8497994c24531f93f;hp=d81950cec4fee220dafd1c38b9be40d02e61ad1e;hb=7f94df0eb6002f4fd05ab3fc2d61e94a92ef5a1a;hpb=c56f26063f141a0d13ccad28981e697da135163b diff --git a/distro-end b/distro-end index d81950c..77cfa4b 100755 --- a/distro-end +++ b/distro-end @@ -194,8 +194,11 @@ EOF 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