Error with Arch Linux

5th of November, 2016 Arch

05/11

This post is much more a reminder for me. I write down the information here. It might help someone. I wanted to update my Arch Linux this morning on this beginning of November 2016. The classical sudo pacman -Syu did not work. Indeed I had the following error message:

(86/86) checking for file conflicts                                 [########################################] 100%
error: failed to commit transaction (conflicting files)
ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf exists in filesystem
ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf exists in filesystem
ttf-dejavu: /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf exists in filesystem
ttf-dejavu: /etc/fonts/conf.d/57-dejavu-sans-mono.conf exists in filesystem
ttf-dejavu: /etc/fonts/conf.d/57-dejavu-sans.conf exists in filesystem
ttf-dejavu: /etc/fonts/conf.d/57-dejavu-serif.conf exists in filesystem
Errors occurred, no packages were upgraded.

As you have guessed, the problem comes with the DejaVu font. After digging online I figured out I was not the only one in that case. Basically to solve the problem, ttf-dejavu 2.37 requires a forced updated. The command to launch to do that is sudo pacman -S --force ttf-dejavu. If you want to check your current version of the ttf-dejavu first, just type sudo pacman -Qs ttf-dejavu.

I was absent-minded enough not to check Twitter. A good point in this story is that I discovered an entertaining blog. The Arch-linux and vim tags are quite interesting.

Obviously after finishing the force update, run sudo pacman -Syu to install the new available updates.