#1033276 unattended-upgrades: does not create directory for Dir::Cache::archives/partial when it does not exist

#1033276#5
Date:
2023-03-21 01:24:27 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

apt.conf contains:

Dir::Cache::archives "/tmp";

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

ineffective:

unattended-upgrades

effective:

mkdir /tmp/partial; unattended-upgrades

   * What was the outcome of this action?

unattended-upgrades give a "No such file or directory" when trying to download packages if /tmp/partial does not exist

   * What outcome did you expect instead?

expected unattended-upgrades to create the directory, as `apt upgrade` does