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

outdated - every now and then lists packages with identical versions #843

Open
KurtPfeifle opened this issue Jun 30, 2016 · 14 comments
Open

Comments

@KurtPfeifle
Copy link

Every now and then choco outdated lists packages with identical versions.

Here is an example, happening just now, where ack and Atom are listed as outdated, with the same versions for current as well as available:

> choco outdated                                                           
Outdated Packages                                                          
 Output is package name | current version | available version | pinned?    

ack|2.14|2.14|false                                                        
Atom|1.0.7|1.0.7|false                                                     
Far|3.0.4242|3.0.4700|false                                                

Chocolatey has determined 1 package(s) are outdated.
 2 package(s) had warnings..
Warnings:
 - ack
 - atom

Admittedly, there is also a warning about the same two packages. However, it is confusing: there is no explanation about what caused the so-called "warnings".

choco outdated should only list really outdated packages...

...or it should add more details about why it thinks it should print a warning message.

@ferventcoder
Copy link
Member

I wonder if it is #580.

@ferventcoder
Copy link
Member

No, not the same thing. I'm guessing that will show up in the logs. Same address. I think this may be a bug?

@ferventcoder
Copy link
Member

Typically due to not being able to find a package.

@bc3tech
Copy link
Contributor

bc3tech commented Sep 19, 2016

+1 this for me:

PS C:\WINDOWS\system32> choco outdated
Chocolatey v0.10.0 Business
Outdated Packages
 Output is package name | current version | available version | pinned?

checksum|0.0.3|0.1.0|false
franz|4.0.4-beta|4.0.4-beta|false
GoogleChrome|51.0.2704.106|53.0.2785.116|false
SourceTree|1.9.1.1|1.9.6.1|true
teamviewer|11.0.62308|11.0.65452|false
VisualStudioCode|1.5.1|1.5.2|false
yammer-notifier|1.2.0.851|1.2.0.851|false

Chocolatey has determined 4 package(s) are outdated.
 3 package(s) had warnings..
Warnings:
 - sourcetree
 - franz
 - yammer-notifier

notice franz and yammer-notifier

@ferventcoder
Copy link
Member

Any of these in the list pinned? I think attempting to find out what is causing the warning would be best.

@ferventcoder
Copy link
Member

These packages all share that they are on the community repository as well.

@ferventcoder ferventcoder added this to the 0.10.2 milestone Sep 19, 2016
@bc3tech
Copy link
Contributor

bc3tech commented Sep 19, 2016

@ferventcoder
according to the output (|false) no, the problematic ones aren't pinned.
clist is still broken for online searching, it appears, but i tried to get the relevant information for ya:

PS C:\Users> clist "yammer-notifier" -all
Chocolatey v0.10.0 Business
0 packages found.
PS C:\Users> clist yammer-notifier -all
Chocolatey v0.10.0 Business
0 packages found.
PS C:\Users> clist yammer -lo
Chocolatey v0.10.0 Business
yammer-notifier 1.2.0.851
1 packages installed.
PS C:\Users> clist yammer -all
Chocolatey v0.10.0 Business
0 packages found.

I think the issue may lie w/ exempted packages after analyzing this a bit further. yammer-notifier has an exempted pkg on chocolatey.org, and franz is one.

And to answer your q in more detail:

PS C:\Users> choco pin list
Chocolatey v0.10.0 Business
notepadplusplus|6.9.2
paint.net|4.0.6
RoboForm|7.9.10.0
SourceTree|1.9.1.1

@ferventcoder
Copy link
Member

I'm guessing something in the chocolatey.org codebase doesn't necessarily update the index when an exempted package is updated? So then it waits for the cache timeout to occur.

@bc3tech
Copy link
Contributor

bc3tech commented Sep 19, 2016

"0 packages" != "cache timeout" ;) but that's a separate issue

@ferventcoder
Copy link
Member

Each package gets updated in the index individually and works to update caches for that package specifically.

@ferventcoder ferventcoder modified the milestones: 0.10.2, 0.10.3 Sep 20, 2016
@ferventcoder ferventcoder modified the milestones: 0.10.3, 0.10.4 Oct 3, 2016
@ferventcoder ferventcoder modified the milestones: 0.10.4, 0.10.5 Jan 6, 2017
@ferventcoder ferventcoder modified the milestones: 0.10.5, 0.10.6 Mar 30, 2017
@ferventcoder ferventcoder modified the milestones: 0.10.7, 0.10.8 Jun 6, 2017
@ferventcoder ferventcoder modified the milestones: 0.10.8, 0.10.9, 0.10.10 Aug 27, 2017
@ferventcoder ferventcoder modified the milestones: 0.10.10, 0.10.12 Mar 27, 2018
@ferventcoder ferventcoder modified the milestones: 0.10.12, 0.10.13 May 3, 2018
@ferventcoder ferventcoder changed the title choco outdated every now and then lists packages with identical versions outdated - every now and then lists packages with identical versions Sep 26, 2018
@ferventcoder
Copy link
Member

We've added the switch for --ignore-unfound - next time you see this, run with that and see if those disappear.

@ferventcoder ferventcoder modified the milestones: 0.10.13, 0.10.14 Mar 15, 2019
@ferventcoder ferventcoder removed this from the 0.10.14 milestone Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants