Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

vcpkg: Vcpkg is not installed #203

Closed
seanyen opened this issue Apr 8, 2020 · 66 comments
Closed

vcpkg: Vcpkg is not installed #203

seanyen opened this issue Apr 8, 2020 · 66 comments
Assignees
Labels
help wanted Extra attention is needed Investigating Actively looking into this.

Comments

@seanyen
Copy link
Contributor

seanyen commented Apr 8, 2020

This is a cross-post for the issues reported here:

We are investigating this issue. For whoever lands here because of hitting this issue, please kindly share your c:\opt\chocolatey\logs\chocolatey.log. That would help us better understand what's happening.

UPDATED: We are working on a release for the fix. Meanwhile, you can use the following workaround while waiting for the new release.

UPDATED: A version of 20200409.2.0 is released and this problem should be addressed.

Workaround:

Following the normal instructions, and when it comes to do Binary Package Installation, please do the steps instead:

mkdir c:\opt\chocolatey
set ChocolateyInstall=c:\opt\chocolatey
choco source add -n=ros-win -s="https://roswin.azurewebsites.net/api/v2" --priority=1
choco upgrade ros-vcpkg -y --execution-timeout=0
choco upgrade ros-melodic-desktop_full -y --execution-timeout=0
@seanyen seanyen added the help wanted Extra attention is needed label Apr 8, 2020
@ooeygui ooeygui added the Investigating Actively looking into this. label Apr 8, 2020
@DanielSepeda
Copy link

@seanyen @ooeygui
Attached is my chocolatey log. I created the post on https://answers.ros.org/question/348689/error-installing-ros-on-windows10/

chocolatey.log

@boomboompsh
Copy link

Attached is my chocolatey log, I had the same problem.
chocolatey.log

@seanyen
Copy link
Contributor Author

seanyen commented Apr 9, 2020

Hi all, a version of 20200409.2.0 is released and this should be addressed. Let me know if you still run into this issue. Thanks!

@dweekly
Copy link

dweekly commented Apr 11, 2020

Hi all, a version of 20200409.2.0 is released and this should be addressed. Let me know if you still run into this issue. Thanks!

Hi - new ROS user installing for the first time ever on Windows 10; I'm running into this issue even after specifically running a "choco upgrade ros-vcpkg" first.

Still seeing "ERROR: the following rosdeps failed to install" vcpkg: Vcpkg is not installed". This is with ros-melodic-desktop_full V20200409.2. This is on Windows 10 1909 (OS Build 18363.752) and Visual Studio Community Edition 2019; fresh install.

@seanyen
Copy link
Contributor Author

seanyen commented Apr 11, 2020

@dweekly Thanks for reporting, can you check if c:\opt\vcpkg\vcpkg.exe is created after the broken install?

@dweekly
Copy link

dweekly commented Apr 12, 2020

Ah, it was not. My issue was caused by #153

@seanyen
Copy link
Contributor Author

seanyen commented Apr 24, 2020

Closing it since the fixed release is out.

@seanyen seanyen closed this as completed Apr 24, 2020
@andyworkingholiday
Copy link

andyworkingholiday commented Apr 25, 2020

Closing it since the fixed release is out.

I'm having exactly the same issue.
Can you know me where is fixed release??
The version 20200409.2 was not helpful to me.

@ooeygui
Copy link
Member

ooeygui commented Apr 25, 2020

Hi @andyworkingholiday ,
Sorry the resolution was not clear. To fix your install, please rerun the upgrade command:
choco upgrade ros-melodic-desktop_full -y --execution-timeout=0

@lwoffice
Copy link

Hi, I also have the same trouble.

I have installed VC2019 community (because I do not want to mess with my 2017 work license) just today and added the desktop C++ package, so that should be there.

I followed this "http://wiki.ros.org/Installation/Windows" until 5.1 and ran into the problem.
I found the "solution" from the first post, which did not change anything, I still got the same error messages.

Then, I upgraded "ros-vcpkg":

