-
Notifications
You must be signed in to change notification settings - Fork 302
Do Not Mislead About Removing /usr/local/etc/pkg.conf During Upgrade #2628
Copy link
Copy link
Open
Description
Often during upgrade of pkg(8) packages this happens:
# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
New version of pkg detected; it needs to be installed first.
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):
Installed packages to be UPGRADED:
pkg: 2.6.2 -> 2.6.2_1 [FreeBSD]
Number of packages to be upgraded: 1
Proceed with this action? [y/N]: y
[1/1] Upgrading pkg from 2.6.2 to 2.6.2_1...
[1/1] Extracting pkg-2.6.2_1: 100%
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
(...)
The line:
You may need to manually remove /usr/local/etc/pkg.conf if it is no longer needed.
Should NOT be printed if pkg(8) package is upgraded.
Inexperienced user will read that literally and will remove the /usr/local/etc/pkg.conf file.
Regards,
vermaden
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels