On 3/12/19 6:07 AM, Robert-André Mauchin wrote:
Hello, I have an issue with the update of papirus-icon-theme: in the new version, symlinks have replaced what was previously folders and dnf errors out on this: For example, on the current version: $ ll /usr/share/icons/Papirus-Light/16x16 total 24K drwxr-xr-x. 1 root root 73K nov. 6 16:36 actions/ lrwxrwxrwx. 1 root root 24 oct. 22 16:33 apps -> ../../Papirus/16x16/apps/ lrwxrwxrwx. 1 root root 30 oct. 22 16:33 categories -> ../../Papirus/16x16/categories/ drwxr-xr-x. 1 root root 6,9K nov. 6 16:36 devices/ lrwxrwxrwx. 1 root root 27 oct. 22 16:33 emblems -> ../../Papirus/16x16/emblems/ lrwxrwxrwx. 1 root root 27 oct. 22 16:33 emotes -> ../../Papirus/16x16/emotes// lrwxrwxrwx. 1 root root 29 oct. 22 16:33 mimetypes -> ../../Papirus/16x16/mimetypes/ drwxr-xr-x. 1 root root 59K nov. 6 16:36 panel/ drwxr-xr-x. 1 root root 4,5K nov. 6 16:36 places/ lrwxrwxrwx. 1 root root 26 oct. 22 16:33 status -> ../../Papirus/16x16/status/ On the new version: $ ll /usr/share/icons/Papirus-Light/16x16 total 36K lrwxrwxrwx. 1 root root 27 mars 11 16:16 actions -> ../../Papirus/16x16/actions/ lrwxrwxrwx. 1 root root 24 mars 11 16:16 apps -> ../../Papirus/16x16/apps/ lrwxrwxrwx. 1 root root 4 mars 11 16:16 categories -> apps/ lrwxrwxrwx. 1 root root 27 mars 11 16:16 devices -> ../../Papirus/16x16/devices/ lrwxrwxrwx. 1 root root 27 mars 11 16:16 emblems -> ../../Papirus/16x16/emblems/ lrwxrwxrwx. 1 root root 26 mars 11 16:16 emotes -> ../../Papirus/16x16/emotes/ lrwxrwxrwx. 1 root root 29 mars 11 16:16 mimetypes -> ../../Papirus/16x16/mimetypes/ drwxr-xr-x. 1 root root 60K mars 12 04:52 panel/ lrwxrwxrwx. 1 root root 26 mars 11 16:16 places -> ../../Papirus/16x16/places/ lrwxrwxrwx. 1 root root 26 mars 11 16:16 status -> ../../Papirus/16x16/status/ Why doesn't dnf simply remove the previous folders and replace them with symlinks?
Because if you think about it from the point of something like glibc, the new version has to be installed before the old one can be removed. And now if you think about that, and what would happen if the directory in question was something like /bin instead of a rarely visited dark corner in /usr/share (but nah, who would ever do such a thing...)
> How can I solve this? > https://fedoraproject.org/wiki/Packaging:Directory_Replacement - Panu - _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx