All ros packages are not shown in apt-cache

asked 2019-04-26 03:19:13 -0500

new_student gravatar image

updated 2019-04-26 04:46:34 -0500

After installing ros on a new machine , I only see very limited packages in apt-cache search. 283 vs 2444 on the older machines. What might be the issue?

On new machine:

apt-cache search ros-kinetic | wc -l
283

On older machine:

apt-cache search ros-kinetic | wc -l
2444

I am using ROS Kinetic and Ubuntu 16.04 on both machines.


Edit:

$ cat /etc/apt/sources.list.d/ros-latest.list
deb http://packages.ros.org/ros/ubuntu xenial main

and:

$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:3 http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial InRelease
Hit:4 https://deb.nodesource.com/node_11.x xenial InRelease
Get:5 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable Release
Get:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:9 http://packages.ros.org/ros/ubuntu xenial InRelease
Fetched 391 kB in 1s (278 kB/s)
Reading package lists... Done
edit retag flag offensive close merge delete

Comments

What is the output of cat /etc/apt/sources.list.d/ros-latest.list and sudo apt-get update?

gvdhoorn gravatar image gvdhoorn  ( 2019-04-26 04:22:44 -0500 )edit

Just making sure: you write this:

On older machine:

apt-cache search ros | wc -l
2444

apt-cache search ros | wc -l will return more results, as you're searching for any package with ros in it. ros-kinetic is a more narrow search, so that returning less packages would be expected.

Did you run the same commands?

gvdhoorn gravatar image gvdhoorn  ( 2019-04-26 04:45:23 -0500 )edit

yes, I ran the same commands. I had a typo earlier, I fixed it now. Thanks for pointing it out.

new_student gravatar image new_student  ( 2019-04-26 05:03:19 -0500 )edit