Bug 246826 - ports-mgmt/pkg: counter increasing when retrying on -currrent
Summary: ports-mgmt/pkg: counter increasing when retrying on -currrent
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-pkg (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 08:34 UTC by Nami Arjmandi
Modified: 2020-05-29 13:40 UTC (History)
2 users (show)

See Also:
linimon: maintainer-feedback? (pkg)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
1.14.4