wechaty / PMC

Project Management Committees
https://www.apache.org/foundation/how-it-works.html#pmc
Apache License 2.0
4 stars 0 forks source link

docker in dev.chatie.io is too old #35

Open suntong opened 12 months ago

suntong commented 12 months ago

Our docker in dev.chatie.io is too old:

$ docker run -it debian
root@3cfd4b1d726b:/# apt-get update
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8780 kB]
Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6668 B]
Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [106 kB]
Fetched 9144 kB in 1s (7776 kB/s)                         
Reading package lists... Done
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

That E: Problem executing scripts APT::Update::Post-Invoke, based on my research, is that our docker is too old:

docker.io:
  Installed: 20.10.7-0ubuntu1~20.04.1
  Candidate: 24.0.5-0ubuntu1~20.04.1

Please update it. Thanks

BTW, the fix 其实非常简单,只要 apt install 就可以了