Fix “Conflicting files: ca-certificates-utils: /etc/ssl/certs/ca-certificates.crt already exists in filesystem” Error In Arch Linux

Graphical Frontends for Pacman

Today, I got this error – “Failed to commit transaction Conflicting files: ca-certificates-utils: /etc/ssl/certs/ca-certificates.crt already exists in filesystem” while attempting to upgrade my Arch Linux system.

if you encountered with this error, here is a quick work around to fix this it. Open your Terminal and run the following commands one by one:

First, download the packages using command:

sudo pacman -Syuw

Sample output would be:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 archlinuxfr is up to date 0.0 B 0.00B/s 00:00 [----------------------] 0%
 xyne-x86_64 is up to date
:: Starting full system upgrade...
resolving dependencies...

Packages (25) ca-certificates-20170307-1 ca-certificates-mozilla-3.29.3-2
 ca-certificates-utils-20170307-1 deepin-api-3.1.4-1
 deepin-clutter-1.26.2-1 deepin-control-center-4.0.10-1
 deepin-desktop-base-2016.11.30-1 deepin-file-manager-1:1.4.10-1
 deepin-mutter-3.20.13-2 deepin-wallpapers-1.4-1
 deepin-wm-1.9.7-2 libxslt-1.1.29+42+gac341cbd-1
 linux-firmware-20170309.695f2d6-1 nss-3.29.3-2 p11-kit-0.23.5-1
 pacman-mirrorlist-20170316-1 python-pyparsing-2.2.0-1
 python2-asn1crypto-0.22.0-1 python2-cssutils-1.0.2-1
 python2-pyparsing-2.2.0-1 qt4-4.8.7-16 qt5-webengine-5.8.0-4
 smplayer-17.3.0-1 startdde-3.1.5-1 xorg-mkfontdir-1.0.7-8

Total Download Size: 0.00 MiB

:: Proceed with download? [Y/n] y
(25/25) checking keys in keyring [######################] 100%
(25/25) checking package integrity

Next, remove the conflicting file i.e /etc/ssl/certs/ca-certificates.crt.

sudo rm /etc/ssl/certs/ca-certificates.crt

Finally, perform upgrade using command:

sudo pacman -Su

Now, the update process went normally.

:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
:: deepin-clutter and clutter are in conflict. Remove clutter? [y/N] y

Packages (26) ca-certificates-20170307-1 ca-certificates-mozilla-3.29.3-2
 ca-certificates-utils-20170307-1
 clutter-1.26.0+24+g79da526-1 [removal] deepin-api-3.1.4-1
 deepin-clutter-1.26.2-1 deepin-control-center-4.0.10-1
 deepin-desktop-base-2016.11.30-1 deepin-file-manager-1:1.4.10-1
 deepin-mutter-3.20.13-2 deepin-wallpapers-1.4-1
 deepin-wm-1.9.7-2 libxslt-1.1.29+42+gac341cbd-1
 linux-firmware-20170309.695f2d6-1 nss-3.29.3-2 p11-kit-0.23.5-1
 pacman-mirrorlist-20170316-1 python-pyparsing-2.2.0-1
 python2-asn1crypto-0.22.0-1 python2-cssutils-1.0.2-1
 python2-pyparsing-2.2.0-1 qt4-4.8.7-16 qt5-webengine-5.8.0-4
 smplayer-17.3.0-1 startdde-3.1.5-1 xorg-mkfontdir-1.0.7-8

Total Installed Size: 523.13 MiB
Net Upgrade Size: -18.54 MiB

:: Proceed with installation? [Y/n] y
(25/25) checking keys in keyring [######################] 100%
(25/25) checking package integrity [######################] 100%
(25/25) loading package files [######################] 100%
(25/25) checking for file conflicts [######################] 100%
(26/26) checking available disk space [######################] 100%
:: Processing package changes...
(1/1) removing clutter [######################] 100%
( 1/25) upgrading p11-kit [######################] 100%
( 2/25) upgrading ca-certificates-utils [######################] 100%
( 3/25) upgrading ca-certificates-mozilla [######################] 100%
( 4/25) upgrading ca-certificates [######################] 100%
( 5/25) upgrading deepin-api [######################] 100%
( 6/25) upgrading deepin-wallpapers [######################] 100%
( 7/25) upgrading deepin-desktop-base [######################] 100%
( 8/25) installing deepin-clutter [######################] 100%
( 9/25) upgrading libxslt [######################] 100%
(10/25) upgrading deepin-mutter [######################] 100%
(11/25) upgrading deepin-wm [######################] 100%
(12/25) upgrading startdde [######################] 100%
(13/25) upgrading deepin-control-center [######################] 100%
(14/25) upgrading deepin-file-manager [######################] 100%
(15/25) upgrading linux-firmware [######################] 100%
(16/25) upgrading nss [######################] 100%
(17/25) upgrading pacman-mirrorlist [######################] 100%
warning: /etc/pacman.d/mirrorlist installed as /etc/pacman.d/mirrorlist.pacnew
(18/25) upgrading python-pyparsing [######################] 100%
(19/25) upgrading python2-asn1crypto [######################] 100%
(20/25) upgrading python2-cssutils [######################] 100%
(21/25) upgrading python2-pyparsing [######################] 100%
(22/25) upgrading qt4 [######################] 100%
(23/25) upgrading qt5-webengine [######################] 100%
(24/25) upgrading smplayer [######################] 100%
(25/25) upgrading xorg-mkfontdir [######################] 100%
:: Running post-transaction hooks...
(1/6) Compiling GSettings XML schema files...
(2/6) Updating icon theme caches...
(3/6) Creating temporary files...
(4/6) Arming ConditionNeedsUpdate...
(5/6) Rebuilding certificate stores...
(6/6) Updating the desktop file MIME type cache...

This is a bug and it has been reported already. Hope the Arch Linux devs fix this it soon.

Cheers!

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You may also like...

  • Jose Ramon Cano Yribarren

    It worked like a charm. Thanks a lot!