Failed to update: conflicting files

I’m trying to run an update but it seems to be some issue between extra/xdg-desktop-portal-gnome and google-api-pyhton-client (???)

I tried to uninstall the google API client with pip but it turns out I didn’t even had it installed!. So I installed it, and uninstalled it again, but the issue persist.

I cant understand why is one update related to the google API client, its weird.

thanks!!

sudo pacman -Syu                                                                                                       ✔  22s   base  
[sudo] password for martin: 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                                                       6,7 MiB  14,0 MiB/s 00:00 [#####################################################] 100%
 multilib is up to date
:: Starting full system upgrade...
:: Replace xdg-desktop-portal-gtk with extra/xdg-desktop-portal-gnome? [Y/n] y
resolving dependencies...
looking for conflicting packages...

Packages (309) adwaita-icon-theme-41.0-1  adwaita-qt-1.4.1-1  alsa-card-profiles-1:0.3.40-1  aom-3.2.0-1  archlinux-appstream-data-20211018-1
               at-spi2-core-2.42.0-1  audit-3.0.6-1  baobab-41.0-1  bison-3.8.2-1  bluez-5.62-1  bluez-libs-5.62-1  btrfs-progs-5.15-1
               c-ares-1.18.1-1  ca-certificates-mozilla-3.72-1  cheese-41.1-1  cpupower-5.15-1  cryptsetup-2.4.1-3  cups-1:2.3.3op2-4  curl-7.80.0-1
               dbeaver-21.2.4-1  device-mapper-2.03.14-1  duplicity-0.8.21-1  ecryptfs-utils-111-5  evince-41.2-1  evolution-data-server-3.42.1-1
               exiv2-0.27.5-1  ffmpeg-2:4.4.1-1  file-5.41-1  filesystem-2021.05.31-1  firefox-94.0.2-1  flatpak-1.12.2-1  folks-0.15.3+6+gdb1de866-1
               foomatic-db-3:20211116-1  fprintd-1.94.1-1  fwupd-1.7.1-1  fzf-0.28.0-1  gawk-5.1.1-1  gc-8.2.0-2  gcr-3.41.0-1  gd-2.3.3-3
               gdbm-1.22-1  gdm-plymouth-41.0+r15+g23ebe617-1  geary-1:40.0-4  gfbgraph-0.2.5-1  git-2.34.0-1  gjs-2:1.70.0-1  glib2-2.70.1-1
               glibc-locales-2.33-1  glslang-11.7.0-1  gnome-autoar-0.4.1-1  gnome-backgrounds-41.0-1  gnome-calculator-41.0-1  gnome-calendar-41.1-1
               gnome-characters-41.0-1  gnome-clocks-41.0-1  gnome-contacts-41.0-2  gnome-control-center-41.1-1.1  gnome-desktop-1:41.1-1
               gnome-disk-utility-41.0-1  gnome-font-viewer-41.0-1  gnome-layout-switcher-0.8.22-4  gnome-maps-41.1-2  gnome-online-accounts-3.40.1-1
               gnome-screenshot-41.0-1  gnome-settings-daemon-41.0-1  gnome-shell-1:41.1-1  gnome-shell-extension-arcmenu-19-1
               gnome-shell-extension-dash-to-dock-71-1  gnome-shell-extension-dash-to-panel-45-1  gnome-shell-extension-desktop-icons-ng-24-2
               gnome-shell-extension-gsconnect-48-1  gnome-shell-extension-material-shell-40.a+12+ge67d2fb-1
               gnome-shell-extension-nightthemeswitcher-54-1  gnome-shell-extension-unite-59-1  gnome-shell-extensions-41.0-1
               gnome-system-monitor-41.0-1  gnome-user-docs-41.0-1  gnome-weather-41.0-1  gnupg-2.2.32-1  go-2:1.17.3-1  go-ethereum-1.10.12-1
               gobject-introspection-runtime-1.70.0-2  grilo-0.3.14-1  grilo-plugins-1:0.3.14-1  gsettings-desktop-schemas-41.0-1
               gst-plugin-gtk-1.18.5-2  gst-plugin-pipewire-1:0.3.40-1  gst-plugins-bad-1.18.5-3  gst-plugins-bad-libs-1.18.5-3
               gst-plugins-good-1.18.5-2  gst-plugins-ugly-1.18.5-2  gthumb-3.12.0-1  gtk-update-icon-cache-1:4.4.1-1  gtk3-1:3.24.30+90+g20be04f7ac-1
               gtk4-1:4.4.1-1  guile-2.2.7-2  gupnp-1:1.4.0-1  gupnp-av-0.14.0-1  gupnp-dlna-0.12.0-1  gupnp-igd-1.2.0-2  harfbuzz-3.1.1-1
               harfbuzz-icu-3.1.1-1  hplip-1:3.21.10-1  hwinfo-21.78-1  iana-etc-20211025-1  imagemagick-7.1.0.14-1  inkscape-1.1.1-3  inxi-3.3.09.1-1
               iproute2-5.15.0-1  iso-codes-4.8.0-1  itstool-1:2.0.7-1  iw-5.16-1  jdk11-openjdk-11.0.13.u8-1  jre11-openjdk-11.0.13.u8-1
               jre11-openjdk-headless-11.0.13.u8-1  json-c-0.15-2  kauth-5.88.0-1  kcoreaddons-5.88.0-1  kernel-alive-0.5.1-1  kitemmodels-5.88.0-1
               kvantum-qt5-0.20.2-2  kwindowsystem-5.88.0-1  ldb-2:2.4.1-1  lib32-curl-7.80.0-1  lib32-libffi-3.4.2-3  lib32-libssh2-1.10.0-1
               lib32-libxi-1.8-1  lib32-llvm-libs-13.0.0-1  lib32-mesa-21.2.5-1  lib32-mesa-vdpau-21.2.5-1  lib32-ncurses-6.3-1
               lib32-vulkan-intel-21.2.5-1  lib32-vulkan-radeon-21.2.5-1  lib32-wayland-1.19.0-2  libadwaita-1.0.0.alpha.4-1  libavif-0.9.3-1
               libcaca-0.99.beta20-1  libcap-2.60-1  libcheese-41.1-1  libcups-1:2.3.3op2-4  libdazzle-3.42.0.1-1  libdrm-2.4.108-1  libevdev-1.12.0-1
               libffi-3.4.2-4  libfprint-1.94.2-1  libgdm-plymouth-41.0+r15+g23ebe617-1  libgpg-error-1.43-1  libheif-1.12.0-2  libinput-1.19.2-1
               libjxl-0.6.1-1  libnautilus-extension-41.1-1  libnghttp2-1.46.0-1  libp11-kit-0.24.0-2  libpamac-11.2.0-1
               libpamac-flatpak-plugin-11.2.0-1  libpamac-snap-plugin-11.2.0-1  libphonenumber-8.12.36-1  libpipeline-1.5.4-1  librsvg-2:2.52.4-1
               libseccomp-2.5.3-1  libsoup-2.74.1-1  libsoup3-3.0.2-1  libsrtp-1:2.4.2-1  libtasn1-4.18.0-1  libupnp-1.14.12-2
               libva-mesa-driver-21.2.5-1  libvpx-1.11.0-1  libwpe-1.12.0-1  libx86emu-3.4-1  libxcvt-0.1.1-1  libxmlb-0.3.3-1  libytnef-1:2.0-2
               libyuv-r2266+eb6e7bb6-1  linux-firmware-20211027.1d00989-1  linux414-4.14.255-1  linux414-virtualbox-host-modules-6.1.28-4
               linux510-5.10.79-1  linux510-virtualbox-host-modules-6.1.28-5  llvm-libs-13.0.0-3  lvm2-2.03.14-1
               manjaro-gnome-extension-settings-20211026-1  manjaro-gnome-settings-20211023-1  manjaro-release-21.2pre-1
               manjaro-settings-manager-0.5.6-18  manjaro-settings-manager-notifier-0.5.6-18  manjaro-zsh-config-0.22-2  mariadb-10.6.5-1
               mariadb-clients-10.6.5-1  mariadb-libs-10.6.5-1  mesa-21.2.5-1  mesa-vdpau-21.2.5-1  mhwd-db-0.6.5-18  mhwd-nvidia-495.44-4
               mhwd-nvidia-470xx-470.86-2  mlt-7.2.0-2  mpg123-1.29.2-1  mutter-41.1-1  nautilus-41.1-1  ncdu-1.16-2  ncurses-6.3-1  nodejs-16.11.1-1
               noto-fonts-emoji-20211101-1  nss-3.72-1  onlyoffice-desktopeditors-6.4.2-1  openal-1.21.1-2  openexr-3.1.3-1  openmpi-4.1.1-3
               osinfo-db-20211013-1  p11-kit-0.24.0-2  pacman-mirrors-4.22.0-3  pamac-cli-10.3.0-1  pamac-gnome-integration-10.3.0-1
               pamac-gtk-10.3.0-1  pambase-20211111-1  papirus-icon-theme-20211101-1  pcre2-10.39-1  perl-path-tiny-0.120-1  perl-uri-5.10-1
               pinentry-1.2.0-1  pipewire-1:0.3.40-1  pipewire-media-session-1:0.4.1-1  polkit-0.120-2  poppler-21.11.0-1  poppler-glib-21.11.0-1
               power-profiles-daemon-0.10.1-1  protobuf-c-1.4.0-1  pycharm-community-edition-2021.2.3-1  python-3.9.7-2  python-cachecontrol-0.12.6-5
               python-cachetools-4.2.4-1  python-cffi-1.14.6-2  python-cryptography-35.0.0-1  python-fasteners-0.16.3-1  python-gobject-3.42.0-1
               python-google-api-core-2.2.2-1  python-google-api-python-client-2.30.0-1  python-html5lib-1.1-8  python-idna-3.3-1
               python-importlib-metadata-4.8.1-1  python-lxml-4.6.4-1  python-markdown-3.3.5-1  python-pbr-5.7.0-1  python-pillow-8.4.0-1
               python-progress-1.6-1  python-pulsectl-21.10.5-1  python-pyqt5-5.15.6-2  python-pytz-2021.3-2  python-pyxdg-0.27-2
               python-reportlab-3.6.2-1  python-uritemplate-3.0.1-4  python-urllib3-1.26.7-1  python-zipp-3.6.0-1  qbittorrent-4.3.9-1
               qgnomeplatform-0.8.2-1  qt5-base-5.15.2+kde+r256-1  qt5-declarative-5.15.2+kde+r41-1  qt5-svg-5.15.2+kde+r13-1
               qt5-wayland-5.15.2+kde+r36-1  qt5-websockets-5.15.2+kde+r4-1  rygel-1:0.40.2-3  seahorse-1:41.0-1  shotcut-21.10.31-1
               simple-scan-40.6-1  smbclient-4.15.2-1  snapd-2.53.2-2  sushi-41.0-1  systemd-249.6-3  systemd-libs-249.6-3  systemd-sysvcompat-249.6-3
               tcl-8.6.12-1  timeshift-21.09.1-3  tlp-1.4.0-3  totem-3.38.2-1  tracker3-3.2.1-1  tracker3-miners-3.2.1-1  tzdata-2021e-1
               unrar-1:6.1.2-1  unzip-6.0-15  v4l-utils-1.22.1-1  virtualbox-6.1.28-3  vlc-3.0.16-4  vte-common-0.66.1-1  vte3-0.66.1-1
               vulkan-intel-21.2.5-1  vulkan-radeon-21.2.5-1  wayland-1.19.0-2  webkit2gtk-2.34.1-2  webkit2gtk-4.1-2.34.1-2  wpebackend-fdo-1.12.0-1
               x264-3:0.163.r3060.5db6aa6-1  xapp-2.2.4-1  xdg-desktop-portal-gnome-41.1-1  xdg-desktop-portal-gtk-1.10.0-3
               xdg-desktop-portal-gtk-1.10.0-1 [removal]  xf86-input-elographics-1.4.2-3  xf86-input-evdev-2.10.6-3  xf86-input-libinput-1.2.0-2
               xf86-input-void-1.4.1-6  xf86-input-wacom-0.40.0-2  xf86-video-amdgpu-21.0.0-2  xf86-video-ati-1:19.1.0.r9.g5eba006e-1
               xf86-video-intel-1:2.99.917+916+g31486f40-2  xf86-video-nouveau-1.0.17-2  xorg-server-21.1.1-3.1  xorg-server-common-21.1.1-3
               xorg-xwayland-21.1.3-1  yay-11.0.2-1  yelp-41.1-1  zenity-3.41.0-1

Total Installed Size:  6676,02 MiB
Net Upgrade Size:       187,25 MiB

:: Proceed with installation? [Y/n] y
(308/308) checking keys in keyring                                                         [#####################################################] 100%
(308/308) checking package integrity                                                       [#####################################################] 100%
(308/308) loading package files                                                            [#####################################################] 100%
(308/308) checking for file conflicts                                                      [#####################################################] 100%
error: failed to commit transaction (conflicting files)
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/authorizedbuyersmarketplace.v1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/cloudsupport.v2beta.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/containeranalysis.v1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/datapipelines.v1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/datastream.v1alpha1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/domains.v1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/tpu.v2alpha1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/versionhistory.v1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/vmmigration.v1.json exists in filesystem
python-google-api-python-client: /usr/lib/python3.9/site-packages/googleapiclient/discovery_cache/documents/vmmigration.v1alpha1.json exists in filesystem
Errors occurred, no packages were upgraded.

Try and remove python-google-api-python-client and then run the update. If needed you can install python-google-api-python-client again. I would check if it is even a required dependency on your system as you may not need it at all.

To check:

pactree -r python-google-api-python-client

Never use pip with sudo, that’s why.

Thanks! I remove the entire googleapi directory and it went good afterwards.

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