I followed the instructions on a mailing list here.
https://www.mail-archive.com/freebsd-emulation@freebsd.org/msg06550.html
So in my /etc/make.conf I now have
DEFAULT_VERSIONS+=linux=c7_64
However when I went to install nvidia-driver via pkg, it tried to pull in linux-c6.
So I installed nvidia-driver from ports and it happily used linux-c7.
My problem is now when I run pkg upgrade I get the following.
What is the equivalent of DEFAULT_VERSIONS+=linux=c7_64 for pkg? Does it read /etc/make.conf as well? No right? So where do I tell it to use linux-c7? Thank you very much. I will be reading and researching although I already did before this post but perhaps I will get lucky.
https://www.mail-archive.com/freebsd-emulation@freebsd.org/msg06550.html
So in my /etc/make.conf I now have
DEFAULT_VERSIONS+=linux=c7_64
However when I went to install nvidia-driver via pkg, it tried to pull in linux-c6.
So I installed nvidia-driver from ports and it happily used linux-c7.
My problem is now when I run pkg upgrade I get the following.
Code:
root@bsd:/usr/ports # pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (5 candidates): 100%
Processing candidates (5 candidates): 100%
Checking integrity... done (4 conflicting)
- linux-c6-xorg-libs-7.4_10 conflicts with linux-c7-xorg-libs-7.7_5 on /compat/linux/usr/lib/libICE.so.6
- linux-c6-fontconfig-2.8.0_3 conflicts with linux-c7-fontconfig-2.10.95_3 on /compat/linux/etc/fonts
- linux-c6-expat-2.0.1_5 conflicts with linux-c7-expat-2.1.0_2 on /compat/linux/usr/bin/xmlwf
- linux_base-c6-6.10 conflicts with linux_base-c7-7.4.1708_6 on /compat/linux/bin
Checking integrity... done (0 conflicting)
The following 85 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
linux-c7-xorg-libs-7.7_5
linux-c7-fontconfig-2.10.95_3
linux-c7-expat-2.1.0_2
linux_base-c7-7.4.1708_6
linux-c7-elfutils-libelf-0.168
linux-c7-dri-17.0.1
linux-c7-libpciaccess-0.13.4_3
linux-c7-7.4.1708_1
linux-c7-pixman-0.34.0
linux-c7-cairo-1.14.8
linux-c7-libpng-1.5.13_2
linux-c7-qt-4.8.5_3
linux-c7-openssl-libs-1.0.2k
linux-c7-libssh2-1.4.3_2
linux-c7-curl-7.29.0_4
linux-c7-nss-3.28.4_3
linux-c7-nspr-4.13.1
linux-c7-openldap-2.4.44
linux-c7-cyrus-sasl-lib-2.1.26_3
linux-c7-sqlite-3.7.17_1
linux-c7-qtwebkit-2.3.4_2
linux-c7-qt-x11-4.8.5_4
linux-c7-libtiff-4.0.3_3
linux-c7-jpeg-1.2.90_2
linux-c7-jasper-libs-1.900.1_4
linux-c7-gdk-pixbuf2-2.36.5
linux-c7-gtk2-2.24.31
linux-c7-pango-1.40.4
linux-c7-harfbuzz-1.3.2
linux-c7-graphite2-1.3.10
linux-c7-libthai-0.1.14_1
linux-c7-atk-2.22.0
linux-c7-sdl_ttf-2.0.11_2
linux-c7-sdl-1.2.15_1
linux-c7-sdl_mixer-1.2.12_1
linux-c7-sdl_image-1.2.12_2
linux-c7-jbigkit-libs-2.0_2
linux-c7-alsa-lib-1.1.3
linux-c7-alsa-plugins-oss-1.1.1
linux-c7-alsa-utils-1.1.3
linux-c7-alsa-plugins-pulseaudio-1.1.1
linux-c7-pulseaudio-libs-10.0
linux-c7-tcp_wrappers-libs-7.6_2
linux-c7-libasyncns-0.8_1
linux-c7-dbus-libs-1.6.12_2
linux-c7-dbus-glib-0.100_1
linux-c7-libsndfile-1.0.25_3
linux-c7-libvorbis-1.3.3_1
linux-c7-libogg-1.3.0_1
linux-c7-flac-libs-1.3.0_2
linux-c7-pulseaudio-utils-10.0
linux-c7-openal-soft-1.16.0_2
linux-c7-trousers-0.3.14
linux-c7-gnutls-3.3.26
linux-c7-p11-kit-0.23.5
linux-c7-nettle-2.7.1
linux-c7-libtasn1-4.10
linux-c7-cups-libs-1.6.3_4
linux-c7-avahi-libs-0.6.31_1
linux-c7-tk85-8.5.13_1
linux-c7-motif-2.3.4_5
linux-c7-libxml2-2.9.1_1
linux-c7-aspell-0.60.6.1_1
linux-c7-libgpg-error-1.12_2
linux-c7-libgcrypt-1.5.3_4
linux-c7-libv4l-0.9.5_2
linux-c7-libtheora-1.1.1_1
linux-c7-tcl85-8.5.13_1
linux-c7-power9-functional-sim-1.1
linux-c7-glx-utils-8.2.0_4
linux-c7-sdl20-2.0.3_1
linux-c7-libsigc++20-2.10.0
linux-c7-libglade2-2.6.4_1
linux-c7-devtools-7.4.1708_4
linux-c7-libgfortran-4.8.5_3
linux-c7-audiofile-0.3.6_1
linux-c7-userspace-rcu-0.7.16
linux-c7-lttng-ust-2.4.1
linux-c7-icu-50.1.2
linux-c7-libunwind-1.2
New packages to be INSTALLED:
linux-c6-xorg-libs: 7.4_10
linux-c6-fontconfig: 2.8.0_3
linux-c6-expat: 2.0.1_5
linux_base-c6: 6.10
Installed packages to be REINSTALLED:
nvidia-driver-390.87_1 (options changed)
Number of packages to be removed: 80
Number of packages to be installed: 4
Number of packages to be reinstalled: 1
The operation will free 564 MiB.
Proceed with this action? [y/N]: n
root@bsd:/usr/ports #
What is the equivalent of DEFAULT_VERSIONS+=linux=c7_64 for pkg? Does it read /etc/make.conf as well? No right? So where do I tell it to use linux-c7? Thank you very much. I will be reading and researching although I already did before this post but perhaps I will get lucky.