[Solved] Error while upgrading

[root@keos-pc keos]# pacman -Syyu
:: Synchronizing package databases...
 core                  135.1 KiB   763 KiB/s 00:00 [----------------------] 100%
 extra                1654.2 KiB  1026 KiB/s 00:02 [----------------------] 100%
 community               4.9 MiB   549 KiB/s 00:09 [----------------------] 100%
 multilib              158.7 KiB   794 KiB/s 00:00 [----------------------] 100%
 endeavouros            12.0 KiB  90.0 KiB/s 00:00 [----------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (6) ca-certificates-mozilla-3.51.1-1  dnsmasq-2.81-1  libqmi-1.24.10-1
             nss-3.51.1-1  python-sqlalchemy-1.3.16-1  xfce4-settings-4.14.3-1

Total Installed Size:  40.00 MiB
Net Upgrade Size:       0.22 MiB

:: Proceed with installation? [Y/n] 
(6/6) checking keys in keyring                     [----------------------] 100%
(6/6) checking package integrity                   [----------------------] 100%
(6/6) loading package files                        [----------------------] 100%
(6/6) checking for file conflicts                  [----------------------] 100%
error: failed to commit transaction (conflicting files)
nss: /usr/lib/p11-kit-trust.so exists in filesystem
Errors occurred, no packages were upgraded.
[root@keos-pc keos]#

Hey, @keos,

See here for the solution:

hello, you can consult the threads of the forum or archlinux.org, before posting on the forum; thank you

1 Like

@bkaplan, I saw it but I wasn’t sure … it doesn’t happen often, that’s why I put it on the forum .

Thanks!

Fixed mine last night, heres a link for future reference.

https://www.archlinux.org/news/nss3511-1-and-lib32-nss3511-1-updates-require-manual-intervention/

Other people, and I have the same problem on other Arch based, and Arch Linux, but I deleted the link and the update went well. The overwrite the file command didn’t work for me on Manjaro, ArcoLinux, and EndeavourOS, so I had no other choice but to delete the file /usr/lib/p11-kit-trust.so to install the update.

Very odd that it didn’t work - it did work on my Arch, Arcolinux and EndeavourOS systems. Failing that, you could just IgnorePkg (uncomment the line in /etc/pacman.conf and add them) for the p11 items, and get the rest updated…

Freebird54