Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: s install files broken in PowerShell Core #108

Open
3 tasks done
silopolis opened this issue Oct 30, 2024 · 0 comments
Open
3 tasks done

[Bug]: s install files broken in PowerShell Core #108

silopolis opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@silopolis
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues/PRs to ensure it has not already been reported or fixed.
  • I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name

files

Expected/Current Behaviour

Files.Community should be installable from PowerShell Core as well as from Windows PowerShell.
When install is run from PS Core, the package is marked installed, but the process actually fails (see below).

Currently, scoop must be run in Windows PowerShell for the installation to actually succeed.

Steps to Reproduce

sudo scoop install files -g
Installing 'files' (3.7.6) [64bit] from '.SM' bucket
Loading Files.Package_3.7.6.0_x64_arm64_Stable.msixbundle from cache
Checking hash of Files.Package_3.7.6.0_x64_arm64_Stable.msixbundle ... ok.
Running pre_install script...done.
Running installer script...Add-AppxPackage: The 'Add-AppxPackage' command was found in the module 'Appx', but the module could not be loaded due to the following error: [Operation is not supported on this platform. (0x80131539)]
For more information, run 'Import-Module Appx'.
done.
Linking C:\ProgramData\scoop\apps\files\current => C:\ProgramData\scoop\apps\files\3.7.6
'files' (3.7.6) was installed successfully!

Possible Solution

Find a fix for the Appx issue, or another way to install the software.

Scoop and Buckets Version

scoop --version
Current Scoop version:
859d1db5 (HEAD -> master, tag: v0.5.2, origin/master, origin/HEAD) chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
1072f0e2f (HEAD -> master, origin/master, origin/HEAD) xmake: Update to version 2.9.6

'extras' bucket:
06d2ae2fb (HEAD -> master, origin/master, origin/HEAD) okular: Update to version 24.08-5434

'versions' bucket:
912abf9d5 (HEAD -> master, origin/master, origin/HEAD) zig-dev: Update to version 0.14.0-dev.2074

'nirsoft' bucket:
5e6ec68 (HEAD -> master, origin/master, origin/HEAD) Update url list [ci skip]

'sysinternals' bucket:
6b2b695 (HEAD -> main, origin/main, origin/HEAD) sysmon: Update to version 15.15

'nerd-fonts' bucket:
bda452fd (HEAD -> master, origin/master, origin/HEAD) LXGWNeoZhiSong: Update to version 1.021

'nonportable' bucket:
1d59033d (HEAD -> master, origin/master, origin/HEAD) burp-suite-pro-np: Update to version 2024.9.4

'java' bucket:
ef9e6cb6 (HEAD -> master, origin/master, origin/HEAD) openjdk-ea: Update to version 24-21-ea

'.SM' bucket:
65ab920181 (HEAD -> master, origin/master, origin/HEAD) Update timestamp 2024-09-18T23:52:50Z

Scoop Config

> scoop config

root_path             : D:\tarax\.scoop
last_update           : 30/10/2024 14:30:02
aria2-warning-enabled : False
scoop_repo            : https://github.com/ScoopInstaller/Scoop
scoop_branch          : master
aria2-enabled         : False

PowerShell Version

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.4.4
PSEdition                      Core
GitCommitId                    7.4.4
OS                             Microsoft Windows 10.0.19045
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Additional Softwares

No response

@silopolis silopolis added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant