On Apr 23, 2021, at 08:12, tom eee wrote: > I got the following error while trying to update outdated after doing the > selfupdate: > > Error: Failed to activate xorg-libX11: Image error: > /opt/local/include/X11/extensions/XKBgeom.h is being used by the active > xorg-kbproto port. Please deactivate this port first, or use 'port -f > activate xorg-libX11' to force the activation. > > I saw related mention in the hotlist, but was unable to relate to my > particular error. Any help will be greatly appreciated. xorg-kbproto became obsolete on August 29, 2018 [1] and was deleted March 10, 2020 [2]. If you still have it installed and active, you must not have updated your ports at any time between those dates. We try to leave upgrade paths in place for about one year, so it is highly recommended that you upgrade your ports at least once a year. You can uninstall xorg-kbproto. sudo port -f uninstall xorg-kbproto [1] https://github.com/macports/macports-ports/commit/f7ec5630c2c7ba8efb5ad7794dc00e1042585c60#diff-44f2359c8504f0d345f6572c9054b6c6b2f3a3edc150f8ba6f1f3b5b3547266e [2] https://github.com/macports/macports-ports/commit/90382a86597722304278f1163e76422b19aeaabb#diff-44f2359c8504f0d345f6572c9054b6c6b2f3a3edc150f8ba6f1f3b5b3547266e