Apt-get update failed

Well, you did decide to tag your "same problem"onto a post that opened with “I run a fresh installation of Openhab3 …” so we made assumptions.

Your basic problem remains

For OH2 refer to

When you install an add-on, by default OH goes to fetch it from a known place on the internet. The place that your system knows about is defunct, it will never work again.
The alternative is to download a fat file containing all the add-ons, and let your OH install “locally” from the fat file. You might need the ‘legacy’ addons file for OH1.x bindings as well.