To update my installed ports I use for the most part csup to update the ports collection and sysutils/portmaster to actually update the ports with new versions.
Recently nvidia-driver-195.22 hit the Ports tree and upon running portmaster -a I found out that Nvidia's latest driver version requires FreeBSD-STABLE or FreeBSD-CURRENT. Guess who's running RELEASE?
Symptoms:
- % su
- # csup -L 2 -h cvsup2.uk.freebsd.org /usr/share/examples/cvsup/ports-supfile
- # portmaster -L
===>>> New version available: nvidia-driver-195.22
===>>> This port is marked IGNORE
===>>> requires fairly recent FreeBSD-STABLE, or FreeBSD-CURRENT
- # portmaster -a
===>>> Port directory: /usr/ports/x11/nvidia-driver
===>>> This port is marked IGNORE
===>>> requires fairly recent FreeBSD-STABLE, or FreeBSD-CURRENT
===>>> If you are sure you can build it, remove the
IGNORE line in the Makefile and try again.
===>>> Update for nvidia-driver-185.18.36 failed
===>>> Aborting update
Solution:
- # cd /var/db/pkg/nvidia-driver-185.18.36/
- # touch +IGNOREME
- # portmaster -a
===>>> nvidia-driver-185.18.36 has an +IGNOREME file
===>>> Update anyway? [n]
- answer "n"