do-static-analysis.install-system-deps.sh errors on Debian 13 container
As part of #6 we discovered that running this script on debian:13 results in the following error:
stat: cannot statx '/var/cache/apt/archives': No such file or directory
Error: Unable to query the APT archive cache directory modification time.
It appears that the /var/cache/apt/archives directory isn't packed into the image(or stripped):
root@e0e21f229d97:/project# ls /var/cache/
apt/ debconf/ ldconfig/
root@e0e21f229d97:/project# ls /var/cache/apt/
, hence the error.
We should consider the cache needs updating in this case instead.