CachyOS / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the CachyOS performance optimized distribution
3 stars 0 forks source link

Update error. Need help, please. #47

Closed fabcard closed 2 months ago

fabcard commented 2 months ago

Hello CachyOS team. Sorry if I'm posting this on a wrong place and excuse my poor English, it's not my main language. I'm a new Linux and CachyOS user, and today I got lots of updates available to install. I never had any problem updating my system until now, where it gave me some errors, and it was unable to install as showing below:

:: Synchronising package databases...
 cachyos-v3 is up to date
 cachyos-core-v3 is up to date
 cachyos-extra-v3 is up to date
 cachyos is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 chaotic-aur is up to date
:: Starting full system upgrade...
resolving dependencies...
:: There are 2 providers available for totem-plparser:
:: Repository cachyos-extra-v3
   1) totem-pl-parser
:: Repository extra
   2) totem-pl-parser

Enter a number (default=1): 
looking for conflicting packages...

warning: insufficient columns available for table display
Packages (88) adwaita-cursors-47.0-1  adwaita-icon-theme-47.0-1
              adwaita-icon-theme-legacy-46.2-3  at-spi2-core-2.54.0-1.1
              bind-9.20.2-1.1  curl-8.10.1-1.1  eog-47.0-1.1  eza-0.19.4-1.1
              fastfetch-2.25.0-1.1  gdm-47.0-1.1  gedit-48.0-1.1
              ghostscript-10.04.0-1.1  gjs-2:1.82.0-1.1  glib2-2.82.0-1.1
              gnome-backgrounds-47.0-1  gnome-bluetooth-3.0-47.0-2.1
              gnome-calculator-47.0-1.1  gnome-control-center-47.0.1-1.1
              gnome-keybindings-47.0.1-1.1  gnome-online-accounts-3.52.0-1.1
              gnome-session-47.0.1-1.1  gnome-settings-daemon-47.1-1.1
              gnome-shell-1:47.0-1.1  gnome-terminal-3.54.0-1.1
              gnupg-2.4.5-5.1  gobject-introspection-runtime-1.82.0-1.1
              gsettings-desktop-schemas-47.1-1  gsettings-system-schemas-47.1-1
              gtk-update-icon-cache-1:4.16.1-1.1  gtk3-1:3.24.43-3.1
              gtk4-1:4.16.1-1.1  gtksourceview5-5.14.0-1.1  gvfs-1.56.0-1
              gvfs-afc-1.56.0-1  gvfs-gphoto2-1.56.0-1  gvfs-mtp-1.56.0-1
              gvfs-nfs-1.56.0-1  gvfs-smb-1.56.0-1  js128-128.2.0-1.1
              json-c-0.18-1.1  lib32-curl-8.10.1-1
              lib32-libva-mesa-driver-1:24.2.3-2  lib32-mesa-1:24.2.3-2
              lib32-mesa-vdpau-1:24.2.3-2  lib32-opencl-rusticl-mesa-1:24.2.3-2
              lib32-vulkan-radeon-1:24.2.3-2  libadwaita-1:1.6.0-1.1
              libavif-1.1.1-2.1  libcue-2.3.0-1.1  libgedit-amtk-5.9.0-1.1
              libgedit-gfls-0.2.0-1.1  libgedit-gtksourceview-299.3.0-1.1
              libgedit-tepl-6.11.0-1.1  libgirepository-1.82.0-1.1
              libgoa-3.52.0-1.1  libheif-1.18.2-2.1  libiptcdata-1.0.5-3.1
              libjpeg-turbo-3.0.4-1.1  libnautilus-extension-47.0-2.1
              libosinfo-1.11.0-3.1  librsvg-2:2.59.0-1.1  libsynctex-2024.2-3.1
              libsysprof-capture-47.0-1.1  libtiff-4.7.0-1.1
              libva-mesa-driver-1:24.2.3-2  localsearch-3.8.0-1.1
              mesa-1:24.2.3-2  mesa-vdpau-1:24.2.3-2  mutter-47.0-1.1
              nano-syntax-highlighting-2022.11.02.r102.gbb94603-1
              nautilus-47.0-2.1  opencl-rusticl-mesa-1:24.2.3-2
              osinfo-db-20240701-1  poppler-24.09.0-2.1
              poppler-glib-24.09.0-2.1  python-gobject-3.50.0-1  tecla-47.0-1.1
              tinysparql-3.8.0-1  totem-pl-parser-3.26.6+r30+g51b8439-1.1
              uchardet-0.0.8-3.1  upower-1.90.6-1.1  vte-common-0.78.0-1.1
              vte3-0.78.0-1.1  vulkan-radeon-1:24.2.3-2  webkit2gtk-2.46.0-1
              webkit2gtk-4.1-2.46.0-1  webkitgtk-6.0-2.46.0-1
              xdg-desktop-portal-gnome-47.1-1.1

Total Installed Size:  1246.07 MiB
Net Upgrade Size:        14.19 MiB

:: Proceed with installation? [Y/n] 
(88/88) checking keys in keyring                   [----------------------] 100%
(88/88) checking package integrity                 [----------------------] 100%
(88/88) loading package files                      [----------------------] 100%
(88/88) checking for file conflicts                [----------------------] 100%
error: failed to commit transaction (conflicting files)
tinysparql: /usr/lib/girepository-1.0/Tracker-3.0.typelib exists in filesystem (owned by tracker3)
tinysparql: /usr/lib/libtracker-sparql-3.0.so exists in filesystem (owned by tracker3)
tinysparql: /usr/lib/libtracker-sparql-3.0.so.0 exists in filesystem (owned by tracker3)
tinysparql: /usr/lib/pkgconfig/tracker-sparql-3.0.pc exists in filesystem (owned by tracker3)
tinysparql: /usr/share/dbus-1/services/org.freedesktop.portal.Tracker.service exists in filesystem (owned by tracker3)
tinysparql: /usr/share/gir-1.0/Tracker-3.0.gir exists in filesystem (owned by tracker3)
tinysparql: /usr/share/vala/vapi/tracker-sparql-3.0.deps exists in filesystem (owned by tracker3)
tinysparql: /usr/share/vala/vapi/tracker-sparql-3.0.vapi exists in filesystem (owned by tracker3)
Errors occurred, no packages were upgraded.
Done - Press enter to exit

Could someone help me fix this problem, please? I have no idea what I have to do. Thanks in advance.

vnepogodin commented 2 months ago

if sudo pacman -Syuu doesnt help, then sudo pacman -Rdd tracker3 and update the system as usual

joaodefelipe commented 1 month ago

That's what I did too -- might this have been avoided by also bumping the conflict on tinysparql to tracker3<=3.7.3-2.1? Some quick browsing through libalpm and libalpm_depends(3) seem to imply version comparison is only processed for dependencies, not conflicts, but I'm not familiar with it enough to say. Some users on Reddit seem to have upgraded just fine, but it's unclear whether other packages played a role.

I guess removing the version as you did works just as well, since it shouldn't be possible to use gtk3 and gtk4 with tracker3 after it got replaced with tinysparql on the depends field, but I'm still curious.

ptr1337 commented 1 month ago

We have bumped tinysparql manually, which puts a proper replace. This should now work properly, see CachyOS-PKGBUILDs tinysparql package.

ang-63 commented 1 month ago

Guys sorry but after "sudo pacman -Rdd tracker3" i cannot login into CachyOS. I'd try to login on SDDM by input password but its just refresh screen and offer me to login again and again

1Naim commented 1 month ago

Boot into live ISO -> chroot into your system -> run sudo pacman -Syu

ang-63 commented 1 month ago

Boot into live ISO -> chroot into your system -> run sudo pacman -Syu

1Naim can you give me link to right guide for that as i got from google search a different methods of chrooting and I'm afraid to make it worse

1Naim commented 1 month ago

https://wiki.cachyos.org/features/cachy_chroot/#usage

ang-63 commented 1 month ago

1Naim, Ive boot, chroot, sudo pacman -Syu and got about 10 conflicts like Failed to commit transaction: Localsesrch: /usr/share/dbus-1/interfaces/org.freedesktop.tracker3.minerfilex.index.xml exists in filesystem (owned by tracker3-miners) and like this.

Whst to do?

пт, 20 сент. 2024 г., 15:18 Eric Naim @.***>:

https://wiki.cachyos.org/features/cachy_chroot/#usage

— Reply to this email directly, view it on GitHub https://github.com/CachyOS/distribution/issues/47#issuecomment-2363494483, or unsubscribe https://github.com/notifications/unsubscribe-auth/BISM4NXYC56AXQ5LZT3NUM3ZXQAAVAVCNFSM6AAAAABOQCL6D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTGQ4TINBYGM . You are receiving this because you commented.Message ID: @.***>

1Naim commented 1 month ago

pacman -Rdd tracker3-miners from chroot.

ang-63 commented 1 month ago

1Naim And then?

пт, 20 сент. 2024 г., 16:28 Eric Naim @.***>:

pacman -Rdd tracker3-miners from chroot.

— Reply to this email directly, view it on GitHub https://github.com/CachyOS/distribution/issues/47#issuecomment-2363614645, or unsubscribe https://github.com/notifications/unsubscribe-auth/BISM4NVV7SHTSJ3E77YNDUTZXQIF7AVCNFSM6AAAAABOQCL6D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTGYYTINRUGU . You are receiving this because you commented.Message ID: @.***>

1Naim commented 1 month ago

pacman -Syu, make sure tinysparql and localsearch are installed after.

ang-63 commented 1 month ago

Thank you, i will try!

пт, 20 сент. 2024 г., 16:32 Eric Naim @.***>:

pacman -Syu, make sure tinysparql and localsearch are installed after.

— Reply to this email directly, view it on GitHub https://github.com/CachyOS/distribution/issues/47#issuecomment-2363632245, or unsubscribe https://github.com/notifications/unsubscribe-auth/BISM4NXZXA6LCAQSNWXPFZDZXQIW5AVCNFSM6AAAAABOQCL6D6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRTGYZTEMRUGU . You are receiving this because you commented.Message ID: @.***>

ang-63 commented 1 month ago

pacman -Syu, make sure tinysparql and localsearch are installed after.

1Naim all is ok now. Thank you very much!