winutil icon indicating copy to clipboard operation
winutil copied to clipboard

The Raspberry Pi Imager is not installing

Open AlexMayne5 opened this issue 2 years ago • 4 comments

Describe the bug A clear and concise description of what the bug is. The Raspberry Pi Imager is not installing with error and got the same results after reinstall of winget To Reproduce Steps to reproduce the behavior:

  1. reinstall winget using button
  2. on verstion 24.02.03 of the script click the check box for Raspberry Pi Imager
  3. click install Selected
  4. see the error

Expected behavior uses WinGet to install Raspberry Pi Imager

Screenshots If applicable, add screenshots to help explain your problem. image

Additional context Add any other context about the problem here. N/A

AlexMayne5 avatar Feb 06 '24 16:02 AlexMayne5

Hi i got the same on win 11 23h2 for whatever package...

ubrider avatar Feb 07 '24 00:02 ubrider

In the winget-pkgs repository the package RaspberryPiFoundation.RaspberryPiImager's manifest doesn't specify the installation scope.

In the script the line that installs the packages is the following:

winget install -e --accept-source-agreements --accept-package-agreements --scope=machine --silent RaspberryPiFoundation.RaspberryPiImager

So maybe the restriction to --scope=machine cause RaspberryPiFoundation.RaspberryPiImager installation to fail.

The same error occurs in the issue #1494 with TorProject.TorBrowser, SomePythonThings.WingetUIStore, Nvidia.GeForceNow which do NOT specify the installer for the machine scope.

Other apps, like Google.Chrome or Mozilla.Firefox, specify the installer for the machine scope.

You can see which packages contains this by using the Github's search functionality: image image

This is the search string I used: repo:microsoft/winget-pkgs path:/^manifests\/.*installer.yaml/ "Scope: machine" Package.Name

Imho this is the reason why the package will fail to install through the script.

possumdoe avatar Feb 07 '24 00:02 possumdoe

nepnep.neofetch-win also has this problem

shrimp332 avatar Feb 15 '24 01:02 shrimp332

Closed due to inactivity

github-actions[bot] avatar Mar 01 '24 00:03 github-actions[bot]