Windows ROS ros-melodic-moveit install fail
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.