ports@, Let assume that I have a system without x11/qt5, and to install it I do something like this:
~ $ ls /usr/local/lib/qt5 ls: /usr/local/lib/qt5: No such file or directory ~ $ doas pkg_add -a py3-qt5 quirks-7.18 signed on 2024-04-18T15:06:29Z py3-qt5-5.15.9p1:py3-ply-3.11p6: ok py3-qt5-5.15.9p1:pcaudiolib-1.2: ok py3-qt5-5.15.9p1:espeak-1.51p2: ok py3-qt5-5.15.9p1:libao-1.2.0p2: ok py3-qt5-5.15.9p1:dotconf-1.3p0: ok py3-qt5-5.15.9p1:py3-xdg-0.28p2: ok py3-qt5-5.15.9p1:speech-dispatcher-0.11.5: ok py3-qt5-5.15.9p1:qtbase-5.15.12pl151p0: ok py3-qt5-5.15.9p1:libsigc++-2.12.1: ok py3-qt5-5.15.9p1:glib2mm-2.66.7: ok py3-qt5-5.15.9p1:gstreamer1mm-1.10.0p9: ok py3-qt5-5.15.9p1:qtdeclarative-5.15.12pl31: ok py3-qt5-5.15.9p1:qtmultimedia-5.15.12pl2: ok py3-qt5-5.15.9p1:qtspeech-5.15.12pl1: ok py3-qt5-5.15.9p1:hyphen-2.8.8p0: ok py3-qt5-5.15.9p1:qtwebsockets-5.15.12pl2: ok py3-qt5-5.15.9p1:qtwebchannel-5.15.12pl3: ok py3-qt5-5.15.9p1:qtserialport-5.15.12: ok py3-qt5-5.15.9p1:qtlocation-5.15.12pl6: ok py3-qt5-5.15.9p1:qtsensors-5.15.12: ok py3-qt5-5.15.9p1:libnotify-0.8.3: ok py3-qt5-5.15.9p1:avahi-glib-0.8p2: ok py3-qt5-5.15.9p1:glib2-networking-2.80.0: ok py3-qt5-5.15.9p1:libpsl-0.21.1: ok py3-qt5-5.15.9p1:libsoup3-3.4.4: ok py3-qt5-5.15.9p1:geoclue2-2.7.1p0: ok py3-qt5-5.15.9p1:qtwebkit-5.212.0alpha4p9v0: ok py3-qt5-5.15.9p1:qtx11extras-5.15.12: ok py3-qt5-5.15.9p1:qtxmlpatterns-5.15.12: ok py3-qt5-5.15.9p1:py3-sip-6.7.11p0v0: ok py3-qt5-5.15.9p1:py3-pyqt5_sip-12.12.2: ok py3-qt5-5.15.9p1:qtconnectivity-5.15.12pl6: ok py3-qt5-5.15.9p1:qtsvg-5.15.12pl6: ok py3-qt5-5.15.9p1:llvm-16.0.6p24: ok py3-qt5-5.15.9p1:qttools-5.15.12pl4: ok py3-qt5-5.15.9p1:qtremoteobjects-5.15.12: ok py3-qt5-5.15.9p1: ok Running tags: ok New and changed readme(s): /usr/local/share/doc/pkg-readmes/llvm-16 ~ $ now, let remove it: ~ $ doas pkg_delete -a lcms2-2.16p0:py3-qt5-5.15.9p1: ok lcms2-2.16p0:qtspeech-5.15.12pl1: ok lcms2-2.16p0:qtmultimedia-5.15.12pl2: ok lame-3.100p2:speech-dispatcher-0.11.5: ok lame-3.100p2:espeak-1.51p2: ok lame-3.100p2:pcaudiolib-1.2: ok gsettings-desktop-schemas-46.0:qtwebkit-5.212.0alpha4p9v0: ok gsettings-desktop-schemas-46.0:geoclue2-2.7.1p0: ok gsettings-desktop-schemas-46.0:libsoup3-3.4.4: ok gsettings-desktop-schemas-46.0:glib2-networking-2.80.0: ok py3-pyqt5_sip-12.12.2: ok qtx11extras-5.15.12: ok qtwebchannel-5.15.12pl3: ok avahi-glib-0.8p2: ok libpsl-0.21.1: ok qtbase-5.15.12pl151p0:qtsensors-5.15.12: ok qtbase-5.15.12pl151p0:qtlocation-5.15.12pl6: ok qtbase-5.15.12pl151p0:qtserialport-5.15.12: ok qtbase-5.15.12pl151p0:qtwebsockets-5.15.12pl2: ok qtbase-5.15.12pl151p0:qttools-5.15.12pl4: ok qtbase-5.15.12pl151p0:qtxmlpatterns-5.15.12: ok qtbase-5.15.12pl151p0:qtconnectivity-5.15.12pl6: ok qtbase-5.15.12pl151p0:qtremoteobjects-5.15.12: ok qtbase-5.15.12pl151p0:qtdeclarative-5.15.12pl31: ok qtbase-5.15.12pl151p0:qtsvg-5.15.12pl6: ok qtbase-5.15.12pl151p0: ok glib2mm-2.66.7:gstreamer1mm-1.10.0p9: ok glib2mm-2.66.7: ok py3-ply-3.11p6:py3-sip-6.7.11p0v0: ok py3-ply-3.11p6: ok libsigc++-2.12.1: ok libao-1.2.0p2: ok dotconf-1.3p0: ok llvm-16.0.6p24: ok hyphen-2.8.8p0: ok libnotify-0.8.3: ok py3-xdg-0.28p2: ok Running tags: ok Read shared items: ok --- -geoclue2-2.7.1p0 ------------------- You should also run /usr/sbin/userdel _geoclue You should also run /usr/sbin/groupdel _geoclue --- -py3-xdg-0.28p2 ------------------- Error deleting directory /usr/local/lib/qt5/examples: Directory not empty Error deleting directory /usr/local/lib/qt5: Directory not empty ~ $ as you see, it left /usr/local/lib/qt5: ~ $ find /usr/local/lib/qt5 /usr/local/lib/qt5 /usr/local/lib/qt5/examples /usr/local/lib/qt5/examples/bluetooth /usr/local/lib/qt5/examples/bluetooth/btscanner /usr/local/lib/qt5/examples/bluetooth/heartrate-game /usr/local/lib/qt5/examples/bluetooth/heartrate-server /usr/local/lib/qt5/examples/bluetooth/lowenergyscanner /usr/local/lib/qt5/examples/remoteobjects /usr/local/lib/qt5/examples/remoteobjects/ssl /usr/local/lib/qt5/examples/remoteobjects/ssl/sslserver /usr/local/lib/qt5/examples/remoteobjects/ssl/sslserver/cert /usr/local/lib/qt5/examples/remoteobjects/websockets /usr/local/lib/qt5/examples/remoteobjects/websockets/common /usr/local/lib/qt5/examples/remoteobjects/websockets/common/cert ~ $ -- wbr, Kirill