maintainer-feedback requested: [Bug 228389] ports-mgmt/pkg: incorrect upgrade with multiple repositories
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 21 08:12:03 UTC 2018
Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-pkg mailing list
<pkg at FreeBSD.org> for maintainer-feedback:
Bug 228389: ports-mgmt/pkg: incorrect upgrade with multiple repositories
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228389
--- Description ---
I'm maintaining a small subset of (quarterly) ports tree with specific options
(you can see it on http://pkg.uzsolt.hu/) and I'm using FreeBSD's official
(quarterly) repository too.
When I want to try upgrade the packages appears some invalid dependencies:
root # pkg upgrade --dry-run
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating uzsolt repository catalogue...
uzsolt repository is up to date.
All repositories are up to date.
Checking for upgrades (16 candidates): 100%
Processing candidates (16 candidates): 100%
The following 7 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
schroedinger: 1.0.11_4 [FreeBSD]
gcc6: 6.4.0_4 [FreeBSD]
mpc: 1.1.0 [FreeBSD]
gcc-ecj: 4.5 [FreeBSD]
binutils: 2.30_2,1 [FreeBSD]
Installed packages to be UPGRADED:
mesa-libs: 17.3.8 -> 17.3.9 [FreeBSD]
mesa-dri: 17.3.8 -> 17.3.9 [FreeBSD]
Number of packages to be installed: 5
Number of packages to be upgraded: 2
The process will require 446 MiB more space.
89 MiB to be downloaded.
Exit 1
The gcc6, mpc, gcc-ecj and binutils are unneeded dependencies (with disabled
FreeBSD repo they don't appear). I created the package games/wesnoth without
OPENMP option. The OPENMP causes gcc-specific dependencies.
In FreeBSD repository the games/wesnoth has OPENMP=ON and I think this is the
root of problem. I tried to set priorities of repositories (lower and higher
too) but didn't change anything.
More information about the freebsd-pkg
mailing list