C:\Windows\System32>choco upgrade ros-vcpkg -y --execution-timeout=0
Chocolatey v0.10.15
Upgrading the following packages:
ros-vcpkg
By upgrading you accept licenses for the packages.
ros-vcpkg v2018.11.23.1906112226 is the latest version available based on your source(s).
Chocolatey upgraded 0/1 packages.
See the log for details (c:\opt\chocolatey\logs\chocolatey.log).

I guess there is nothing to update. I also have a "C:\opt\vcpkg" folder with lots of stuff, so there is something.

Then I again called "choco upgrade ros-melodic-desktop_full -y --execution-timeout=0"

and now my error messages for the ros installation changed to this:
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ros_core: No definition of [rosbag_migration_rule] for OS [windows]
rospack: No definition of [python-catkin-pkg-modules] for OS [windows]
diagnostic_common_diagnostics: No definition of [hddtemp] for OS [windows]
trajectory_msgs: No definition of [rosbag_migration_rule] for OS [windows]
desktop: No definition of [common_tutorials] for OS [windows]
simulators: No definition of [stage_ros] for OS [windows]
joint_trajectory_controller: No definition of [code_coverage] for OS [windows]
joystick_drivers: No definition of [wiimote] for OS [windows]
Continuing to install resolvable dependencies...
ERROR: the following rosdeps failed to install
vcpkg: Vcpkg is not installed

I don't understand that. I upgraded vcpkg which says I have the latest version and then the next call now says I do not have any version ?

What should I do? Delete some folders and start over?

regards

@ooeygui
Copy link
Member

ooeygui commented Apr 27, 2020

@lwoffice, I have a hypothesis.

To confirm, is there c:\opt\vcpkg\vcpkg.exe?

If not, can you:

cd c:\opt\vcpkg
bootstrap-vcpkg.bat

and post the output?

@ooeygui ooeygui reopened this Apr 27, 2020
@lwoffice
Copy link

Well, I am currently figuring it out and it has to do with messed up Path variables. This is what I have right now:

I partly solved the issue by starting from scratch. I found that my Windows settings missed an entry in the PATH variable for Powershell (%SYSTEMROOT%\System32\WindowsPowerShell\v1.0)

As a result, the installation of the vcpkg outputs a message which can be quickly overlooked and says that the command "Powershell" can not be found. Nevertheless there will be a green message that the installation of vcpkg was successful !

I looked up thread #153 where I found that their is a build script after the download procedure which outputs message "Building vcpkg.exe ...". Without powershell, that build script does not work obviously.

I looked up the windows features, but Powershell was installed. Whatever, I removed and reinstalled it, but it still did not work. I manually added the path from above and I was able now to call Powershell from the x64 Dev Console.

Additionally, I also had to completely delete the c:\opt folder, otherwise the build process was also not started correctly. After that, it worked fine and a "vcpkg.exe" was created in C:\opt\vcpkg.

Nevertheless, the installation of ros-melodic afterwards still fails:

C:\Windows\System32> choco upgrade ros-melodic-desktop_full -y --execution-timeout=0
Chocolatey v0.10.15
[Pending] Removing incomplete install for 'ros-melodic-desktop_full'
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 20200409.2... 100%
Progress: Downloading ros-melodic-desktop_full 20200409.2... 100%

ros-melodic-desktop_full v20200409.2
ros-melodic-desktop_full package files upgrade completed. Performing other installation steps.
Extracting 64-bit C:\ProgramData\chocolatey\lib\ros-melodic-desktop_full\tools\drop.zip to c:\opt\ros...
c:\opt\ros
running rosdep...
Der Befehl "rosdep" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "rosdep" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "rosdep" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
ERROR: rosdepInstall.bat failed.
The upgrade of ros-melodic-desktop_full was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
See log for details.

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

Failures

  • ros-melodic-desktop_full (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
    See log for details.

I looked up "chocolateyInstall.ps1" and "rosdepInstall.bat" and I guess it now has something to do with a messed Python variable too. Trying to figure that out now ...

@ooeygui
Copy link
Member

ooeygui commented Apr 27, 2020

Thank you for investigating.

The vcpkg bootstrap script does not use a full path to powershell:
powershell.exe -NoProfile -ExecutionPolicy Bypass "& {& '%~dp0scripts\bootstrap.ps1' %*}"

(the ROS install is explicit about calling powershell by full path to install chocolatey)

Can you run c:\opt\chocolatey\lib\ros-melodic-desktop_full\tools\rosdepInstall.bat and paste the output?

@lwoffice
Copy link

That was not successful, but I recognized some (probably) strange folder issues.

In the c:\opt\chocolatey\lib" I only have the "ros-vcpkg" folder. There are no further subfolders. Whenever I use the install procedure for ros (choco upgrade ros-melodic-desktop_full ... ), this "ros_melodic..." folder is created in "C:\ProgramData\chocolatey\lib" and after it fails it is automatically moved into the "lib-bad" folder.

So ... I can find that rosdepInstall.bat here "C:\ProgramData\chocolatey\lib-bad\ros-melodic-desktop_full\tools". Running this manually immediately crashes the whole x64 console, so I can not see anything.

I am really wondering, why I have this chocolatey folder in "C:\ProgrammData", although I installed chocolatey according to "http://wiki.ros.org/Installation/Windows" section 4. Looking at that installation string it might have something to do with the "PATH" variable as well?

I made a screenshot with all the folders and you I found a "c:\ProgramData\chocolatey\bin" in the System Path variable. I do not know if that is supposed to be there and why it is there.
Unbenannt

@ooeygui
Copy link
Member

ooeygui commented Apr 28, 2020

Thank you for working with us on this, I really do appreciate it.

The console window crashing is quite ominous. What version of Windows are you using? (I can't tell from the screen shot).

I noticed that you have mingw32 in your path, I'm a bit worried that the inherited environment is causing compatibility problems. ROS is quite sensitive to the host environment, which is why we've tried to isolate it as much as possible. However, environment from the host can 'leak' into the ROS environment in strange ways.

When you create the shortcut to the console window, we recommended adding a chocolatey bypass, so that it too is isolated:

C:\Windows\System32\cmd.exe /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" -arch=amd64 -host_arch=amd64&& set ChocolateyInstall=c:\opt\chocolatey&& c:\opt\ros\melodic\x64\setup.bat

When the console is launched with that command line, chocolatey will reference the packages from the c:\opt\chocolatey directory.

@lwoffice
Copy link

Version is Win 10 Pro 1809 (Build 17763.1098).
shortcut: well ... I was stuck at section 5.1 in the installation manual, and that hint to the cmd is in section 6, I just did not continue reading the manual :D

After all, I figured it out. I completely removed the c:\opt and the c:\ProgramData\chocolately folders to get rid of the crappy installations before. I restarted all steps from section 4, but I used a cmd with the "bypass" option.
Might be a good idea to adapt the manual http://wiki.ros.org/Installation/Windows :

Move section 6 inbetween 3 and 4 and modify it slightly: I removed the last statement (&& c:\opt\ros\melodic\x64\setup.bat), because I did not want the setup.bat to be executed in the steps 4 and 5 already, I just wanted the console with the bypass which worked fine (maybe it would not harm to have setup.bat here already, I do no know). I used that modified cmd for steps in section 4 and 5 and when I reached section 6, I added the "...\setup.bat" part to the link.

Honestly, I do not know why there is a difference between setting "set ChocolateyInstall=..." in the link instead of calling it in the console itself, but on my system that made the difference. Maybe that is a Windows secret :)

You could add the workaround for vcpkg to section 5.1 (and probably 5.2), so people do no longer need to search this thread. At least it does not harm I think, although it might not be necessary in all cases:
choco upgrade ros-vcpkg -y --execution-timeout=0

It might also be good to add the hint with regard to Powershell path issues that I had. Users should check their User Path variables and add "%SYSTEMROOT%\System32\WindowsPowerShell\v1.0" if it does not exist. That solved my build issues with regard to vcpkg.

That's it for me ...

Chocolatey upgraded 10/10 packages.
See the log for details (c:\opt\chocolatey\logs\chocolatey.log).

Done :D

@ooeygui
Copy link
Member

ooeygui commented Apr 29, 2020

After all, I figured it out. I completely removed the c:\opt and the c:\ProgramData\chocolately folders to get rid of the crappy installations before. I restarted all steps from section 4, but I used a cmd with the "bypass" option.

I'm glad you figured it out!

Move section 6 inbetween 3 and 4 and modify it slightly: I removed the last statement (&& c:\opt\ros\melodic\x64\setup.bat), because I did not want the setup.bat to be executed in the steps 4 and 5 already, I just wanted the console with the bypass which worked fine (maybe it would not harm to have setup.bat here already, I do no know). I used that modified cmd for steps in section 4 and 5 and when I reached section 6, I added the "...\setup.bat" part to the link.

We had put it in this order because setup.bat won't exist the first time around which causes an error launching the script.

Honestly, I do not know why there is a difference between setting "set ChocolateyInstall=..." in the link instead of calling it in the console itself, but on my system that made the difference. Maybe that is a Windows secret :)

