0

I'm new to Ubuntu and I was trying to download gazebo 11 and I did but now every time I try to update or install it's keep coming up with this error saying

E: Malformed entry 1 in list file /etc/apt/sources.list.d/gazebo-stable.list (Suite) E: The list of sources could not be read.

These are the file contents

deb http://packages.osrfoundation.org/gazebo/ubuntu-stable bionic main

Can you help me please? Thank you

Lucy
  • 21
  • 1
  • 6

1 Answers1

0

Edit /etc/apt/sources.list.d/gazebo-stable.list...

sudo -H gedit /etc/apt/sources.list.d/gazebo-stable.list or sudo pico /etc/apt/sources.list.d/gazebo-stable.list

Note: below, change "focal" to your current release name, as seen in:

lsb_release -a | grep -i Codename

Replace whatever is in the .list file with this:

deb http://packages.osrfoundation.org/gazebo/ubuntu-stable focal main

Then do:

sudo apt-get update

heynnema
  • 73,649