Package: unattended-updates Version: 0.93.1+nmu1 Severity: normal I have /var/cache/apt mounted on tmpfs and all apt utils works fine.
Except unattended-updates, which produces the following (and really wrong) error: % sudo unattended-upgrade An error occurred: 'Could not open file /var/cache/apt/archives/partial/ghostscript_9.26~dfsg-0+deb9u1_amd64.deb - open (2: No such file or directory)' The URI 'https://deb.debian.org/debian-security/pool/updates/main/g/ghostscript/ghostscript_9.26~dfsg-0+deb9u1_amd64.deb' failed to download, aborting % ls -l /var/cache/apt total 56M -rw-r--r-- 1 root root 28M 2018-11-28 07:26 pkgcache.bin -rw-r--r-- 1 root root 28M 2018-11-28 07:26 srcpkgcache.bin dist-upgrade works fine: % s apt dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: ghostscript libgs9 libgs9-common 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 7446 kB of archives. After this operation, 36.9 kB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 https://cdn-aws.deb.debian.org/debian-security stretch/updates/main amd64 ghostscript amd64 9.26~dfsg-0+deb9u1 [98.6 kB] ...