Upon executing sudo apt-get update
, I get the following error:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/gazebo-stable.list (Component)
E: The list of sources could not be read.
I have tried to rewrite this file, but it states that I lack write access. Please help. Also, I think that this may also be the reason that the Discover GUI for Ubuntu app store is not running at all as well.
Upon opening the file:
deb http://packages.osrfoundation.org/gazebo/ubuntu-stable xenial
main
main
main
Can anyone please suggest what is wrong with the above text? I am unable to perform sudo apt-get update
...
main
entries in the file on separate lines just like you pasted it? It should be the last argument on the line with URL. – Melebius Apr 12 '18 at 13:05