Conflict error when upgrade

I got errors when I run pacman -Syyu:

error: failed to commit transaction (conflicting files)
glibc: /usr/lib/locale/C.utf8/LC_ADDRESS exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_COLLATE exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_CTYPE exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_IDENTIFICATION exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_MEASUREMENT exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_MESSAGES/SYS_LC_MESSAGES exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_MONETARY exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_NAME exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_NUMERIC exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_PAPER exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_TELEPHONE exists in filesystem
glibc: /usr/lib/locale/C.utf8/LC_TIME exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_ADDRESS exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_COLLATE exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_CTYPE exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_IDENTIFICATION exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_MEASUREMENT exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_MESSAGES/SYS_LC_MESSAGES exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_MONETARY exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_NAME exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_NUMERIC exists in filesystem
...

If you had the old glibc-locales package from the extra repo installed, the update to the new core package will need manual intervention:

 sudo pacman -Syu glibc-locales --overwrite /usr/lib/locale/\*/\*
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.