Trying to do a simple composer update of my core Drupal packages to the latest recommended version, and I'm being hit with a 404 and it won't update.
The error Composer spits out when running composer update drupal/core "drupal/core-*" --with-all-dependencies
is:
[Composer\Downloader\TransportException]
The "https://www.drupal.org/9/packages.json" file could not be downloaded (HTTP/2 404 )
I have tried manually visiting both https://www.drupal.org/9/packages.json AND https://packages.drupal.org/9/packages.json from a web-browser and am similarly met with a 404. Is the file legitimately missing right now, or did my Composer somehow bork itself?
The repo/packages section in my composer.json reads
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/9"
},
"0": {
"type": "composer",
"url": "https://packages.drupal.org/8"
}
}
I have not edited this at all since the update process was working properly--so I don't know why it wouldn't be working. This was also generated automatically during a Composer Drupal install and I wasn't the one who wrote it.
Any help would be appreciated--thank you! Let me know if there is more information I can provide.