Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] lots of updates detected if no internet connection #2050

Closed
4 tasks done
Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue Mar 27, 2024 · 3 comments · Fixed by #2161
Closed
4 tasks done

[BUG] lots of updates detected if no internet connection #2050

Uj947nXmRqV2nRaWshKtHzTvckUUpD opened this issue Mar 27, 2024 · 3 comments · Fixed by #2161
Assignees
Labels
bug Something isn't working chocolatey ready-to-go
Milestone

Comments

@Uj947nXmRqV2nRaWshKtHzTvckUUpD

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions
  • This issue is about a bug (if it is not, please use the correct template)

Describe your issue

lots of updates detected if no internet connection

Steps to reproduce the issue

disconnect internet
check for updates

WingetUI Log

N/A

Package Managers Logs

N/A

Relevant information

there should be an internet connection precheck prior to checking for updates. or at least not show updates with same new version while offline

Screenshots and videos

No response

@marticliment
Copy link
Owner

Please share your logs, as well as a screenshot of the incorrect packages

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

All packages detected when offline, are from chocolatey only. I redacted the package names for privacy reasons

no new log in wingetui log
no new log in operation history
events are logged in 'package manager logs' only:

Screenshot 2024-03-28 003156



▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀ [28 March 2024 12:23:50] Chocolatey ▀▀▀▀▀▀▀▀▀▀▀
█  Executable: C:\ProgramData\chocolatey\bin\choco.exe
█  Arguments:  outdated
Chocolatey v2.2.2
Outdated Packages
 Output is package name | current version | available version | pinned?
Unable to load the service index for source https://community.chocolatey.org/api/v2/.
The remote name could not be resolved: 'community.chocolatey.org'
For more information on this issue and guidance in resolving the problem, see https://ch0.co/t/svcidx
Unable to connect to source 'https://community.chocolatey.org/api/v2/':
 Object reference not set to an instance of an object.
<PKG1>|2.1.1|2.1.1|false
<PKG2>|2.1.1|2.1.1|false
....
<REDACTED>
Chocolatey has determined 0 package(s) are outdated. 
 28 package(s) had warnings.
Warnings:
 - pkg1
 - pkg2
 - ...
<REDACTED>

@Uj947nXmRqV2nRaWshKtHzTvckUUpD
Copy link
Author

one extra note, upon internet connection restore, checking for updates again will clear up the fake results and work as expected.

@marticliment marticliment linked a pull request May 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chocolatey ready-to-go
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants