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

Kinetic prerelease KeyError: "The cache has no package named 'ros-kinetic-dynamic-reconfigure'"

asked 2020-10-16 03:00:07 -0600

toebgen gravatar image


I am in the process of releasing a new version (2.0.4) of the package While for melodic everything went through smoothly, I am running into issues when trying to release for kinetic.

The following error occurs during running prerelease.shon my local machine (obtained from Same can be found (with the complete console log) in the kinetic Jenkins Job devel ubuntu xenial amd64:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/", line 259, in __getitem__
    return self._weakref[key]
  File "/usr/lib/python3.5/", line 131, in __getitem__
    o =[key]()
KeyError: 'ros-kinetic-dynamic-reconfigure'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/", line 263, in __getitem__
    rawpkg = self._cache[key]
KeyError: 'ros-kinetic-dynamic-reconfigure'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/ros_buildfarm/scripts/devel/", line 287, in <module>
  File "/tmp/ros_buildfarm/scripts/devel/", line 138, in main
    get_binary_package_versions(apt_cache, debian_pkg_names))
  File "/tmp/ros_buildfarm/ros_buildfarm/", line 144, in get_binary_package_versions
    pkg = apt_cache[debian_pkg_name]
  File "/usr/lib/python3/dist-packages/apt/", line 265, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'ros-kinetic-dynamic-reconfigure'"

The changes are only minor compared to the previously released version (2.0.3), where a few months back the job succeeded. If I run locally for the previous release (2.0.3), however, I now receive the same KeyError.

This leads me to the question, if there might be something off in the package repo? Or could it be caused by anything on our side?

Maybe anyone has had similar problems?

Any ideas greatly appreciated, Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-10-16 03:24:33 -0600

gvdhoorn gravatar image

updated 2020-10-16 04:19:12 -0600

Edit: as @tfoote mentions, a new version of Catkin was released recently, which, as it is a dependency of just about every ROS package, causes large amounts of packages to be rebuilt by the buildfarm.

Because of that, dependants can be found to be missing from the staging area, leading to your build failing.

This is transient, so you could either:

  1. wait until things have settled and try again
  2. assume everything will be fine and "just" do the release

which one you feel more comfortable with is something only you know.

I'm pretty sure this is a transient error.

As you can see at status_page/ros_kinetic_default.html?q=dynamic_reconfigure, dynamic_reconfigure is currently missing (ie: not building) for Kinetic amd64 (and i386 actually).

I haven't checked why, but this will either be resolved by a new build or someone will need to look into it (the maintainers or buildfarm managers).

Your build depends on dynamic_reconfigure, but the package is not there, hence the error.

edit flag offensive delete link more


Perhaps @tfoote, as the Kinetic ROS boss, knows more.

gvdhoorn gravatar image gvdhoorn  ( 2020-10-16 03:25:46 -0600 )edit

A new version of catkin was just released for several distros so the buildfarm is building like crazy and will be rebuilding effectively everything right now. Unfortunately Kinetic is the lowest priority rebuild so it will be back last.

tfoote gravatar image tfoote  ( 2020-10-16 03:50:07 -0600 )edit

Thank you so much for your super quick feedback! @gvdhoorn@tfoote

toebgen gravatar image toebgen  ( 2020-10-16 04:27:35 -0600 )edit

Question Tools

1 follower


Asked: 2020-10-16 02:56:02 -0600

Seen: 339 times

Last updated: Oct 16 '20