hack のためのネタ帳, etc,,,

未解決案件

状況

以下の記事
によると PowerToys の新バージョンが出たらしいので、winget で upgrade してみたのだが、
> winget upgrade PowerToys
適用可能な更新は見つかりませんでした。
> winget list PowerToys
名前                ID                  バージョン 利用可能 ソース
------------------------------------------------------------------
PowerToys (Preview) Microsoft.PowerToys 0.49.1     0.51.0   winget
みたいな感じで、インストール済みのバージョンが 0.49.1、利用可能バージョンは 0.51.0 なのに、なぜか upgrade できない。

効果の有りそうな --all とか -v,--version とかのオプションを試してみるが
> winget upgrade PowerToys --all
適用可能な更新は見つかりませんでした。
> winget upgrade PowerToys -v 0.51.0
該当するインストーラーが見つかりません。詳細については、ログを参照してください。
> winget upgrade PowerToys -v 0.51.0 -o "C:\Users\kou\winget.log"
該当するインストーラーが見つかりません。詳細については、ログを参照してください。
> ls "C:\Users\kou\winget.log"
ls : パス 'C:\Users\kou\winget.log' が存在しないため検出できません。
発生場所 行:1 文字:1
+ ls "C:\Users\kou\winget.log"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\kou\winget.log:String) [Get-ChildItem], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
どうしろと?

> winget show PowerToys
複数のパッケージが入力条件に一致しました。入力内容を修正してください。
名前                ID                  ソース
-----------------------------------------------
Microsoft PowerToys XP89DCGQ3K6VLD      msstore
PowerToys (Preview) Microsoft.PowerToys winget
> winget show Microsoft.PowerToys
見つかりました PowerToys (Preview) [Microsoft.PowerToys]
バージョン: 0.51.0
公開元: Microsoft Corporation
モニカー: powertoys
説明: Microsoft PowerToys is a set of utilities for power users to tune and streamline their Windows experience for greater productivity. Inspired by the Windows 95 era PowerToys project, this reboot provides power users with ways to squeeze more efficiency out of the Windows 10 shell and customize it for individual workflows.
ホーム ページ: https://github.com/microsoft/PowerToys
ライセンス: MIT
ライセンス URL: https://github.com/microsoft/PowerToys/blob/master/LICENSE
インストーラー:
  種類: Exe
  ロケール: en-US
  ダウンロード URL: https://github.com/microsoft/PowerToys/releases/download/v0.51.0/PowerToysSetup-0.51.0-x64.exe
  SHA256: d815fa165a39ade56848e2adc5a21ad8b2f639d6fd075b60120e10bcc9df1bac
> curl.exe https://github.com/microsoft/PowerToys/releases/download/v0.51.0/PowerToysSetup-0.51.0-x64.exe --proxy http://proxy.example.com:8080/ -I -L
HTTP/1.1 200 Connection established

HTTP/1.1 302 Found
Server: GitHub.com
Date: Thu, 02 Dec 2021 09:34:15 GMT
Content-Type: text/html; charset=utf-8
Vary: X-PJAX, X-PJAX-Container, Accept-Encoding, Accept, X-Requested-With
permissions-policy: interest-cohort=()
Location: https://github-releases.githubusercontent.com/184456251/e3532e15-cea4-4fcc-bded-e1a8f77a7683?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20211202%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20211202T093415Z&X-Amz-Expires=300&X-Amz-Signature=985e9cd384a0ed046cc9fa69c012bdcc64469a6dc0cc13c1cea8f2afa420e5a4&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=184456251&response-content-disposition=attachment%3B%20filename%3DPowerToysSetup-0.51.0-x64.exe&response-content-type=application%2Foctet-stream
Cache-Control: no-cache
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
X-Frame-Options: deny
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Referrer-Policy: no-referrer-when-downgrade
Expect-CT: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
Content-Security-Policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; child-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com objects-origin.githubusercontent.com www.githubstatus.com collector.githubapp.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com cdn.optimizely.com logx.optimizely.com/v1/events translator.github.com wss://alive.github.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com online.visualstudio.com/api/v1/locations raw.githubusercontent.com github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src render.githubusercontent.com viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com secured-user-images.githubusercontent.com/ *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; worker-src github.com/assets-cdn/worker/ gist.github.com/assets-cdn/worker/
Content-Length: 637
X-GitHub-Request-Id: 7AA3:4142:2D722F:4099AF:61A89317

HTTP/1.1 200 Connection established

HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 48891272
x-amz-id-2: eFXBRD48C8GjeBKMK50gGPfHugQmEYgToTnR3HlpkmJMAqjYzNgtombGKDjo2oEhhk1NX/KmcHY=
x-amz-request-id: 31ZDCPQTQ8W59QR0
Last-Modified: Mon, 29 Nov 2021 20:03:19 GMT
ETag: "b0f1d4447fbf6e2e3904b95f890f621b"
Content-Disposition: attachment; filename=PowerToysSetup-0.51.0-x64.exe
Content-Type: application/octet-stream
Server: AmazonS3
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Thu, 02 Dec 2021 09:34:16 GMT
X-Served-By: cache-dca12921-DCA, cache-hnd18732-HND
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
Strict-Transport-Security: max-age=31536000
X-Fastly-Request-ID: 490ec142a1b14af30f69af26b006facdd9e87772
原因が分からん。

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

Wiki内検索

フリーエリア

管理人/副管理人のみ編集できます