0

when i typed sudo apt-get update in terminal, it gave me this error:

E: Malformed line 1 in source list /etc/apt/sources.list.d/gazebo-latest.list (dist)
E: The list of sources could not be read.

I looked into gazebo-latest.list file. there is a line

deb http://packages.osrfoundation.org/gazebo/ubuntu quantal main

How can i fix this problem

muru
  • 207,228

1 Answers1

1

First of all Quantal is an end of life Ubuntu release and not supported now, So upgrade your system into any supported release .

And solution for this problem is already discusseed here, but putting a / after ubuntu in the gazebo-latest.list (i.e deb http://packages.osrfoundation.org/gazebo/ubuntu/ quantal main) should also work.

(Note: you will still get error in update because of being an unsupported release so again upgrade your system into a supported release. See How to install software or upgrade from old unsupported release? )

g_p
  • 19,034
  • 6
  • 59
  • 69