When pkg upgrade --fetch-only is used, the prompts provided to the user don't reflect this fact. For example,
# pkg upgrade --fetch-only
[...]
py311-websocket-client: 1.8.0
Number of packages to be removed: 29
Number of packages to be installed: 49
Number of packages to be upgraded: 20
Number of packages to be reinstalled: 31
The operation will free 177 MiB.
Proceed with this action? [y/N]: y
Checking integrity... done (0 conflicting)
#
This is not high-priority, but it would be nice to have something similar to this notice from yum upgrade --downloadonly:
# yum upgrade --downloadonly
[...]
kernel-modules x86_64 4.18.0-553.115.1.el8_10 @baseos 25 M
Transaction Summary
================================================================================
Install 10 Packages
Upgrade 167 Packages
Remove 4 Packages
Total download size: 1.4 G
YUM will only download packages for the transaction. #### Shows up when '--downloadonly' passed
Is this ok [y/N]: y
Downloading Packages:
(1/177): gcc-toolset-15-gcc-c++-15.2.1-7.1.el8_ 6.3 MB/s | 17 MB 00:02
[...]
When
pkg upgrade --fetch-onlyis used, the prompts provided to the user don't reflect this fact. For example,This is not high-priority, but it would be nice to have something similar to this notice from
yum upgrade --downloadonly: