ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Type 'dep' not known in line 1 of ross-latest.list

asked 2014-01-02 10:38:01 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I installod ROS Hydro and am trying to get it working. None of the commands seem to work . I started to reinstall ROS and when I got to sudo apt-get update (to get the latest Debian stuff)I get this message E: Type 'dep' is not known on line 1 in source list /etc/apt/sources.list.d/ross-latest.list followed by: E: The list of sources could not be read. I did not get these messages on the initial install (or didn't see them). How do I fix this? It seems to be what's keeping ROS from working.

edit retag flag offensive close merge delete

Comments

Clarification: one file is named ros-latest.list and starts with dep and the other ross-latest.list which starts with deb.

DelWilson gravatar image DelWilson  ( 2014-01-02 11:11:00 -0500 )edit

4 Answers

Sort by ยป oldest newest most voted
0

answered 2014-01-02 12:48:30 -0500

ahendrix gravatar image

updated 2014-01-03 07:08:13 -0500

dep is a typo; it should be deb

You should only have one ros-latest.list. I suggest you remove ross-latest.list and correct your existing ros-latest.list.

EDIT:

You should be able to make the above changes using sudo:

Remove the offending file: sudo rm /etc/apt/sources.list.d/ross-latest.list

Edit the existing file: sudo gedit /etc/apt/sources.list.d/ros-latest.list

It also sounds like you are using grep incorrectly. When given a single argument, grep reads from stdin (usually the terminal); this is probably what you're seeing. Try running grep like: grep -r -i ros /etc/apt/ ; this will grep recursively (-r, all files and subfolders), ignoring case (-i) for anything matching ros in the directory /etc/apt/

edit flag offensive delete link more

Comments

ahendrix, Thanks for your response. Unfortunately the files are read only and I can't remove them or I don't know how to. I'm new to linux as well as ROS. BTW the ros-latest.list has deb as the first paremeter and it's the file the system is giving errors on. I also note that when I grep ROS the cursor (small rectangle) blinks for a few seconds and then stops blinking and the system seems hung; no response for tens of seconds. That doesn't seem normal. Given this is an old machine, Del 9300 laptop but I expected more than that. I'm not convinced I have a clean Ubuntu load. Reinstall completed, I now have a pure Ubuntu machine :-) ROS reinstalled everything seems to be working fine. Thanks for the suggestions and the help in understanding a little more about Linux.

DelWilson gravatar image DelWilson  ( 2014-01-02 14:00:55 -0500 )edit
0

answered 2014-01-03 10:40:34 -0500

DelWilson gravatar image

Given my suspicion of a faulty Ubuntu install which I attribute to a corrupted XP load and/or too limited resources I am reinstalling from DVD (made on my new laptop). This way I can make the machine pure Ubuntu Linux which is what I wanted in the first place. I will reinstall ROS when finished. I predict better results. Keep you posted.

edit flag offensive delete link more
0

answered 2014-01-04 06:54:04 -0500

DelWilson gravatar image

Completed install from DVD, I now have a pure Ubuntu machine :-) Reinstalled ROS and everything seems to be working fine. Thanks for the input, I really appreciate it.

edit flag offensive delete link more
0

answered 2014-01-02 13:46:18 -0500

DelWilson gravatar image

Thanks but I the files are read only and I can't remove them or I don't know how to. I'm new to linux as well as ROS.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-01-02 10:38:01 -0500

Seen: 999 times

Last updated: Jan 03 '14