[Bug 225361] ports-mgmt/pkg: pkg install xxx removes needed and unrelated packages from system
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Feb 11 19:51:17 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225361
--- Comment #2 from pru13allan at telia.com ---
One possible cause may be that 'pkg' is sensitive to kernel versions (uname
-K).
I have seen the behaviour on more than one 12-CURRENT, where server is version
1200054 and an updated pkg is compiled on 1200056, that packages with same
package version as in repository get on the list of 'to be REMOVED'.
After reinstalling these packages (with same version numbers) all is OK.
When trying to force an update of package database this is what shows up:
# pkg update -f
Updating FreeBSD repository catalogue...
Fetching meta.txz: 100% 944 B 0.9kB/s 00:01
Fetching packagesite.txz: 100% 5 MiB 2.4MB/s 00:02
Processing entries: 0%
pkg: Newer FreeBSD version for package desktop-file-utils:
- package: 1200056
- running kernel: 1200054
pkg: repository FreeBSD contains packages for wrong OS version:
FreeBSD:12:aarch64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!
My conclusion: Keep up with new kernel versions.
(And 'pkg upgrade -f' after OS upgrade)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list