Update problem, conflicting files

Today, I’ve tried to update my system and I got this error.

Does anyone know how to solve this?

Thanks

:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
archlabs_repo is up to date
:: Starting full system upgrade…
:: Replace compositeproto with extra/xorgproto? [Y/n] y
:: Replace damageproto with extra/xorgproto? [Y/n] y
:: Replace dmxproto with extra/xorgproto? [Y/n] y
:: Replace fixesproto with extra/xorgproto? [Y/n] y
:: Replace fontsproto with extra/xorgproto? [Y/n] n
:: Replace inputproto with extra/xorgproto? [Y/n] y
:: Replace kbproto with extra/xorgproto? [Y/n] y
:: Replace randrproto with extra/xorgproto? [Y/n] y
:: Replace recordproto with extra/xorgproto? [Y/n] y
:: Replace renderproto with extra/xorgproto? [Y/n] y
:: Replace scrnsaverproto with extra/xorgproto? [Y/n] y
:: Replace videoproto with extra/xorgproto? [Y/n] y
:: Replace xextproto with extra/xorgproto? [Y/n] y
:: Replace xf86dgaproto with extra/xorgproto? [Y/n] y
:: Replace xf86vidmodeproto with extra/xorgproto? [Y/n] y
:: Replace xineramaproto with extra/xorgproto? [Y/n] y
:: Replace xproto with extra/xorgproto? [Y/n] y
resolving dependencies…
looking for conflicting packages…
:: xorgproto and fontsproto are in conflict. Remove fontsproto? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: libxfont: removing fontsproto breaks dependency ‘fontsproto>=2.1.3’

   Your system is updated. To return to pacli press [Enter]

I have had this update but no error like what you had.
Have you installed some other font package?

There was a bug reported upstream with Arch but it was closed, does the reason for closing give you any insight?

https://bugs.archlinux.org/task/57393

From a quote at reddit /r/archlinux

libxfont should be safe to remove, it’s an ancient package that hasn’t been used by anything in a long, long time.

1 Like

i remove this; pacman -Rs libxfont
and upgrade done,taken from this discussion on arch linux
https://bbs.archlinux.org/viewtopic.php?id=234361

[ettore@yoda-pc ~]$ sudo pacman -Qi libxfont
[sudo] password for ettore:
Name : libxfont
Version : 1.5.3-1
Description : X11 font rasterisation library
Architecture : x86_64
URL : https://xorg.freedesktop.org/
Licenses : custom
Groups : None
Provides : None
Depends On : freetype2 libfontenc xproto fontsproto>=2.1.3
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 300,00 KiB
Packager : Laurent Carlier lordheavym@gmail.com
Build Date : ven 20 ott 2017 05:56:59 CEST
Install Date : ven 20 ott 2017 16:38:51 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By : Signature

[ettore@yoda-pc ~]$

1 Like

Thanks for the tips.

I removed ‘libxfont’ and after the system updated properly.

I have installed ArchLabs 2018.02 from LINUX FORMAT May 2018 DVD.
Now I wrote pacman -Syu and: [sudo] password for ukki:
:: Synchronizing package databases…
core is up to date
extra 1597,7 KiB 4,11M/s 00:00 [---------------------------------] 100%
community 4,3 MiB 4,34M/s 00:01 [---------------------------------] 100%
multilib 170,9 KiB 1424K/s 00:00 [---------------------------------] 100%
archlabs_repo 15,4 KiB 334K/s 00:00 [---------------------------------] 100%
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…

Packages (7) archlabs-homepage-1.2.1-1  archlabs-pipemenus-2.6-1  archlabs-user-skel-1.6-1
             fzf-0.17.3-2  goffice-0.10.40-1  js52-52.7.3-2  python2-2.7.15-1

Total Download Size:     0,79 MiB
Total Installed Size:  146,55 MiB
Net Upgrade Size:        0,41 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 fzf-0.17.3-2-x86_64                 772,7 KiB  1885K/s 00:00 [---------------------------------] 100%
 archlabs-homepage-1.2.1-1-any        35,4 KiB   536K/s 00:00 [---------------------------------] 100%
(7/7) checking keys in keyring                                [---------------------------------] 100%
(7/7) checking package integrity                              [---------------------------------] 100%
(7/7) loading package files                                   [---------------------------------] 100%
(7/7) checking for file conflicts                             [---------------------------------] 100%
error: failed to commit transaction (conflicting files)
js52: /usr/lib/libmozjs-52.so.0 exists in filesystem
Errors occurred, no packages were upgraded.
1 ukki@uusitalo ~ %                          

What to do with the packages ackages (7) archlabs-homepage-1.2.1-1 archlabs-pipemenus-2.6-1 archlabs-user-skel-1.6-1
fzf-0.17.3-2 goffice-0.10.40-1 js52-52.7.3-2 python2-2.7.15-1
Do I need them :cold_sweat:

it was enough to do some research here or on the main page of archlinux


Regards

1 Like

@fossiili, the same rules that Arch have regarding searching before posting apply here. In future please do a search of the forums before you post, this reduces double posts of the same issue which can cause issues for others.

Thanks.

O.K. but I did mybest to find this answer, but for some reason I did not succeed :face_vomiting: