Ask Your Question
0

Trouble installing python3-rosdep. (python3-docutils is missing or obsolete?) [closed]

asked 2021-09-20 13:44:50 -0500

schmi gravatar image

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by schmi
close date 2021-09-23 01:46:36.860437

Comments

1

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 gravatar image gvdhoorn  ( 2021-09-21 03:06:45 -0500 )edit

@gvdhoorn Thank you for your comment. I have gotten the following response from aptitude:

The following NEW packages will be installed:
  python3-catkin-pkg{ab} python3-catkin-pkg-modules{ab} python3-rosdep python3-rosdep-modules{a} python3-rosdistro{a} python3-rosdistro-modules{a} python3-rospkg{a} python3-rospkg-modules{a} 
0 packages upgraded, 8 newly installed, 0 to remove and 2 not upgraded.
Need to get 165 kB of archives. After unpacking 1,077 kB will be used.
The following packages have unmet dependencies:
 python3-catkin-pkg-modules : Depends: python3-docutils which is a virtual package and is not provided by any available package

                              Depends: python3-pyparsing which is a virtual package and is not provided by any available package
schmi gravatar image schmi  ( 2021-09-21 03:28:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-09-23 01:46:03 -0500

schmi gravatar image

I realized that his has nothing really to do with ros. I will close this issue.

(My solution was reinstalling the complete os, I had tried everything)

edit flag offensive delete link more

Question Tools

Stats

Asked: 2021-09-20 13:44:50 -0500

Seen: 415 times

Last updated: Sep 23 '21