[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

Popular posts from this blog

Exception: Could not find a default OpenFlow controller in Mininet

How to fix Android when developer options are not available for this user

Webcam streaming throught VLC with YUY2 compatibility