blacklist a dependency when using pkg upgrade

I've 150 or so ports to upgrade, but the video driver listed as a dependency for some ofthem,
which from testing is an unwanted downgrade, halts the process due to a conflict
with the working video driver, which I've locked due to
sometimes problems building in ports, which doesn't run sometimes if
src is out of sync with the version running, pkg delete [port ] then pkg add /var/cache/pkg/portname--------.tgz a hundred times or so is a workaround, but takes
way too long... for all the ports in the list except the video driver.
 
Some more details might help. "Downgrade", that means you modified the port yourself to package a newer version? :-/
 
Build your own repository. Then you can set DEFAULT_VERSIONS+= samba=4.16 and have all dependencies correctly line up.
 
I ran pkg create on the installed driver, uninstalled it, ran the upgrade [ which curiously now only wanted 1/4 the # of ports ] , uninstalled the older driver, pkg add for the pkg I had created. [ solved if nothing appears wrong within the next few hours... ]
 
Maybe you finally tell us what exactly this is about? Which "driver"? Did you upgrade a port yourself?

The procedure you just described, I would call, uhm, "fragile".
 
Back
Top