1

i have recently flashed latest OS in my raspberry pi.When i try to use " sudo apt-get update" in my raspberry pi 3 B, i am getting the following error

Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease              
Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease                 
Ign:3 http://packages.ros.org/ros/ubuntu bullseye InRelease                    
Err:4 http://packages.ros.org/ros/ubuntu bullseye Release
  404  Not Found [IP: 64.50.236.52 80]
Reading package lists... Done
E: The repository 'http://packages.ros.org/ros/ubuntu bullseye Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Kindly help me to solve the issue

Dirk
  • 3,541
  • 3
  • 18
  • 25
Ramkumar A
  • 11
  • 1
  • You have clearly made changes to the package list so this is not a fresh install. Perhaps ask for advice from the person who told you to change the package list. – joan Oct 09 '22 at 07:45
  • DO NOT use apt-get use apt
  • – Milliways Oct 09 '22 at 07:49
  • You have not specified WHAT "latest OS" you tried to install (it is obviously NOT Raspberry Pi OS) but your sources are a mess.
  • – Milliways Oct 09 '22 at 07:51
  • @Milliways what is wrong with apt-get? I cannot find any non-aesthetic difference in apt-get. All my auto-update scripts use apt-get, and I am in the habit of installing packages with apt-get. Is there a problem with this? – anonymousaga Oct 09 '22 at 15:56