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

Xarzu

New Member
Joined
Apr 29, 2022
Messages
15
Reaction score
4
Credits
185
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:


[email protected]: - $ sudo apt update
[sudo] password for william:
Err:1 http://us.archive.ubuntu.com/ubuntu jamay 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 jaray.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.

[email protected]iam-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?
 


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,564
Reaction score
1,710
Credits
19,234
How is your VM set up ? Is it set to connect to the internet through the windows, or have you set it with a separate USB Wi-Fi,
as I understand it, you can only get a dedicated connection using a separate Wi-Fi /USB dongle as the VM has a direct connection to it, otherwise it is relayed as a connection via windows, which may be blocking some of the access

also if you are using a proxi that also may be blocking
 
OP
Xarzu

Xarzu

New Member
Joined
Apr 29, 2022
Messages
15
Reaction score
4
Credits
185
There seemed to be some sort of security system blocking. So I moved to annother computer configuration and this particular issue had not come up there.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top