Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2018 19:51:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 225361] ports-mgmt/pkg: pkg install xxx removes needed and unrelated packages from system
Message-ID:  <bug-225361-32340-Qnda8bkNnK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225361-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225361-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225361

--- Comment #2 from pru13allan@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 vers=
ion
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=20=20=20=20
Fetching packagesite.txz: 100%    5 MiB   2.4MB/s    00:02=20=20=20=20
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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225361-32340-Qnda8bkNnK>