Pacman -Syyu failing after updating

Hello, I’ve recently updated to kernel 5.14 and deleted 5.13 from my system, since then I get the error message I added below. I would try out with an other kernel version but when I try to install one it tells me to update the system first which I am not able to do. How can I fix this and what might have caused this so I can prevent this from happening the next time a new kernel version is being published.

Also from now on I will always have a backup kernel installed.

╭─joco@brenodor ~ 
╰─$ sudo pacman -Syyu                                                                                                     1 ↵
:: Synchronizing package databases...
 core                                           169.6 KiB   206 KiB/s 00:01 [###########################################] 100%
 extra                                         1893.1 KiB   353 KiB/s 00:05 [###########################################] 100%
 community                                        6.6 MiB   589 KiB/s 00:11 [###########################################] 100%
 multilib                                       174.6 KiB   118 KiB/s 00:01 [###########################################] 100%
:: Starting full system upgrade...
warning: mimic: local (1.3.0.1-2) is newer than community (1.2.0.2-1)
resolving dependencies...
looking for conflicting packages...

Packages (73) aom-3.1.2-2  archlinux-appstream-data-20210902-1  avahi-0.8+22+gfd482a7-1  babl-0.1.88-1  bluez-5.61-1
              bluez-libs-5.61-1  bubblewrap-0.5.0-1  ca-certificates-mozilla-3.69.1-1  ceph-libs-15.2.14-1  cpupower-5.14-1
              cups-filters-1.28.10-1  faudio-21.09-1  foomatic-db-3:20210828-1  freetype2-2.11.0-3  geoip-database-20210824-1
              glib-networking-1:2.68.2-1  glslang-11.6.0-1  gpm-1.20.7.r38.ge82d1a6-4  graphviz-2.49.0-1
              imagemagick-7.1.0.5-1  iproute2-5.14.0-1  iso-codes-4.7.0-1  kaccounts-integration-21.08.1-1
              kdenlive-21.08.1-1  lib32-brotli-1.0.9-1  lib32-freetype2-2.11.0-3  lib32-libgcrypt-1.9.4-1  lib32-nss-3.69.1-1
              lib32-openssl-1:1.1.1.l-1  lib32-sdl2-2.0.16-1  libgcrypt-1.9.4-1  libplacebo-3.120.3-3
              libreoffice-fresh-7.2.0-2  libssh-0.9.6-1  libwacom-1.12-1  libx86emu-3.2-1  linux510-5.10.61-1
              linux514-5.14.0-0  linux514-acpi_call-1.1.0-1  man-pages-5.13-1  manjaro-release-21.1.2-1
              mobile-broadband-provider-info-20210805-1  monero-0.17.2.3-1  monero-gui-0.17.2.3-1  nodejs-16.8.0-1
              noto-fonts-cjk-20201206-3  npm-7.21.1-1  nss-3.69.1-1  papirus-icon-theme-20210901-1  poppler-21.09.0-1
              poppler-glib-21.09.0-1  poppler-qt5-21.09.0-1  python-cairo-1.20.1-1  python-cryptography-3.4.8-1
              python-docker-5.0.2-1  python-importlib-metadata-4.8.1-1  python-twisted-21.7.0-1
              python-typing_extensions-3.10.0.2-1  qt5-declarative-5.15.2+kde+r30-1  qt5-quickcontrols2-5.15.2+kde+r8-1
              re2-1:20210901-1  rofi-1.7.0-1  run-parts-5.4-1  runc-1.0.2-2  shaderc-2021.1-2  signal-desktop-5.15.0-1
              signon-kwallet-extension-21.08.1-1  tzdata-2021a-2  upower-0.99.13-1  vulkan-headers-1:1.2.188-1
              vulkan-icd-loader-1.2.188-1  wine-6.16-1  xorg-xrdb-1.2.1-1

Total Installed Size:  2332.13 MiB
Net Upgrade Size:         2.05 MiB

:: Proceed with installation? [Y/n] y
(73/73) checking keys in keyring                                            [###########################################] 100%
(73/73) checking package integrity                                          [###########################################] 100%
(73/73) loading package files                                               [###########################################] 100%
(73/73) checking for file conflicts                                         [###########################################] 100%
error: failed to commit transaction (conflicting files)
python-typing_extensions: /usr/lib/python3.9/site-packages/__pycache__/typing_extensions.cpython-39.pyc exists in filesystem
python-typing_extensions: /usr/lib/python3.9/site-packages/typing_extensions.py exists in filesystem
Errors occurred, no packages were upgraded.

See:

FYI:

Passing two –refresh or -y flags will force a refresh of all package databases, even if they appear to be up-to-date.

See man pacman (online version)

That’s like saying,

You: “Hey, are my databases up to date?”
Pacman: “Yes.”
You: “Screw you, update them anyway.”

However, if you just issued a pacman-mirrors command to update your mirrors, -Syyu is fine.

1 Like

repeat : not install python module with sudo pip (is installed in system) - prefer packages python-***** if we want this module in system

2 Likes

Thank you for the explanation of the pacman command, I see I really have inform myself better about this.

I was able to fix it by deleting the two files which where mentioned.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.