Ask Your Question
0

Error while running 'C:\ProgramData\chocolatey\lib\ros-python2\tools\chocolateyinstall.ps1'.

asked 2019-04-27 07:48:27 -0600

budongyue gravatar image

updated 2019-04-27 09:30:24 -0600

gvdhoorn gravatar image

Straight dump of the error message:

C:\Windows\System32>choco upgrade ros-melodic-desktop_full -y
Chocolatey v0.10.13
2 validations performed. 1 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:
 - A pending system reboot request has been detected, however, this is
   being ignored due to the current Chocolatey configuration.  If you
   want to halt when this occurs, then either set the global feature
   using:
     choco feature enable -name=exitOnRebootDetected
   or pass the option --exit-when-reboot-detected.

Upgrading the following packages:
ros-melodic-desktop_full
By upgrading you accept licenses for the packages.
ros-melodic-desktop_full is not installed. Installing...
Progress: Downloading ros-melodic-desktop_full 20190415.1... 100%
Progress: Downloading ros-melodic-desktop_full 20190415.1... 100%

ros-python2 v2.7.15.1809242354
ros-python2 package files upgrade completed. Performing other installation steps.
Extracting C:\ProgramData\chocolatey\lib\ros-python2\tools\python27amd64.zip to C:\opt\...
C:\opt\
ERROR: The term 'cmd' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
The upgrade of ros-python2 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\ros-python2\tools\chocolateyinstall.ps1'.
 See log for details.
edit retag flag offensive close merge delete

Comments

1
gvdhoorn gravatar image gvdhoorn  ( 2019-04-27 09:41:23 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-04-27 20:29:29 -0600

OoeyGUI gravatar image

Currently this script depends on cmd.exe on being in the path during first install and upgrade. We will change that. In the mean time, can you verify that you can call cmd from that command window?

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

2 followers

Stats

Asked: 2019-04-27 07:48:27 -0600

Seen: 2,785 times

Last updated: Apr 27 '19