# Missconfiguration leading to missing package?

**URL:** <https://discourse.openrobotics.org/t/missconfiguration-leading-to-missing-package/1898>\
**Category:** Buildfarm\
**Created:** [June 7, 2017, 3:28pm UTC](https://discourse.openrobotics.org/t/missconfiguration-leading-to-missing-package/1898 "2017-06-07T15:28:32Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![alex-gee](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@alex-gee](https://discourse.openrobotics.org/u/alex-gee)\
**Post date:** [June 7, 2017, 3:28pm UTC](https://discourse.openrobotics.org/t/missconfiguration-leading-to-missing-package/1898/1 "2017-06-07T15:28:32Z")

</div>

Hi, I am still doing my first steps with a custom buildfarm. Now I got stuck during the “local” build when runing the script generated by “generate\_devel\_script.py”. The code gets checkout out fine and building and testing distro packages like rviz etc works. However with my own package it thows:

> […]  
> Resolved the dependencies to the following binary packages:
> 
> - liblapack-dev
> - ros-kinetic-catkin
> - ros-kinetic-joint-state-publisher
> - ros-kinetic-moveit-core
> - ros-kinetic-moveit-ros-planning
> - ros-kinetic-pluginlib
> - ros-kinetic-robot-state-publisher
> - ros-kinetic-roscpp
> - ros-kinetic-rviz
> - ros-kinetic-tf-conversions
> - ros-kinetic-urdf
> - ros-kinetic-xacro  
> Traceback (most recent call last):  
> File “/usr/lib/python3/dist-packages/apt/cache.py”, line 194, in **getitem**  
> return self.\_weakref[key]  
> File “/usr/lib/python3.5/weakref.py”, line 131, in **getitem**  
> o = self.datakey  
> KeyError: ‘ros-kinetic-moveit-ros-planning’

> During handling of the above exception, another exception occurred:

> Traceback (most recent call last):  
> File “/usr/lib/python3/dist-packages/apt/cache.py”, line 198, in **getitem**  
> rawpkg = self.\_cache[key]  
> KeyError: ‘ros-kinetic-moveit-ros-planning’

> During handling of the above exception, another exception occurred:

> Traceback (most recent call last):  
> File “/tmp/ros\_buildfarm/scripts/devel/create\_devel\_task\_generator.py”, line 251, in   
> main()  
> File “/tmp/ros\_buildfarm/scripts/devel/create\_devel\_task\_generator.py”, line 116, in main  
> get\_binary\_package\_versions(apt\_cache, debian\_pkg\_names))  
> File “/tmp/ros\_buildfarm/ros\_buildfarm/common.py”, line 144, in get\_binary\_package\_versions  
> pkg = apt\_cache[debian\_pkg\_name]  
> File “/usr/lib/python3/dist-packages/apt/cache.py”, line 200, in **getitem**  
> raise KeyError(‘The cache has no package named %r’ % key)  
> KeyError: “ **The cache has no package named 'ros-kinetic-moveit-ros-planning** ’”

Is the something wrong with my buildfarm configuration or did I make a mistake in my package.xml?  
Or can I somehow refresh the cache

sudo apt-get install ros-kinetic-moveit-ros-planning works fine…

Some hint on possible causes would be helpful even if it is just a guess.

---

_[View the full topic](https://discourse.openrobotics.org/t/missconfiguration-leading-to-missing-package/1898)._
