:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) deepin-icon-theme-2024.06.21-1

Total Installed Size:  138.93 MiB
Net Upgrade Size:        5.96 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [########################] 100%
(1/1) checking package integrity                   [########################] 100%
(1/1) loading package files                        [########################] 100%
(1/1) checking for file conflicts                  [########################] 100%
error: failed to commit transaction (conflicting files)
deepin-icon-theme: /usr/share/icons/bloom/icon-theme.cache exists in filesystem
Errors occurred, no packages were upgraded.

Running a search for the error I didn’t find one for deepin-icon-theme, but the same error for other packages in arch updates show up and the other ones I saw laid the blame on improper packaging. Given that this is the one from the arch repositories and not some AUR package, I’m nowhere near confident enough in myself to jump to the conclusion that this is someone else’s fault, so I’m asking here.

  • Gyroplast@pawb.social
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 months ago

    Delete the existing file /usr/share/icons/bloom/icon-theme.cache, install the package normally without forcing, and don’t sweat it. That cache can (and should automatically) be recreated afterwards with gtk4-update-icon-cache /usr/share/icons/bloom, but it’s strictly not critical.

    The previous version of the package did not include this file, lending credibility to the assumption of a packaging mistake, as does the existence of an issue for that problem already.

    Just fix this nag yourself as described, and expect this to be fixed by the packager eventually.