Ask Your Question
0

Install ROS Noetic on Ubuntu 20.04 LTS (KDE NEON)

asked 2022-03-30 13:35:27 -0500

Josep gravatar image

updated 2022-04-30 13:40:49 -0500

lucasw gravatar image

I have followed exactly the installation instruction from ros-wiki for ubuntu 20.04 and when I run:

sudo apt install ros-noetic-desktop-full

the output is: many error (see here) and the last sentences are :

The following packages have unmet dependencies: ros-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed Depends: ros-noetic-simulators but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I have tried these followings solutions and any of them has solved the problem:

Any idea? Thanks a lot.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-05-28 19:38:16 -0500

qilin_gundamenjoyer gravatar image

updated 2022-05-28 19:40:24 -0500

For your information, the here link doesn't work. In your terminal, type sudo aptitude install ros-noetic-desktop-fullto show what dependencies are unmet. If your error output is similar to

The following packages have unmet dependencies:
libpcre3-dev : Depends: libpcre3 (= 2:8.39-12build1) but 2:8.44-2+ubuntu18.04.1+deb.sury.org+1 is installed libpcre2-dev : Depends: libpcre2-8-0 (= 10.34-7) but 10.36-2+ubuntu18.04.1+deb.sury.org+2 is installed

Type sudo apt install --reinstall libpcre3=2:8.39-12build1 and sudo apt install --reinstall libpcre2-8-0=10.34-7 Keep in mind, what comes after lib and the equal sign, which is the required version, will vary depending on your Ubuntu version. I have bolded both of it in the blockquote to show it. So just follow the formula sudo apt install --reinstall lib_library_name=required_version and sudo apt install --reinstall lib_libraryname_requiredversion.

Alternatively, you can just remove and reinstall withsudo apt-get remove ros-*, thensudo apt-get install ros-noetic-desktop-full. Installing the broken packages individually by typingsudo apt-get install ros-distro-pkg_name` might do the trick too.

~Gundam Out`

edit flag offensive delete link more
0

answered 2022-04-13 04:54:22 -0500

Joe28965 gravatar image

What happens if you run sudo apt install ros-noetic-desktop instead? Somehow you can't install that one, so what errors do you get when you try regardless?

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

Stats

Asked: 2022-03-30 13:29:56 -0500

Seen: 132 times

Last updated: May 28