Unable to perform system update

i am having trouble to update my system, anyone knows what can be done, thanks

┬─[ramon@ramon-m61pmes2p:~]─[15:23:01]
╰─>$ LANG=C yay -Syyu                                               1 < 15:23:01
:: Synchronizing package databases...
 endeavouros            26,4 KiB  46,0 KiB/s 00:01 [----------------------] 100%
 core                  132,5 KiB   151 KiB/s 00:01 [----------------------] 100%
 extra                   8,2 MiB  4,52 MiB/s 00:02 [----------------------] 100%
 community              45,0   B   100   B/s 00:00 [----------------------] 100%
 multilib              141,1 KiB   156 KiB/s 00:01 [----------------------] 100%
:: 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 refreshing databases - exit status 1

I think this is the Java problem that Bryanpwo warned us about, you can read it here.

Edit:

you still have the community repo. There was a change in the repos months ago.

you should change your

/etc/pacman.conf

with the content of

if you use the standard repos. Of course, it’s best to create a backup before changing the file.

so i can replace all the content of my pacman.conf with that updated one ?

Either that or even easier you delete the two lines from the community repo.

you mean delete these ?

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

yes this one

am i missing anything ? it did not work

┬─[ramon@ramon-m61pmes2p:~]─[16:08:06]
╰─>$ LANG=C yay -Syu                                                                                                                                                                       1 < 16:08:06
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra                                                                                        8,2 MiB  4,57 MiB/s 00:02 [------------------------------------------------------------------------] 100%
 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 refreshing databases - exit status 1

You can’t have both jre-openjdk and jre-openjdk-headless installed. They conflict with each other.

Uninstall one of them.

The community repo has nothing to do with your Java problem, they are independent of each other. As I understood it from Bryanpwo, you would have to remove one of the two Java packages.

i ended removing jre-openjdk since i tried the other one first and had trouble unistalling it

Now you could update your system and see if it works.

yes, thanks on the help, i’ll mark the topic as solved