[SOLVED] E: Problem executing scripts APT::Update::Post-Invoke
If you have a legacy docker version and you try to update you repositories with apt update, probably you will get the following error:
E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
E: Sub-process returned an error code
To solve it, you must install a version higher than 20.10.9.
If you haven't this version in you apt repositories, you can install it throught snap.
To check your docker version just write this command:
docker -v
Enjoy it!
Comments
Post a Comment