404 error with ubuntu server 22.04.3

check files in sources.list.d if there is a mongodb.com
search it by this command

grep -r 'mongodb.com' /etc/apt/sources.list.d/

This answer might help you. what is the function of /etc/apt/sources.list.d?

1 Like