The upgrade of vcredist2010/kb3035131/kb3033929/kb2919442/kb2919355/vcredist140 was NOT successful

asked 2022-03-04 00:12:57 -0500

Elsheikh gravatar image

updated 2022-03-05 13:55:37 -0500

osilva gravatar image

Hello everyone. I am using a Windows 10 Enterprise conrporate Machine. I am trying to install ROS for Windows in Microsoft VB. I have the problem, when, according to the instructions of installing ROS for windows, I try and run the command:

c:\opt\chocolatey>choco upgrade ros-foxy-desktop -y --execution-timeout=0

I seem to get a collection of errors stating that the upgrade of the package was NOT successful, and right at the end:

Chocolatey upgraded 0/8 packages. 8 packages failed. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

the output is as follows:

Chocolatey v0.12.1
Upgrading the following packages:
ros-foxy-desktop
By upgrading, you accept licenses for the packages.
ros-foxy-desktop is not installed. Installing...
Progress: Downloading ros-foxy-desktop 20211109.0.220118.0001... 100%
Progress: Downloading ros-foxy-desktop 20211109.0.220118.0001... 100%
Progress: Downloading vcredist140 14.26.28720.3... 100%
Progress: Downloading vcredist140 14.26.28720.3... 100%

vcredist2010 v10.0.40219.32503 [Approved]
vcredist2010 package files upgrade completed. Performing other installation steps.
ERROR: Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.
The upgrade of vcredist2010 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\vcredist2010\tools\chocolateyInstall.ps1'.
 See log for details.

KB3035131 v1.0.3 [Approved]
kb3035131 package files upgrade completed. Performing other installation steps.
ERROR: Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.
The upgrade of kb3035131 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB3035131\Tools\ChocolateyInstall.ps1'.
 See log for details.

KB3033929 v1.0.5 [Approved]
kb3033929 package files upgrade completed. Performing other installation steps.
ERROR: Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.
The upgrade of kb3033929 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB3033929\Tools\ChocolateyInstall.ps1'.
 See log for details.

KB2919442 v1.0.20160915 [Approved]
kb2919442 package files upgrade completed. Performing other installation steps.
ERROR: Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.
The upgrade of kb2919442 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB2919442\tools\ChocolateyInstall.ps1'.
 See log for details.

KB2919355 v1.0.20160915 [Approved]
kb2919355 package files upgrade completed. Performing other installation steps.
ERROR: Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.
The upgrade of kb2919355 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB2919355\tools\ChocolateyInstall.ps1'.
 See log for details.

KB2999226 v1.0.20181019 [Approved] - Possibly broken
kb2999226 package files upgrade completed. Performing other installation steps.
ERROR: Das Argument kann nicht an den Parameter "Path" gebunden werden, da es sich um eine leere Zeichenfolge handelt.
The upgrade of kb2999226 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\KB2999226\tools\chocolateyinstall.ps1'.
 See log for details.

vcredist140 v14.26.28720.3
vcredist140 package files upgrade completed. Performing other installation steps.
ERROR: Das ...
(more)
edit retag flag offensive close merge delete

Comments

Hi @Elsheikh, please take a look at this discussion: https://github.com/jberezanski/Chocol...

One thing you could try:

choco install -y --ignore-checksums vcredist-all;
osilva gravatar image osilva  ( 2022-03-05 14:07:34 -0500 )edit