718 Pending updates. Cannot update system

This is a list of the files that seem to be stopping my update: It looks like a lot of them are from the AUR

Ocamlnet
Ocaml-lov
Ocaml-ocplib-endian
Ocaml-ppx
Ocaml-xmlm
Ocaml-yojson
Ocaml-react build files
Ocaml-ppxlib
Ocaml-seq
Ocaml-lwt
Gapi-ocaml
Libkipi
Normcap
Yacreader
Parsec-bin
Python-dataparser
Libpdfium-nojs
Electron16
Auto-cpufreq
Python-pep517
ocaml-compiler-libs'
Ocaml-ounit build
Transcode
Komikku
Python-jarowinkler
zoom
Ocaml-extlib
Google Chrome Build files
Google-Docs-bin
Tesseract-data-best-jpn
Libunnar
Python-rarfile
Python-tesserocr
Anki Build file
Zoom

jre-openjdk and jre-openjdk-headless are in conflict

I dont know about the myriad of third party packages.
But as to the last part …

As always, check the update announcement thread…

It didn’t work when I ran it

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20231207-1

Total Download Size:   1.15 MiB
Total Installed Size:  1.64 MiB
Net Upgrade Size:      0.02 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 archlinux-keyring-20231207-1-any                                 1180.2 KiB   323 KiB/s 00:04 [#######################################################] 100%
(1/1) checking keys in keyring                                                                 [#######################################################] 100%
(1/1) checking package integrity                                                               [#######################################################] 100%
(1/1) loading package files                                                                    [#######################################################] 100%
(1/1) checking for file conflicts                                                              [#######################################################] 100%
(1/1) checking available disk space                                                            [#######################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) upgrading archlinux-keyring                                                              [#######################################################] 100%
==> Appending keys from archlinux.gpg...
==> Disabling revoked keys in keyring...
  -> Disabled 3 keys.
==> Updating trust database...
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:  25  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:  25  signed: 101  trust: 0-, 0q, 0n, 25m, 0f, 0u
gpg: depth: 2  valid:  73  signed:  28  trust: 73-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2024-01-21
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Refreshing PackageKit...

resolving dependencies...
looking for conflicting packages...
:: jdk-openjdk and jre-openjdk are in conflict. Remove jre-openjdk? [y/N] y
:: jdk-openjdk and jre-openjdk-headless are in conflict. Remove jre-openjdk-headless? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing jre-openjdk breaks dependency 'jre-openjdk>=17' required by tachidesk-jui

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

You didnt include what you actually ran.

If you need jre … then thats what you should pick.


sudo pacman -Syuu jre-openjdk

This is also because you have some other unsupported package tachidesk-jui installed (which is also orphaned by the way).

My more full suggestion is to remove that package.

I ran:

sudo pacman -Syuu jre-openjdk

After running what you told me

sudo pacman -Syuu jre-openjdk
 sudo pamac remove tachidesk-jui                                                                                                     1 ✘  43s  
[sudo] password for sham: 
Preparing...
Checking dependencies...

To remove (1):
  tachidesk-jui  1.3.2-1    

Total removed size: 321.1 MB

Apply transaction ? [y/N] y
Removing tachidesk-jui (1.3.2-1)...                                                                                                                     [1/1]
Running post-transaction hooks...
Arming ConditionNeedsUpdate...                                                                                                                          [1/3]
Refreshing PackageKit...                                                                                                                                [2/3]
Updating the desktop file MIME type cache...                                                                                                            [3/3]
Transaction successfully finished.
    ~  pacman -Syuu jre-openjdk                                                                                                               ✔  9s  
error: you cannot perform this operation unless you are root.
    ~  sudo sudo pacman -Syuu jre-openjdk                                                                                                          1 ✘ 
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace appstream-qt with extra/appstream-qt5? [Y/n] Y
:: Replace grub-update with core/update-grub? [Y/n] Y
:: Replace kdsoap with extra/kdsoap-qt5? [Y/n] Y
:: Replace kgamma5 with extra/kgamma? [Y/n] Y
warning: kpeoplevcard: downgrading from version 0.1+r38.32d50a9-1 to version 0.1-2
:: Replace kuserfeedback with extra/kuserfeedback5? [Y/n] Y
:: Replace libkdcraw with extra/libkdcraw5? [Y/n] Y
:: Replace libqaccessibilityclient with extra/libqaccessibilityclient-qt5? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jre-openjdk and jre-openjdk-headless are in conflict

I dont know why it wouldnt do the replace …

but if you dont need that tachidesk package … then you probably dont need jre and we are back to the original suggestion;

sudo pacman -Sy jdk-openjdk && sudo pacman -Suu

In the past the JDK part of Java was depending on the JRE package, which only shipped the runtime environment. With resent changes upstream the JDK is now shipping the runtime environment as it should be, hence the conflict with JRE. So if you are not in coding a JDK is normally not needed but would also work if you might do coding later. More info here: Arch Linux - News: Incoming changes in JDK / JRE 21 packages may require manual intervention

As for the other packages, it was said many times aur is unsupported, for advanced users and unstable branch. You can start with removing orphans, and then if needed anything else stopping the update. And when you update you can reinstall / rebuild what you need.

2 Likes

I ran that and got this

sudo pacman -Sy jdk-openjdk && sudo pacman -Suu                                                                                 1 ✘  12m 59s  
[sudo] password for sham: 
:: Synchronizing package databases...
 core is up to date
 extra                                                               8.6 MiB   380 KiB/s 00:23 [#######################################################] 100%
 community is up to date
 multilib is up to date
warning: jdk-openjdk-21.u35-8 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) jdk-openjdk-21.u35-8

Total Installed Size:  1136.47 MiB
Net Upgrade Size:         0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                 [#######################################################] 100%
(1/1) checking package integrity                                                               [#######################################################] 100%
(1/1) loading package files                                                                    [#######################################################] 100%
(1/1) checking for file conflicts                                                              [#######################################################] 100%
(1/1) checking available disk space                                                            [#######################################################] 100%
:: Running pre-transaction hooks...
(1/1) Creating Timeshift snapshot before upgrade...
==> skipping timeshift-autosnap due skipRsyncAutosnap in /etc/timeshift-autosnap.conf set to TRUE.
:: Processing package changes...
(1/1) reinstalling jdk-openjdk                                                                 [#######################################################] 100%
:: Running post-transaction hooks...
(1/4) Arming ConditionNeedsUpdate...
(2/4) Refreshing PackageKit...
(3/4) Updating icon theme caches...
(4/4) Updating the desktop file MIME type cache...
:: Starting full system upgrade...
:: Replace appstream-qt with extra/appstream-qt5? [Y/n] Y
:: Replace grub-update with core/update-grub? [Y/n] Y
:: Replace kdsoap with extra/kdsoap-qt5? [Y/n] Y
:: Replace kgamma5 with extra/kgamma? [Y/n] Y
warning: kpeoplevcard: downgrading from version 0.1+r38.32d50a9-1 to version 0.1-2
:: Replace kuserfeedback with extra/kuserfeedback5? [Y/n] Y
:: Replace libkdcraw with extra/libkdcraw5? [Y/n] Y
:: Replace libqaccessibilityclient with extra/libqaccessibilityclient-qt5? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing kxmlgui5 (5.113.0-1) breaks dependency 'kxmlgui' required by libkipi
:: installing kservice5 (5.113.0-1) breaks dependency 'kservice' required by libkipi
    ~ 

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

Further complications from other unsupported packages. *kipi* has been deprecated for a bit.
Remove any *kipi* packages.

I haven’t found any packages that say kipi

…not libkipi ?

(the other one commonly found would be kipi-plugins, but I did not see it mentioned here [yet] … though it begs the question why libkipi was installed. But I think it would be a tireless and fruitless endeavor to ask ‘why’ about any packages at this point.)

I don’t see that libkipi is installed.

pacman -Qs kipi

If it is there remove it

sudo pacman -Rns libkipi

Thanks, I removed it.

Great. You should be able to continue now.
And since you did the install already … its probably fine to just do

sudo pacman -Syuu

Thank you! sudo pacman -Syuu worked.
But now it says I have 33 updates available

And now you are finally synced, and from now on regular updates should do.

sudo pacman -Syu

But remember to pay attention and check update announcements if needed.

1 Like

Thanks will do!

1 Like

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