I keep getting this error during the checking files step, aborting the upgrade:
error: failed to commit transaction (conflicting files)
breeze-icons: /usr/share/icons/breeze-dark/apps/48/imagewriter.svg exists in filesystem
Errors occurred, no packages were upgraded.
Why is this happening? I can’t understand how an icon file can stop the entire upgrade process…it isn’t even one of my custom icons!
pacman -Qo /usr/share/icons/breeze-dark/apps/48/imagewriter.svg
error: No package owns /usr/share/icons/breeze-dark/apps/48/imagewriter.svg
Is this because I’ve put custom icons into breeze-dark? Do I need to keep my custom icon set in a location not affected by system updates? It’s never given me problems before.
Yes, Arch packaging does not allow a package to overwrite files that belong to another package or that the user added.
Files provided by packages that are user customizable are added to the packages backup array so that the package manager can create the appropriate .pacorig, .pacsave, or .pacnew files. https://wiki.archlinux.org/index.php/Pacman/Pacnew_and_Pacsave
The best thing to do when modifying or adding icon sets yourself is to do so in your own home directory, or under the xdg specified location of /usr/local/share/icons/. You could also just put them under a diferent folder name like breeze-dark-modified.