dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
720 stars 108 forks source link

Pinephone Pro: Conflicting files on system upgrade #640

Closed maxrdz closed 6 months ago

maxrdz commented 6 months ago

Device info (please complete the following information)

Describe the bug Cannot upgrade without encountering conflicting files on upgrade, see below.

To Reproduce Steps to reproduce the behavior:

  1. sudo pacman -Syyu :)

Expected behavior Upgrade without conflicting files.

Logfiles and additional information

(287/287) checking keys in keyring                                             [#############################################] 100%
(287/287) checking package integrity                                           [#############################################] 100%
(287/287) loading package files                                                [#############################################] 100%
(287/287) checking for file conflicts                                          [#############################################] 100%
error: failed to commit transaction (conflicting files)
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
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_PAPER exists in filesystem
glibc-locales: /usr/lib/locale/aa_DJ.utf8/LC_TELEPHONE exists in filesystem

Before submitting a bug report, please be sure that you have done the following:

Danct12 commented 6 months ago

https://fosstodon.org/@danctnix/112499469468472282

In short, you can append --overwrite=/usr/lib/locale/\* to the pacman command and it should upgrade like normal:

# pacman -Syu --overwrite=/usr/lib/locale/\*
maxrdz commented 6 months ago

Ah okay, was not sure if I should do that. Thank you