I encounter an error running pacman. It seems a file already installed is being installed again or something. I could just delete the old file perhaps then run pacman again?
I found this bug post . It recommends:
$ pacman -Syuw ##to download but not install and upgrade anything
$ rm /etc/ssl/certs/ca-certificates.crt ##to delete the old file
$ pacman -Su ##to install and upgrade the packages
[donato@archdesktop ~]$ sudo pacman -Syuw
[sudo] password for donato:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
Packages (15) ca-certificates-20170307-1 ca-certificates-mozilla-3.29.3-2 ca-certificates-utils-20170307-1 flatpak-0.9.1-1
gnome-settings-daemon-3.22.2-1 gnome-software-3.22.7-1 libxslt-1.1.29+42+gac341cbd-1
linux-firmware-20170309.695f2d6-1 nss-3.29.3-2 p11-kit-0.23.5-1 python2-cssutils-1.0.2-1 qt4-4.8.7-16
whois-5.2.15-1 xdg-desktop-portal-0.5-3 xdg-desktop-portal-gtk-0.5-3
Total Download Size: 0.00 MiB
:: Proceed with download? [Y/n]
(15/15) checking keys in keyring [##############################################] 100%
(15/15) checking package integrity [##############################################] 100%
[donato@archdesktop ~]$ rm /etc/ssl/certs/ca-certificates.crt
rm: cannot remove '/etc/ssl/certs/ca-certificates.crt': Permission denied
[donato@archdesktop ~]$ sudo rm /etc/ssl/certs/ca-certificates.crt
[donato@archdesktop ~]$ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
Packages (15) ca-certificates-20170307-1 ca-certificates-mozilla-3.29.3-2 ca-certificates-utils-20170307-1 flatpak-0.9.1-1
gnome-settings-daemon-3.22.2-1 gnome-software-3.22.7-1 libxslt-1.1.29+42+gac341cbd-1
linux-firmware-20170309.695f2d6-1 nss-3.29.3-2 p11-kit-0.23.5-1 python2-cssutils-1.0.2-1 qt4-4.8.7-16
whois-5.2.15-1 xdg-desktop-portal-0.5-3 xdg-desktop-portal-gtk-0.5-3
Total Installed Size: 296.74 MiB
Net Upgrade Size: 5.24 MiB
:: Proceed with installation? [Y/n]
(15/15) checking keys in keyring [##############################################] 100%
(15/15) checking package integrity [##############################################] 100%
(15/15) loading package files [##############################################] 100%
(15/15) checking for file conflicts [##############################################] 100%
(15/15) checking available disk space [##############################################] 100%
:: Processing package changes...
( 1/15) upgrading p11-kit [##############################################] 100%
( 2/15) upgrading ca-certificates-utils [##############################################] 100%
( 3/15) upgrading ca-certificates-mozilla [##############################################] 100%
( 4/15) upgrading ca-certificates [##############################################] 100%
( 5/15) installing xdg-desktop-portal-gtk [##############################################] 100%
( 6/15) installing xdg-desktop-portal [##############################################] 100%
( 7/15) upgrading flatpak [##############################################] 100%
( 8/15) upgrading nss [##############################################] 100%
( 9/15) upgrading gnome-settings-daemon [##############################################] 100%
(10/15) upgrading gnome-software [##############################################] 100%
(11/15) upgrading libxslt [##############################################] 100%
(12/15) upgrading linux-firmware [##############################################] 100%
(13/15) upgrading python2-cssutils [##############################################] 100%
(14/15) upgrading qt4 [##############################################] 100%
(15/15) upgrading whois [##############################################] 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...
[donato@archdesktop ~]$
Comments