0
$\begingroup$

I have just started learning ROS, and when I tried to follow the official installation guide I encountered the following problem: enter image description here

Here is Software & Updates settings enter image description here

enter image description here

Here is the output of apt-cache search ros-noetic show? enter image description here

And also output of sudo apt-get update enter image description here


Following Tully's advice I run sudo apt install -o Debug::pkgProblemResolver=1 ros-noetic-roscpp and get a list of errors, the only thing I could make of it is that it has something to do with amd64. Error log: https://drive.google.com/file/d/1Q7uize08ZlCKgjESd-B5xaO9D6qKe8zz/view?usp=sharing

$\endgroup$
4
  • $\begingroup$ try the usual with broken packages: sudo apt install -f $\endgroup$ Apr 2 at 16:10
  • 1
    $\begingroup$ Please copy and paste the text from your console instead of screenshotting. That way it's searchable and selectable which makes it much easier to help you. $\endgroup$
    – Tully
    Apr 2 at 17:56
  • $\begingroup$ Please keep drilling down to the minimal command and error trace. And then you can embed it here in the question. $\endgroup$
    – Tully
    Apr 5 at 20:11
  • $\begingroup$ I'm seeing errors related to python3-setuptools and uuid-dev do you have any non-standard packages installed on your system? And are you up to date with an apt-get dist-upgrade? $\endgroup$
    – Tully
    Apr 5 at 20:12

2 Answers 2

0
$\begingroup$

You likely have a package that conflicts on your system or a package that is pinned or conflicts in another way. To find out more information about what the problem is you should use

-o Debug::pkgProblemResolver=1 with your apt install aka:

sudo apt-get install -o Debug::pkgProblemResolver=1 ros-noetic-desktop-full

You can also reduce the problem set by trying to install the dependent packages until you drill down to find the specific conflict.

More info on apt options can be found at: https://manpages.debian.org/unstable/apt/apt.conf.5.en.html or man apt.conf

$\endgroup$
3
  • $\begingroup$ Thanks, I added an error log in the main post. $\endgroup$ Apr 4 at 17:18
  • $\begingroup$ Thanks, that output is extremely long. Can you please narrow down exactly what package is causing the problem by attempting to install individual dependencies to get a reduced traceback? Have you installed any ROS packages before such as upstream ones that might conflict? wiki.ros.org/UpstreamPackages $\endgroup$
    – Tully
    Apr 5 at 0:30
  • $\begingroup$ I run installation of ros-noetic-roscpp and get a much shorter error log, hopefully it's readable now. And I have never installed any kind of upstream ROS packages before. Thank you for your help. $\endgroup$ Apr 5 at 16:29
0
$\begingroup$

Thank you everyone for help! In the end, I decided to reinstall Linux and now everything works perfectly.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.