I'll add some clarity to the doc. We decided to move the chocolatey install into the c:\opt directory so that it was self-contained. you can reinstall ROS by removing c:\opt or move the install to another machine by copying c:\opt. That said, we are looking at alternative environment management solutions for future deployments. (Including CondaForge)

It might also be good to add the hint with regard to Powershell path issues that I had. Users should check their User Path variables and add "%SYSTEMROOT%\System32\WindowsPowerShell\v1.0" if it does not exist. That solved my build issues with regard to vcpkg.

I added a troubleshooting section.

That's it for me ...

I really appreciate you working with us on this!

@David-milne
Copy link

David-milne commented May 8, 2020

Hi, I'm having issues. ros-melodic-desktop_full fails to install and c:\opt\vcpkg\vcpkg.exe doesn't exist.
I tried multiple time to install ROS,
I had ensured no versions of python were on the system,
Powershell is installed and is in the Path variables,
I've used the choco upgrade ros-vcpkg -y --execution-timeout=0 workaround and the

cd c:\opt\vcpkg
bootstrap-vcpkg.bat

which created vcpkg.exe but after choco upgrade ros-melodic-desktop_full -y --execution-timeout=0 it always fails and the vcpkg.exe has been removed from c:\opt\vcpkg
Here is my log from the last attempt:
chocolatey.log

Also, there is no path to the python 2.7, that the install downloads, in the path variable. I don't know if there should be.

@seanyen
Copy link
Contributor Author

seanyen commented May 8, 2020

@David-milne Is it possible to provide a screenshot of what error you saw? And the %PATH% environment variable from the console you run the choco commands?

From the logs it said it failed at [ERROR] - ERROR: rosdepInstall.bat failed. but unfortunately I didn't see more details other than that, so I am requesting more information.

@David-milne
Copy link

@seanyen After I posted last I rebuilt vcpkg.exe and used c:\opt\chocolatey\lib-bad\ros-melodic-desktop_full\tools\rosdepInstall.bat which completed without errors. But then I ran choco upgrade ros-melodic-desktop_full -y --execution-timeout=0 and got the same error as before.

Here is my path environment variables:
PATHenvironvars

I built the vcpkg.exe again and ran choco upgrade ros-melodic-desktop_full -y --execution-timeout=0

Here is the failed install output:
ROSinstallfail

@KamaljeetSahoo
Copy link

@seanyen After I posted last I rebuilt vcpkg.exe and used c:\opt\chocolatey\lib-bad\ros-melodic-desktop_full\tools\rosdepInstall.bat which completed without errors. But then I ran choco upgrade ros-melodic-desktop_full -y --execution-timeout=0 and got the same error as before.

Here is my path environment variables:
PATHenvironvars

