Solved pkg can't find packages providing libGL.so.1

Hi,

pkg upgrade keeps wanting to install nvidia-driver-440.100_1. I think it's because of this:

Code:
DBG(1)[17376]> cannot find local packages that provide library libGL.so.1 required for cairo
DBG(1)[17376]> cannot find remote packages that provide library libGL.so.1 required for cairo
DBG(1)[17376]> cannot find local packages that provide library libEGL.so.1 required for cairo
DBG(1)[17376]> cannot find remote packages that provide library libEGL.so.1 required for cairo

I have cairo-1.16.0_1,3, mesa-libs-19.0.8_3, and nvidia-driver-390-390.138_1 installed. The nvidia-driver-390-390.138_1 package is locked.

This seems to have happened after the latest October quarterly update. I'm on 12.1-RELEASE-p10 and use only binary packages. Running pkg update -f doesn't make a difference; it still wants to install nvidia-driver-440.100_1.

Nothing seems to be amiss when I look at the output of pkg shlib:

Code:
# pkg shlib -P libGL.so.1
libGL.so.1 is provided by the following packages:
nvidia-driver-390-390.138_1
mesa-libs-19.0.8_3

Code:
# pkg shlib -R libGL.so.1
libGL.so.1 is linked to by the following packages:
cairo-1.16.0_1,3
[other lines elided]

What should I check next?
 
I have an old video card (GT 620) which isn't supported by the 440.xx series driver, so I have to lock the nvidia-driver-390-390.138_1 package to stop it from being upgraded.
 
Back
Top