while installing ros i get the error
E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component) E: The list of sources could not be read
while installing ros i get the error
E: Malformed entry 1 in list file /etc/apt/sources.list.d/ros-latest.list (Component) E: The list of sources could not be read
Running the following command will fix this issue:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
Here is a bug report for the same.
ros-latest.list
? This will make it easier to see why there is a "malformed entry" error. – matigo Feb 03 '22 at 08:03