Add EOS Repositories/Mirrors to Arch WSL

Hi,

is there a easy way to add the Endeavour OS Repositories/Mirrors to the Arch WSL installation on Windows?

Kind Regards,
JCA

Here is an older version of the instructions.

I’ll share the updated instructions a bit later but it’s the same concept.

1 Like

Worked like a charm.

Key Import run into an error
==> ERROR: Remote key not fetched correctly from keyserver

Looks like, if i install something and not just update the repo i get an key error.

So i probaply still need an up to date keyserver

Thank You

After looking through the tutorials and not finding anything, I searched the forum. Which also did not yield an answer to my question.

Unfortunately you did not read my initial question or my answer to @sradjoker’s constructive answer.

Since you have not done so, here is a summary.
It’s about WSL (Windows Subsystem for Linux).
And how I get the repos from EOS into WSL.

It is based on, does not mean that it offers the same comfort, which is much higher with EOS than with Arch directly.
Example, Arch does not recommend to use AUR helper and does not offer it in the repos.

In the conversation between @sradjoker and me you can see that I have already added the repos as in your suggestion.
And that it doesn’t work that way, because I can’t access the EOS repo without the necessary keys

I then went looking again and tried to add the missing keys.
This question has also been asked and answered dozens of times here in the forum, but unfortunately none of them are up to date.
Which is why I asked for the current keyserver.

You accuse me of not informing myself before I ask a question, but you don’t even read my question.
Are you serious?

Install the package with our keys in it, endeavouros-keyring

Thank, you.
But that is exactly the problem I’m facing.
I can’t install anything from the EOS Repos, because i don’t have valid certificates.

Example output

# pacman -Ss endeavouros-keyring
endeavouros/endeavouros-keyring 20231222-1
    EndeavourOS keyring

# pacman -S endeavouros-keyring
resolving dependencies...
looking for conflicting packages...

Package (1)                      New Version  Net Change  Download Size

endeavouros/endeavouros-keyring  20231222-1     0.01 MiB       0.02 MiB

Total Download Size:   0.02 MiB
Total Installed Size:  0.01 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 endeavouros-keyring-20231222-1-any                  21.1 KiB   105 KiB/s 00:00 [----------------------------------------------] 100%(1/1) checking keys in keyring                                                  [----------------------------------------------] 100%
(1/1) checking package integrity                                                [----------------------------------------------] 100%
error: endeavouros-keyring: signature from "manuel <manuel@endeavouros.com>" is unknown trust
:: File /var/cache/pacman/pkg/endeavouros-keyring-20231222-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.

If you download the keyring package and then install it with pacman -U, it should let you bypass the sig check.

2 Likes

Same error.

But after changing the following in /etc/pacman.conf

“LocalFileSigLevel = Optional” to “Never TrustAll”
Off course, i turned it back to Optional afterwards

Installation worked without an error after changing this.

Changing the SigLevel in general would work as well, i guess.
But i think the “LocalFileSigLevel” is the preferable way.

Thank you @dalto & @sradjoker
Now i can enjoy EOS on Windows as well

1 Like

This is what i use on changing arch docker into eos docker:

wget https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/main/pacman.conf
cp pacman.conf /etc/pacman.conf
wget https://raw.githubusercontent.com/endeavouros-team/EndeavourOS-ISO/main/airootfs/etc/makepkg.conf
cp makepkg.conf /etc/makepkg.conf
wget https://raw.githubusercontent.com/endeavouros-team/PKGBUILDS/master/endeavouros-mirrorlist/endeavouros-mirrorlist
cp endeavouros-mirrorlist /etc/pacman.d/endeavouros-mirrorlist
pacman-key --recv-key 0F20FADC599D1C46EB556455AED8858E4B9813F1 --keyserver keyserver.ubuntu.com && pacman-key --lsign-key 0F20FADC599D1C46EB556455AED8858E4B9813F1
pacman-key --recv-key 497AF50C92AD2384C56E1ACA003DB8B0CB23504F --keyserver keyserver.ubuntu.com && pacman-key --lsign-key 497AF50C92AD2384C56E1ACA003DB8B0CB23504F
pacman-key --init
pacman -Syy endeavouros-keyring 
pacman -S  endeavouros-mirrorlist
2 Likes

I think my commands are something similar:

eos-arm-docker/Dockerfile at main · sravanpannala/eos-arm-docker

1 Like