I built the vcpkg.exe again and ran choco upgrade ros-melodic-desktop_full -y --execution-timeout=0

Here is the failed install output:
ROSinstallfail

Yes that's it
I am getting the exact same error.
Please someone help us.

@lwoffice
Copy link

lwoffice commented May 11, 2020

Hi,

I noticed that for your console outputs it still says that vcpkg.exe is not installed. I guess you have called installation part, but it still did not successfully build that executable. Please have a look into C:\opt\vcpkg and if there is really an executable.

The only other things I have in mind are starting the Dev Console as an Administrator and using a link to the console with the path and options that were described above. Also, I had to remove everything in C:\opt and start over completely again with it.

regards

@David-milne
Copy link

Thanks for the suggestion, but I have started with a clean C:\opt, built vcpkg.exe successfully before starting choco upgrade ros-melodic-desktop_full -y --execution-timeout=0, the cmd prompt is set to run as Administrator, and I have watched vcpkg.exe in file manager get removed during the install and then fail because vcpkg.exe does not exist.
Also this is a new computer. ROS 2 installed fine, but ROS 1 won't and I need ROS 1 to control Baxter robot.
p.s. I had already removed ROS 2 before my latest fresh install.

@jiaodaxiaoli
Copy link

图片1
图片3

Chocolatey upgraded 10/12 packages. 2 packages failed.
See the log for details (c:\opt\chocolatey\logs\chocolatey.log).

Upgraded:

  • kb2919355 v1.0.20160915
  • kb3033929 v1.0.5
  • chocolatey-core.extension v1.3.5.1
  • kb2999226 v1.0.20181019
  • ros-python37 v3.7.2.1903082244
  • vcredist2010 v10.0.40219.2
  • kb2919442 v1.0.20160915
  • vcredist140 v14.25.28508.3
  • kb3035131 v1.0.3
  • chocolatey-windowsupdate.extension v1.0.4

Failures

  • ros-colcon-tools (exited -1) - Error while running 'c:\opt\chocolatey\lib\ros-colcon-tools\tools\chocolateyinstall.ps1'.
    See log for details.
  • ros-eloquent-desktop (exited -1) - Error while running 'c:\opt\chocolatey\lib\ros-eloquent-desktop\tools\chocolateyInstall.ps1'.
    See log for details.

Attached is my chocolatey log and env.log.Thank you fou helping me with the problem.
env.log

chocolatey.log

@jiaodaxiaoli
Copy link

sorry,I don't quite understand your requirements.What network configuration is required? @seanyen

@jiaodaxiaoli
Copy link

ERROR: The remote name could not be resolved: 'raw.githubusercontent.com'
The upgrade of ros-colcon-tools was NOT successful.
Error while running 'c:\opt\chocolatey\lib\ros-colcon-tools\tools\chocolateyinstall.ps1'.
See log for details. @seanyen

@gavanderhoorn
Copy link
Contributor

gavanderhoorn commented May 15, 2020

@jiaodaxiaoli: are you behind a (corporate) firewall or proxy?

What is the output of ping raw.githubusercontent.com?

If you are behind a firewall, additional configuration may be needed to allow vcpkg and/or Chocolately access to the internet. I would not know what configuration that would be though.

@jiaodaxiaoli
Copy link

图片4
图片5I shut down the firewall.

@jiaodaxiaoli
Copy link

image
Ping request could not find host raw.githubusercontent.com. @gavanderhoorn

@jiaodaxiaoli
Copy link

Sorry,I don't understand
I've downloaded it, but running this statement (ros2 run demo_nodes_cpp talker) shows the above error.
c:\opt\ros\melodic\x64\setup.bat does not exist.
C:\opt\ros\eloquent\x64\setup.bat exists.
image

image
image
image
Uploading @seanyen chocolatey.log…

@ooeygui
Copy link
Member

ooeygui commented May 18, 2020

