Trouble installing python3-rosdep. (python3-docutils is missing or obsolete?) [closed]
Hello, I have the following problem installing python3-rosdep via apt:
When I try to run
sudo apt install -y python3-rosdep
I get the following response:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-rosdep : Depends: python3-catkin-pkg but it is not going to be installed
Depends: python3-rosdistro but it is not going to be installed
Depends: python3-rospkg but it is not going to be installed
Depends: python3-rosdep-modules (>= 0.21.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So what I did then, is I tried to install python3-catkin-pkg myself by running:
sudo apt install -y python3-catkin-pkg
With the following response:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3-catkin-pkg : Depends: python3-docutils but it is not installable
Depends: python3-pyparsing but it is not installable
Depends: python3-catkin-pkg-modules (>= 0.4.23) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So naturally I tried to install python3-docutils:
sudo apt-get install -y python3-docutils
Which yielded a response that confused me a lot:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package python3-docutils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'python3-docutils' has no installation candidate
Python3-docutils has no installation candidate?? I am very confused by this.
I am running Ubuntu focal 20.04.3
Help is greatly appreciated, Thanks a lot in advance
You may want to try using
aptitude
to see whether it can provide some more insight into why installation is impossible.These kinds of things are difficult to diagnose as it's very difficult to reliably reproduce them (it depends on the state of your local configuration, apt database + apt sources and their state).
@gvdhoorn Thank you for your comment. I have gotten the following response from aptitude: