Score:0

while installing i got error in ros error in ubuntu 18.05

br flag

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

in flag
Could you [edit] your question to include the contents of `ros-latest.list`? This will make it easier to see why there is a "malformed entry" error.
guiverc avatar
cn flag
Does this answer your question? [How do I remove a malformed line from my sources.list?](https://askubuntu.com/questions/78951/how-do-i-remove-a-malformed-line-from-my-sources-list)
guiverc avatar
cn flag
There was no Ubuntu release in 2018-May (ie. 18.05). Major releases are *year.month* in format, with some *specialist* releases using the *year* format; your 18.05 is likely a typo, but ensure you're actually using Ubuntu as there was no May release in 2018.
karel avatar
sa flag
Does this answer your question? [E: Malformed entry 54 in list file /etc/apt/sources.list (Component)](https://askubuntu.com/questions/766669/e-malformed-entry-54-in-list-file-etc-apt-sources-list-component)
Score:1
my flag

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.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.