@jiaodaxiaoli You are experiencing multiple separate issues:

  • It looks like you have installed the eloquent chocolatey packages but not the melodic ones. Which instructions did you follow to install?

  • raw.githubusercontent.com is the static resource server used by github.com. If you cannot access github, then something is very wrong on your system. As @gavanderhoorn suggested, this could be a proxy issue. Please check out https://chocolatey.org/docs/proxy-settings-for-chocolatey to see if that resolves your problem. If this doesn't help, you may want to consult your IT department.

  • You need to be online to set up ROS the first time. If you need to work offline, connect your system to set up, then disconnect in order to run offline.

@jiaodaxiaoli
Copy link

@ooeygui hi, I installed it according to the instructions on this website--http://roswiki.autolabor.com.cn/Installation(2f)Windows.html
but I didn't install step 5.1 .

image

@jiaodaxiaoli
Copy link

I don't know how to set up ros, because I am a beginner. I hope you can explain it carefully.

@ooeygui
Copy link
Member

ooeygui commented May 18, 2020

@jiaodaxiaoli Thank you for the pointer. That appears to be a copy of the official documentation, and is missing steps. The official documentation is located: https://wiki.ros.org/Installation/Windows.

Please follow the steps from top to bottom. The distribution of ROS2 in that document is designed to work within ROS1.

If you are interested in ROS2 only, the official documentation is here: https://index.ros.org/doc/ros2/.

At this point, I recommend removing c:\opt and starting over.

@jiaodaxiaoli
Copy link

@ooeygui Thank you very much for your help, I have installed ROS.I have installed ROS, but now I have a new problem. My RVIZ starts normally, but gazebo doesn't. It shows that 'gazebo' is not an internal or external command, nor is it a runnable program or batch file.Here are my system variables.
image
image
image

@ooeygui
Copy link
Member

ooeygui commented Jun 2, 2020

@jiaodaxiaoli It is best to file a new issue as this is not vcpkg related. Gazebo is provided in the gazebo_ros package, and is from roslaunch.

@940222JESUS
Copy link

Hi
I have a similar problem, i follow the instructions of the wiki http://wiki.ros.org/Installation/Windows but when i put de command "choco upgrade ros-melodic-desktop_full -y --execution-timeout=0" the installation is interrupt with the next error:

error instalacion de ros

You are using pip version 18.1, however version 20.2b1 is available. You should consider upgrading via the 'python -m pip install --upgrade pip' command. ERROR: the following rosdeps failed to install vcpkg: command [vcpkg install sdl2 --triplet x64-windows] failed vcpkg: Failed to detect successful installation of [sdl2] ERROR: rosdepInstall.bat failed. ros-melodic-desktop_full can be automatically uninstalled. Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type refreshenv`).
The upgrade of ros-melodic-desktop_full was NOT successful.
Error while running 'c:\opt\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
See log for details.

Chocolatey upgraded 11/12 packages. 1 packages failed.
See the log for details (c:\opt\chocolatey\logs\chocolatey.log).

Upgraded:

  • kb2919355 v1.0.20160915
  • kb3033929 v1.0.5
  • kb2999226 v1.0.20181019
  • ros-catkin-tools v0.0.1.1903221831
  • ros-python2 v2.7.15.1904300710
  • vcredist2010 v10.0.40219.2
  • kb2919442 v1.0.20160915
  • ros-vcpkg v2018.11.23.1906112226
  • vcredist140 v14.26.28720.3
  • kb3035131 v1.0.3
  • chocolatey-windowsupdate.extension v1.0.4

Failures

  • ros-melodic-desktop_full (exited -1) - Error while running 'c:\opt\chocolatey\lib\ros-melodic-desktop_full\tools\chocolateyInstall.ps1'.
    See log for details.`

I have try to install in two computers but the error is the same, i have trying with the solve 20200409.2.0 but it not change nothing, the file vcpkg.exe is created in the folder "C:\opt\vcpkg" , I have "%SYSTEMROOT%\System32\WindowsPowerShell\v1.0" in path variables, i follow the recomendation of lwoffice commented on 29 Apr, but the result is the same. What i can do it?

@ooeygui
Copy link
Member

