failed to fetch packages (gazebo)

asked 2014-11-12 21:09:04 -0500

Glory gravatar image

I was trying to install gazebo2 to ubuntu trusty. I ran sudo apt-get update I got this error below W: Failed to fetch Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file) Please help me on how to fix this error I ignored the error and went ahead to install gazebo2 by running sudo apt-get install gazebo2 I got another error below Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package gazebo2

Please assist me to fix this error so that I can install gazebo2 in beagleboneblack, I installed Indigo base which has no default gazebo. Should I uninstall Indigo Base and install desktop-full which has default gazebo2. What command will I use to do that?

I appreciate every help I can get

edit retag flag offensive close merge delete


This is a super late reply, but even i had similar Problem but with noetic and gazebo11. This is what i tried and it worked: first

sudo apt-get update –fix-missing

and then:

sudo apt-get install -f

finally i ran the noetic install command again, and this time it was able to zoom through the entire installation completely.

I think the problem partly had to do with slow internet speed / interrupted connection.

archiparchi gravatar image archiparchi  ( 2021-07-17 10:52:47 -0500 )edit