Package conflict when updating

When i tried to update the system, i got the following conflicts.

yay
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
:: 10 packages to upgrade/install.
10  endeavouros/eos-apps-info    23-3      -> 23-4
 9  endeavouros/eos-bash-shared  23.20-1   -> 23.21-1
 8  core/xz                      5.4.4-1   -> 5.4.5-1
 7  extra/git                    2.42.0-1  -> 2.42.1-1
 6  extra/jre-openjdk            21.u35-3  -> 21.u35-7
 5  extra/jre-openjdk-headless   21.u35-3  -> 21.u35-7
 4  extra/libnet                 2:1.1.6-1 -> 2:1.3-1
 3  extra/libreoffice-still      7.5.7-3   -> 7.5.8-1
 2  extra/qt6-base               6.6.0-2   -> 6.6.0-3
 1  extra/suitesparse            7.3.0-1   -> 7.3.1-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
Sync Explicit (4): libreoffice-still-7.5.8-1, eos-apps-info-23-4, jre-openjdk-21.u35-7, git-2.42.1-1
Sync Dependency (6): qt6-base-6.6.0-3, eos-bash-shared-23.21-1, xz-5.4.5-1, jre-openjdk-headless-21.u35-7, suitesparse-7.3.1-1, libnet-2:1.3-1
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
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
 -> error installing repo packages

I could just remove libreoffice and install it again, to resolve this i guess. Do you have any better way.

The solution is here:

1 Like

not marking as solution so that this will live without closing.

I have similar problem too with error

:: jdk-openjdk and jre-openjdk are in conflict
→ error installing repo packages
error installing repo packages

This post solved it for me.

2 Likes

I am pleased that your update could be carried out with the help of my post

What is the benefit of this choice?

Marking the solution can be helpful for other people who have the same issue, so they may find the solution more easily when searching the forum.

1 Like

i am not able to 404 error go away. this happens everytime i use yay. please suggest me how to fix this.

[sudo] password for pannet1: 
:: Synchronizing package databases...
                                      endeavouros
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
 instant is up to date
error: failed retrieving file 'extra.db' from mirror.eloteam.tk : The requested URL returned error: 404
error: failed retrieving file 'multilib.db' from mirror.eloteam.tk : The requested URL returned error: 404
error: failed retrieving file 'core.db' from mirror.eloteam.tk : The requested URL returned error: 404
warning: too many errors from mirror.eloteam.tk, skipping for the remainder of this transaction
:: Searching AUR for updates...
:: Searching databases for updates...
 -> Packages not in AUR: eos-skel-ce-qtile
 there is nothing to do```

Remove that mirror from /etc/pacman.d/mirrorlist

1 Like

What is “instant” repo?

Changed the title of the thread, as the original made me think it was going to be an article about how to solve general update issues. But this is specific to JDK/JRE.

PS: You can mark it as solved, since solved threads don’t disappear. They are still very much visible.

thanks dalto for coming to my rescue, as always. its gone now.

note: prior i tried running updating arch and eos mirrors. i was not able to make it go that time.

1 Like

I see someone is stubborn… Okay. Will just mute this. :person_shrugging:

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