Bug 246826

Summary: ports-mgmt/pkg: counter increasing when retrying on -currrent
Product: Ports & Packages Reporter: Nami Arjmandi <nami>
Component: Individual Port(s)Assignee: freebsd-pkg (Nobody) <pkg>
Status: New ---    
Severity: Affects Some People CC: emaste, pkg
Priority: --- Flags: linimon: maintainer-feedback? (pkg)
Version: Latest   
Hardware: amd64   
OS: Any   

Description Nami Arjmandi 2020-05-29 08:34:07 UTC
The pkg counter increases when it tries to retry fetching the package.

Proceed with this action? [y/N]: y                                                                                                                              
[1/21] Fetching firefox-76.0.1_3,1.txz: 100%   46 MiB  30.8kB/s    26:12                                                                                        
pkg: cached package firefox-76.0.1_3,1: size mismatch, fetching from remote                                                                                     
[2/21] Fetching firefox-76.0.1_3,1.txz:  30%   14 MiB  65.5kB/s    11:23 ETA

This bug happens every time pkg encounters a size mismatch error.

I'm on HEAD revision 361589.

$ pkg -v