Closed 1EDExg0ffyXfTEqdIUAYNZGnCeajIxMWd2vaQeP closed 1 month ago
This works fine here. I'm assuming it's related to a caching issue or something local.
How would I debug it? I can rule out wonky internet, because it works fine in browser and powershell.
PS C:\Users\PC> curl https://community.chocolatey.org/api/v2/; choco upgrade dotnet4.5.2
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<service xml:base="http://community.chocolatey.org/api/v2/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:app="http://www.w3.org/2007/app" xmlns="http://www.w3.org/2007/app">
<workspace>
<atom:title>Default</atom:title>
<collection href="Packages">
<atom:title>Packages</atom:title>
</collection>
</workspace>
</service>Chocolatey v2.2.2
3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).
Validation Warnings:
- A pending system reboot request has been detected, however, this is
being ignored due to the current Chocolatey configuration. If you
want to halt when this occurs, then either set the global feature
using:
choco feature enable --name="exitOnRebootDetected"
or pass the option --exit-when-reboot-detected.
Upgrading the following packages:
dotnet4.5.2
By upgrading, you accept licenses for the packages.
dotnet4.5.2 was not found with the source(s) listed.
If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
Version: ""; Source(s): "https://community.chocolatey.org/api/v2/"
Chocolatey upgraded 0/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Warnings:
- dotnet4.5.2 - dotnet4.5.2 was not found with the source(s) listed.
because it works fine in browser and powershell.
Browsing the endpoint is not the same as finding the particular package.
What are the results of:
choco search dotnet4.5.2
choco search dotnet4.5.2 --source https://community.chocolatey.org/api/v2/
choco install dotnet4.5.2
choco install dotnet4.5.2 --source https://community.chocolatey.org/api/v2/
The issue seems to have fixed itself.
PS C:\Users\PC> choco upgrade dotnet4.5.2
Chocolatey v2.2.2
Upgrading the following packages:
dotnet4.5.2
By upgrading, you accept licenses for the packages.
DotNet4.5.2 v4.5.2.20140902 is the latest version available based on your source(s).
Chocolatey upgraded 0/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Sorry for bothering.
It was likely due to caching.
Checklist
What You Are Seeing?
dotnet4.5.2 was not found with the source(s) listed. If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not. Version: ""; Source(s): "https://community.chocolatey.org/api/v2/"
What is Expected?
when it detects a newer version it should install it.
How Did You Get This To Happen?
sudo choco upgrade dotnet4.5.2 -dv
System Details
Installed Packages
Output Log
Additional Context
No response