5

As mentioned in the titel the merge of this two packages prevents me from updating.

sudo pacman -Syu gives me the following output:

:: Package databases are synchronised ... core is up to date extra 8.3 MiB 22.2 MiB/s 00:00 [--------------------------------------------------------------------] 100% community is up to date multilib is up to date :: Complete system update is started ... :: replace analitza with extra/analitza5? [Y/n] :: replace appstream-qt with extra/appstream-qt5? [Y/n] :: replace kdsoap with extra/kdsoap-qt5? [Y/n] :: replace kquickimageeditor with extra/kquickimageeditor5? [Y/n] :: replace libkcddb with extra/libkcddb5? [Y/n] :: replace libkdcraw with extra/libkdcraw5? [Y/n] Dependencies are resolved ...

Conflicting packages are searched for ... Error: Unresolvable package conflicts found Error: Process could not be prepared (Conflicting dependencies) :: jdk-openjdk and jre-openjdk are in conflict with each other

pacman -Qi tells me the following:

Name : jre-openjdk Version : 21.u35-3 Description : OpenJDK Java 21 full runtime environment Architecture : x86_64 URL : https://openjdk.java.net/ Licences : custom Groups : Nothing Provides : java-runtime=21 java-runtime-openjdk=21 jre21-openjdk=21.u35-3 Depends on : jre21-openjdk-headless=21.u35-3 giflib libgif.so glibc gcc-libs libpng Optional dependencies : alsa-lib: for basic sound support [Installed] gtk2: for the Gtk+ 2 look and feel - desktop usage [Installed] gtk3: for the Gtk+ 3 look and feel - desktop usage [Installed] Required by : jdk-openjdk minecraft-launcher Optional for : libbluray libjpeg-turbo libjxl libreoffice-fresh In conflict with : Nothing Replaced : Nothing Install size : 589.86 KiB Packer : Frederik Schwan Created on : Thu 21 Sep 2023 21:15:27 CEST Installed on : Sun 01 Oct 2023 16:09:39 CEST Reason for installation : Installed as a dependency of another package Installation script : Yes Verified by : Signature

and

Name : jdk-openjdk Version : 21.u35-3 Description : OpenJDK Java 21 development kit architecture : x86_64 URL : https://openjdk.java.net/ Licenses : custom groups : Nichts provides : java-environment=21 java-environment-openjdk=21 jdk21-openjdk=21.u35-3 dependend from : jre21-openjdk=21.u35-3 java-environment-common=3 hicolor-icon-theme libelf glibc gcc-libs optional dependencies : Nichts needed from : netbeans optional for : libreoffice-fresh In Konflikt mit : Nichts replaces : Nichts Installation Size : 308,99 MiB Packer : Frederik Schwan created at : Do 21 Sep 2023 21:15:27 CEST date of installation : So 01 Okt 2023 16:09:40 CEST Installationreason : Installed as a dependency of another package Installation Script : Ja verified through : Signatur

Manually updating/removing one of the two packages still gives me the Error that they are conflicting.

Does anyone knows how i can fix this problem?

all 20 comments
sorted by: hot top controversial new old
[-] snowstorm@feddit.de 22 points 11 months ago
[-] user224@lemmy.sdf.org 4 points 11 months ago

This did work for me.

[-] cows_are_underrated@feddit.de 0 points 11 months ago

The recommended command doesnt work for me. I get the same error message mentioned in my post.

[-] snowstorm@feddit.de 2 points 11 months ago

Might try just removing it, pacman -R jre-openjdk and then pacman -Syu jdk-openjdk

[-] cows_are_underrated@feddit.de 0 points 11 months ago

That didn't work. If I used packman -Rdd it worked.

[-] drwankingstein@lemmy.dbzer0.com 12 points 11 months ago* (last edited 11 months ago)

stay up to date with arch news. you can subscribe to the feed, or just periodically check like I do

[-] bart@feddit.nl 6 points 11 months ago

You can also use informant, which will notify you of unread news when using pacman

[-] Zenzio@kbin.social 7 points 11 months ago

Paru has this funtionality build in. I don't remember whether it is enabled by default though.

[-] bart@feddit.nl 2 points 11 months ago* (last edited 11 months ago)

No, I think you have to enable it by default. I moved back to yay some time ago, because paru development seemed stalled (e.g. paru -G not working anymore) but the news integration was one of its nice small features that I have not seen somewhere else.

[-] Rustmilian@lemmy.world 3 points 11 months ago* (last edited 11 months ago)

paru -G is dependent on the asp package and works just fine, it's more likely you forgot to install it as it's an optional dependency like bat. Nore is development "stalled", it's more or less feature complete and doesn't have much worth creating a new release for.

[-] bart@feddit.nl 1 points 11 months ago

Since the move to git, asp is deprecated. It downloads the latest version from svn (from before the migration), not from git (which now has the latest versions). A bug was open for a long time without any activity. I see it has been fixed in the meanwhile, but yeah, it does not give me confidence it will keep up with arch changes in the future. Pity, it was a nice project. Maybe some new developers could pick it up, who knows. (I would have helped, but my knowledge of rust is too limited for now).

[-] Rustmilian@lemmy.world 3 points 11 months ago* (last edited 11 months ago)

Paru v2.0.0 has now dropped asp for the pure git approach.

[-] bart@feddit.nl 1 points 10 months ago

Great! And now I realized one great feature I missed: "-Sss" to be able to immediately see and visit upstream URLs of packages. It's so simple, but so handy when comparing different options.

[-] Rustmilian@lemmy.world 2 points 11 months ago* (last edited 11 months ago)

It's probably not too hard to switch from asp to pkgctl, I'll look into it whenever I get some free time. Tho, there is the possibility of directly using git so there's no outside dependencies whatsoever.

[-] sharkfucker420@lemmy.ml 5 points 11 months ago

Had this happen to me with a headless and non headless version. Forcing the system to delete the headless version fixed the problem for me. It might give errors about dependencies, I just ignored them and forced a deletion and it went fine.

[-] Max_P@lemmy.max-p.me 4 points 11 months ago

Same, just pacman -Rdd the jres and headless versions, then updated and everything was fine.

It's okay to tell pacman "I know what I'm doing, ignore broken dependencies" for these kinds of things where you know you'll fix it.

[-] sharkfucker420@lemmy.ml 1 points 11 months ago

Yeah that's the command I used, just couldn't remember it off the top of my head

[-] cows_are_underrated@feddit.de 1 points 11 months ago

Thanks for the tip. This worked.

[-] backhdlp@lemmy.blahaj.zone 2 points 11 months ago

I fixed it by just uninstalling all java packages and reinstalling jre-openjdk and jdk17-openjdk.

this post was submitted on 21 Nov 2023
5 points (66.7% liked)

Arch Linux

7173 readers
5 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS