ROS noetic apt update error & install issue.
Hi there. I am using Ubuntu 20.10 and i tried installing ROS on it. I followed all the steps on http://wiki.ros.org/noetic/Installati...
However, I couldn't get it to install. There seems to be an error and I can't understand why this is happening.
These are the messages i receive when running the first 2 codes:
sunny@sUnNy-UOS:~$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
[sudo] password for sunny:
sunny@sUnNy-UOS:~$ sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.T4S493VxJa/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
gpg: key F42ED6FBAB17C654: "Open Robotics info@osrfoundation.org" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
sunny@sUnNy-UOS:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://archive.canonical.com/ubuntu groovy InRelease
Ign:3 http://packages.ros.org/ros/ubuntu groovy InRelease
Err:4 http://packages.ros.org/ros/ubuntu groovy Release
404 Not Found [IP: 140.211.166.134 80]
Reading package lists... Done
E: The repository 'http://packages.ros.org/ros/ubuntu groovy 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.
sunny@sUnNy-UOS:~$ sudo apt --list upgradable
[sudo] password for sunny:
E: Command line option --list is not understood in combination with the other options
sunny@sUnNy-UOS:~$ sudo apt list --upgradable
Listing... Done
sunny@sUnNy-UOS:~$ apt update
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
sunny@sUnNy-UOS:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu groovy InRelease
Hit:2 http://archive.canonical.com/ubuntu groovy InRelease
Ign:3 http://packages.ros.org/ros/ubuntu groovy InRelease
Err:4 http://packages.ros.org/ros/ubuntu groovy Release
404 Not Found [IP: 64.50.233.100 80]
Reading package lists... Done
E: The repository 'http://packages.ros.org/ros/ubuntu groovy 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.
Please if there is anyone who can sort this out. let me know.