Solution1:
add suffix--allow-unauthenticated like this:
sudo apt-get install -y mongodb-org --allow-unauthenticated
Solution2:
Connect directly to net (ie avoid the corporate proxy)
Switch off proxy config in Settings and /etc/apt/apt.conf
- sudo apt-key update
- sudo apt-get update
- sudo apt-get install ‘something’