ooeygui commented Jun 2, 2020

vcpkg is the canary in the coalmine. It is the first time that ROS attempts to build in a prompt. If it fails, it means that the environment has not been set up correctly.

Can you do the following:
Open the ROS command prompt.

vcpkg install sdl2 --triplet x64-windows

Paste the output?

@940222JESUS
Copy link

image

The result is " "vcpkg" is not recognized as an internal or external command, program, or executable batch file."

@ooeygui
Copy link
Member

ooeygui commented Jun 2, 2020

@940222JESUS in your shortcut, did you include the setup.bat for the Window? If not, can you run c;\opt\ros\melodic\x64\setup.bat and retry?

@940222JESUS
Copy link

This is the output

image

@ooeygui
Copy link
Member

ooeygui commented Jun 2, 2020

Thank you for digging in with us. The English language pack is requirement within vcpkg itself: microsoft/vcpkg#3842.

microsoft/vcpkg#10401.

I'll update the document on the ros install page.

@940222JESUS
Copy link

image

I installed the English language pack and this is the result, Right now I executed roscore and i think that it's working fine, there are another step that i need to follow or it's over?

If not thank you so much for help me.

@ooeygui
Copy link
Member

ooeygui commented Jun 2, 2020

@940222JESUS I'm glad we could get you past that. The vxpkg install happens early in the ROS install process, so ROS isn't complete installed.

to complete the install upgrade

choco upgrade ros-melodic-desktop_full -y --execution-timeout=0

This will resume where it left off. Afterward, reopen the ROS prompt. (Make sure that setup.bat is called), then you can check out ROS repos.

Thanks again!
Lou

@Wal1082
Copy link

Wal1082 commented Jun 9, 2020

Screenshot (9)
Screenshot (10)
Screenshot (11)

Hi! Please help me get through with this issue. I am installing ROS melodic in windows 10.
Thank you.

@seanyen
Copy link
Contributor Author

seanyen commented Jun 9, 2020

@Wal1082 It seems that it cannot reach out to the powershell URL. Are you behind a proxy? Are you able to change the network or disable proxy to retry again?

@Wal1082
Copy link

Wal1082 commented Jun 10, 2020

I am not using behind a proxy. I tried on other network and still no luck.

@ooeygui
Copy link
Member

ooeygui commented Jun 10, 2020

That's kind of odd - why is Powershell x86 being installed? Are you using a 32bit command prompt? or running on a 32bit OS?

@seanyen
Copy link
Contributor Author

seanyen commented Jun 10, 2020

@Wal1082 By checking Vcpkg issues, your symptom is very alike to many issues reported in Vcpkg side:
microsoft/vcpkg#4729
microsoft/vcpkg#9064

I would recommend to also cross-post your issue in Vcpkg repo and I believe the Vcpkg team has better insight on the network issues.

@Wal1082
Copy link

Wal1082 commented Jun 11, 2020 via email

@ooeygui
Copy link
Member

ooeygui commented Jun 28, 2020

I'm closing this bug as it is generally not the root cause of new issues. vcpkg is the first time in the environment where code is built - anything wrong upstream manifests here.

@ooeygui ooeygui closed this as completed Jun 28, 2020
@Aman-Makkar
Copy link

Hello, I am still having issues with the vcpkg, can somebody please advise. Please refer to the error message I am receiving

Chocolatey v0.10.15
Upgrading the following packages:
ros-vcpkg
By upgrading you accept licenses for the packages.
ros-vcpkg is not installed. Installing...
Error retrieving packages from source 'https://roswin.azurewebsites.net/api/v2':
The remote name could not be resolved: 'roswin.azurewebsites.net'
ros-vcpkg not installed. The package was not found with the source(s) listed.
Source(s): 'https://roswin.azurewebsites.net/api/v2;https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify --pre,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.

Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (c:\opt\chocolatey\logs\chocolatey.log).

Failures

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed Investigating Actively looking into this.
Projects
None yet
Development

No branches or pull requests