Welcome to the Linux Foundation Forum!

Why does "sudo apt update" cause a series of "403 Forbidden" errors?

Posts: 15

Why does "sudo apt update" cause a series of "403 Forbidden" errors?

I have a Ubuntu 22.04 virtual machine using VMware on a Windows 10 Enterprise computer.

Part of setting things up requires I use the command:

sudo apt update

or

sudo apt-get update --fix-missing

both commands cause the same error messages. They consist of

403 Forbidden [IP: 91.189.91.39 80]

Either I need to do something to establish a network connection, I assume, or I need to find a way to do what I need through downloads and file shares with the host computer. Either way, I need help.

Since I do not have the ability to share files or the clipboard memory with the Virtual Machine, I had to do a screen shot. But, fortunately, I ran that through a pretty good OCR image to text converter so I can share this:

william@william-virtual-machine: - $ sudo apt update
[sudo] password for william:
Err:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
403 Forbidden (IP: 91.189.91.39 80]

Err:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
403 Forbidden [IP: 91.189.91.39 80]

Err:3 http://us.archive.ubuntu.coR/ubuntu jammy.backports InRelease
403 Forbidden [IP: 91.189.91.39 80)

Err:4 http://securtty.ubuntu.com/ubuntu jammy-security InRelease
403 Forbidden [IP: 91.189.91.38 80]

Reading package lists... Done
N: See apt-secure(8) manpage for reposttory creatton and user conftguration detatls.
N: Updating from such a reposttory can't be done securely, and ts therefore disabled by default.
E: The reposttory 'http://us.archive.ubuntu.coR/ubuntu jammy InRelease' ts no longer signed.
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jarmy/InRelease 403 Forbidden [IP: 91.189.91.39 80]
N: See apt-secure(8) manpage for repository creation and user configuration detalls.
N: Updating from such a reposttory can't be done securely, and is therefore disabled by default.
E: The repository 'http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease' is no longer stgned.
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease 403 Forbtdden [IP: 91.189.91.39 80)
E: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease 403 Forbtdden [IP: 91.189.91.39 80]
E: The repository 'http://us.archive.ubuntu.com/ubuntu jarmy-backports InRelease' is no longer signed.
N: Updating from such a reposttory can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for reposttory creation and user configuration detalls.
E: Falled to fetch http://security.ubuntu.com/ubuntu/dists/jarny-securtty/InRelease 483 Forbidden [IP: 91.189.91.38 80 ]
E: The repository 'http://security.ubuntu.com/ubuntu jammy-securtty InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for reposttory creation and user configuration detalls.

william@william-virtual-machine:

And here is a link to the screen capture

https://photos.app.goo.gl/7cK5hYeKHFwyr5ne6

Please help. Is there some sort of configuration I need to do in order to establish network connectivity? I did a search online and so far the information regarding a 403 error is in regard to a web server files not having the proper file permissions for a browser. What changes do I need to make on my end?

Answers

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training