ScoopInstaller / Extras

📦 The Extras bucket for Scoop.
https://scoop.sh
The Unlicense
1.8k stars 1.38k forks source link

[Bug]: SteamCMD download URL is now missing #12176

Closed dzkm closed 11 months ago

dzkm commented 1 year ago

Prerequisites

Package Name

steamcmd

Expected/Current Behaviour

Expected: It was supposed to download the newest version and update.

Current Behaviour: While trying to update, it cannot resolve "media2.steampowered.com". I'm assuming the package got redirected to another end-point.

Steps to Reproduce

PS C:\Users\Kaiden> scoop update steamcmd
steamcmd: 1696019544 -> 1698262904
Updating one outdated app:
Updating 'steamcmd' (1696019544 -> 1698262904)
Downloading new version
The remote name could not be resolved: 'media2.steampowered.com'
At C:\Users\Kaiden\scoop\apps\scoop\current\lib\install.ps1:111 char:9
+         throw $e
+         ~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [], WebException
    + FullyQualifiedErrorId : The remote name could not be resolved: 'media2.steampowered.com'

Possible Solution

Apparently it needs to change the download URL to https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip

Scoop and Buckets Version

scoop --version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
cd689f16b (HEAD -> master, origin/master, origin/HEAD) metasploit-framework: Update to version 6.3.42-20231105113426

'games' bucket:
ced828efb (HEAD -> master, origin/master, origin/HEAD) yuzu: Update to version 0-1611

'main' bucket:
23b404fbd (HEAD -> master, origin/master, origin/HEAD) texlab: Update to version 5.11.0

'nerd-fonts' bucket:
d9fd1a7 (HEAD -> master, origin/master, origin/HEAD) SarasaGothic: Update to version 0.42.5

'versions' bucket:
6175f1fc8 (HEAD -> master, origin/master, origin/HEAD) tachidesk-server-preview: Update to version 0.7.0-r1418

Scoop Config

scoop config

last_update                       aria2-enabled scoop_branch scoop_repo
-----------                       ------------- ------------ ----------
2023-11-05T15:03:34.7112092-03:00          True master       https://github.com/ScoopInstaller/Scoop

PowerShell Version

Name                           Value
----                           -----
PSVersion                      5.1.19041.3570
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.3570
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Additional Softwares

No response

dzkm commented 1 year ago

After reading the logs, I found that the new update URL is on "http://cdn.steamstatic.com". The endpoints are the same and after changing the manifest urls, it worked just fine.