I have been trying to install npm on a server running Ubuntu 20.04 and I keep getting 403 Forbidden for the npm package
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/n/npm/npm_6.14.4+ds- 1ubuntu2_all.deb 403 Forbidden [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Installing other software, like for example nodejs, worked fine, so I suspected it might've been just a server issue. I've tried again today, several days after my first attempt, but no luck.
I've changed the mirrors from my local repositories (AU) to the main one, and then tried also with third country (US), but I still get 403.
Running sudo apt upgrade --fix-missing
also results in a 403 error:
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-5.4.0-65-generic_5.4.0-65.73_amd64.deb 403 Forbidden [IP: 91.189.88.142 80]
I've also cleaned up the lists by running sudo rm /var/list/apt/lists/* -rf
but that didn't help either.
Any suggestion would be appreciated, I'm not sure where to go fro here.