Ask Your Question
0

Windows ROS ros-melodic-moveit install fail

asked 2019-12-29 04:49:14 -0500

Johnny Su gravatar image

updated 2019-12-29 04:57:59 -0500

gvdhoorn gravatar image

When choco upgrade ros-melodic-moveit -y

Error happened

Chocolatey v0.10.15
Upgrading the following packages:
ros-melodic-moveit
By upgrading you accept licenses for the packages.
ros-melodic-moveit is not installed. 

Installing...
Progress: Downloading ros-melodic-moveit 20190729.1... 100%
Progress: Downloading ros-melodic-moveit 20190729.1... 100%
ros-melodic-moveit v20190729.1
ros-melodic-moveit package files upgrade completed. Performing other installation steps.
Extracting 64-bit C:\ProgramData\chocolatey\lib\ros-melodic-moveit\tools\drop.zip to c:\opt\ros...
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\cpp_common.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\rosconsole.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\rosconsole_backend_interface.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\rosconsole_log4cxx.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\roscore.exe
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\roscpp.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\roscpp_serialization.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\rosmaster.exe
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\rostime.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\bin\xmlrpcpp.dll
ERROR: Can not delete output file : 存取被拒。 : c:\opt\ros\melodic\x64\lib\rosout\rosout.exe
ERROR: 7-Zip encountered a fatal error while extracting the files. This is most likely an issue with the 'ros-melodic-moveit' package and not with Chocolatey itself. Please follow up with the package maintainer(s) directly.
The upgrade of ros-melodic-moveit was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\ros-melodic-moveit\tools\chocolateyInstall.ps1'.
 See log for details.
This is try 1/3. Retrying after 300 milliseconds.
 Error converted to warning:
 (5) 存取被拒。: [\\?\C:\ProgramData\chocolatey\lib-bad\ros-melodic-moveit]
This is try 2/3. Retrying after 400 milliseconds.
 Error converted to warning:
 (5) 存取被拒。: [\\?\C:\ProgramData\chocolatey\lib-bad\ros-melodic-moveit]
Maximum tries of 3 reached. Throwing error.
Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
 - ros-melodic-moveit (exited 2) - Error while running 'C:\ProgramData\chocolatey\lib\ros-melodic-moveit\tools\chocolateyInstall.ps1'.
 See log for details.
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-12-31 18:02:01 -0500

OoeyGUI gravatar image

Hello @Johnny, The installer does not attempt to shut down a running ROS instance before upgrading. Please do this manually and attempt to reinstall.

I created this issue to track adding detection logic to the installer - https://github.com/ms-iot/ROSOnWindow....

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

1 follower

Stats

Asked: 2019-12-29 04:49:14 -0500

Seen: 150 times

Last updated: Dec 31 '19