WindowsCapability: Specified Windows Capability not found
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- powershell
調査の方向性
報告されている Windows 11 と PowerShell のバージョンで、提供された WindowsCapability YAML を使って winget configure test configuration.yaml をまず再現します。WindowsCapability リソースの動作、wiki の例、winget が使用している ComputerManagementDsc のバージョンを調査し、その後、capability 名が拒否される理由とログが作成されない理由を確認します。対応している構成がドキュメント化された例で動作するか、または非互換性と必要な修正がドキュメント化されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem description
When trying to run winget configure test configuration.yaml (contents of the yaml file below) using the WindowsCapability resource, I get an error:
The configuration unit failed while attempting to test the current system state.
Specified Windows Capability 'OpenSSH.Server~~~~0.0.1.0' not found. (Parameter 'Name')
<See the log file for additional details>
Some of the configuration units failed while testing their state.
I've tried it with both OpenSSH.Server and OpenSSH.Client as specified in the wiki example but I had no luck, the log file is not created either
Verbose logs
No logs were created
DSC configuration
# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
properties:
configurationVersion: "0.2.0"
resources:
- resource: ComputerManagementDsc/WindowsCapability
settings:
Name: OpenSSH.Server~~~~0.0.1.0
LogPath: C:\Temp\Logfile.log
Suggested solution
Not sure what is the fix
Operating system the target node is running
OsName : Microsoft Windows 11 Home
OsOperatingSystemSKU : WindowsHome
OsArchitecture : 64-bit
WindowsVersion : 2009
WindowsBuildLabEx : 26100.1.amd64fre.ge_release.240331-1435
OsLanguage : en-US
OsMuiLanguages : {en-US, en-GB, ja-JP, ko-KR…}
PowerShell version and build the target node is running
Name Value
---- -----
PSVersion 7.5.2
PSEdition Core
GitCommitId 7.5.2
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
ComputerManagementDsc version
Unsure, ran using winget
- 主要言語
- PowerShell
- スター
- 339
- フォーク
- 80
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
dsccommunity/ComputerManagementDsc のほかの issue
-
chore
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
chore
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
-
chore: Add Agentic AI development assets for GitHub Copilot対応中かも @PlagueHO が 115 日前に担当しました。 オープンchore
難易度 4/5 3〜5日 初心者へのやさしさ 64/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
-
Computer: AD object deletion before domain join issue対応中かも @Daymarvi が 118 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
dsccommunity/ComputerManagementDsc の issue をすべて見る
似ている issue
-
`IO.FS.realPath` reports every failure as `noFileOrDirectory` instead of classifying by `errno`オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
leanprover/lean4#15683 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
bytecodealliance/rustix#1703 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Facepunch/sbox-public#12097 ·
メンテナーはふだん 2 日以内に返信
-
audit sixth pass 8: NtProtectVirtualMemory sizes the range from the unrounded offset (same defect fixed for locks in 60d47b2)再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープンbug kernel P2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 半日 初心者へのやさしさ 62/100