Desktop Environment: XFCE
Kernel: 6.5.11-1
Hi,
I seem to be locked in a vicious circle with respect to updating my two computers, which are practically identical in setup.
To begin:
When I tried to run updates on Manjaro yesterday, it ultimately failed due to the apparently topical jre/jdk problem, resulting in:
"conflicting dependencies:
- jre-openjdk and jre-openjdk-headless are in conflict"
Then, after doing some searches, I tried the following:
"pacman -Sy jdk-openjdk
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
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
Packages (4) java-environment-common-3-5 jre-openjdk-21.u35-3 [removal] jre-openjdk-headless-21.u35-3 [removal] jdk-openjdk-21.u35-8
Total Download Size: 457.46 MiB
Total Installed Size: 1136.47 MiB
Net Upgrade Size: 943.30 MiB
:: Proceed with installation? [Y/n] y
:: Retrieving packages...
jdk-openjdk-21.u35-8-x86_64 457.5 MiB 3.84 MiB/s 01:59 [#################################################] 100%
java-environment-common-3-5-any 2.6 KiB 128 KiB/s 00:00 [#################################################] 100%
Total (2/2) 457.5 MiB 3.84 MiB/s 01:59 [#################################################] 100%
(2/2) checking keys in keyring [#################################################] 100%
(2/2) checking package integrity [#################################################] 100%
error: java-environment-common: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/java-environment-common-3-5-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: jdk-openjdk: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/jdk-openjdk-21.u35-8-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded."
And then tried pacman with -Syu instead:
"pacman -Syu jdk-openjdk
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace kuserfeedback with extra/kuserfeedback5? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jdk-openjdk and jre-openjdk are in conflict"
And finally had a go via pamac (I have looked at a lot of pages):
pamac install jdk-openjdk --no-upgrade; pamac update --no-aur
Preparing...
Choose optional dependencies for jdk-openjdk:
1: java-rhino: for some JavaScript support
Enter a selection (default=none): 1
Resolving dependencies...
Checking inter-conflicts...
To install (3):
java-environment-common 3-5 (Required By: jdk-openjdk) extra 2.6 kB
jdk-openjdk 21.u35-8 extra 479.7 MB
java-rhino 1.7.14-1 extra 1.3 MB
To remove (2):
jre-openjdk 21.u35-3 (Conflicts With: jdk-openjdk) extra
jre-openjdk-headless 21.u35-3 (Conflicts With: jdk-openjdk) extra
Total download size: 481.0 MB
Total installed size: 1.2 GB
Total removed size: 202.6 MB
Apply transaction ? [y/N] y
Download of java-environment-common (3-5) started
Download of java-environment-common (3-5) finished
Download of jdk-openjdk (21.u35-8) started
Download of java-rhino (1.7.14-1) started
Download of java-rhino (1.7.14-1) finished
Download of jdk-openjdk (21.u35-8) finished
Checking keyring... [3/3]
Downloading required keys...
Error: key "7A4E76095D8A52E4" could not be imported
Error: required key missing from keyring
Error: Failed to commit transaction
Preparing...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...
Error: unresolvable package conflicts detected
Error: Failed to prepare transaction:
conflicting dependencies:
- jre-openjdk and jre-openjdk-headless are in conflict
In addition, trying to install anything results in errors of the form,
"error: jdk-openjdk: signature from "Frederik Schwan <frederik.schwan@linux.com>" is unknown trust
:: File /var/cache/pacman/pkg/jdk-openjdk-21.u35-8-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))"
and trying to reset the keys via the first step of âpacman-key --initâ results in a long long list of messages just like theseâŚ
gpg: keydb_get_keyblock failed: Invalid keyring
gpg: validate_key_list failed
gpg: mpi too large (41213 bits)
gpg: keyring_get_keyblock: read error: Invalid packet
gpg: keydb_get_keyblock failed: Invalid keyring
Running âsudo pacman-mirrorsâ makes no difference.
WHAT SHOULD I DO???
Oliver.
Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text