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