On Tuesday, 17 November 2020 22:30:10 CST Ben Greiner wrote:
Hi,
Am 17.11.20 um 06:46 schrieb H Zeng:
Thanks for the clarification. After moving /usr/share/sip/PyQt5 to /usr/share/sip/PyQt5.bak, I have done the upgrade. But I got,
```# du -shL /usr/lib64/python3.8/site-packages/PyQt5/bindings 300K /usr/lib64/python3.8/site-packages/PyQt5/bindings # du -shL /usr/share/sip/PyQt5.bak 4.7M /usr/share/sip/PyQt5.bak```
The sizes of contents of the two directories are different. Is this a problem? Is the system safe to reboot?
Thanks for the information. I did not notice. The problem is still the order how rpm does the upgrade. After python3-qt5-devel installs its .sip files, the removal of now obsolete python-qt5-common-devel removes the files again because it considers the files behind the symlink as different. I am trying to update the %pre %post scriptlets and will add another step in %posttrans to work around it.
For now, you can just reinstall python3-qt5-devel a second time to get the files right away. You only need them to develop and build Python bindings to C/C++ libraries which depend on PyQt5 (like python3-poppler-qt5) . If that is not your use case, why do you have the -devel project installed? It definitely does not affect your system boot.
Thanks a lot for the confirmation. P.S. I do not develop or build Python bindings and I have no idea what pulled the *devel packages in. I'll try to remove python3-qt5-devel and related dependencies. Again, thanks :) -- Best regards, H