Ask Your Question

ros_buildfarm prerelease script cannot install package dependency

asked 2021-02-25 16:56:23 -0600

dfseifer gravatar image

I'm getting an error when trying to run a prerelease test for a package:   noetic default ubuntu focal amd64   --custom-repo     linux_networking__custom-2:git:   --level 0   --output-dir ./

I get the following error:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/", line 299, in __getitem__
    rawpkg = self._cache[key]
KeyError: 'python-twisted-core'

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 150, in main
    get_binary_package_versions(apt_cache, debian_pkg_names_testing))
  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 301, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'python-twisted-core'"
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-06 01:51:19 -0600

dfseifer gravatar image

figured this out for myself, the python3 version of this package is python3-twisted

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-02-25 16:56:23 -0600

Seen: 54 times

Last updated: Mar 06