Content-Length: 245903 | pFad | http://github.com/pwndbg/pwndbg/issues/2284

C5 [bug] setup-dev.sh doesn't work on Artix (and probably on Arch as well?) · Issue #2284 · pwndbg/pwndbg · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] setup-dev.sh doesn't work on Artix (and probably on Arch as well?) #2284

Open
k4lizen opened this issue Jul 5, 2024 · 5 comments
Open
Labels

Comments

@k4lizen
Copy link
Contributor

k4lizen commented Jul 5, 2024

The setup script seems to look for the glibc-debug package, but I don't think that exists?
https://archlinux.org/packages/?sort=&q=glibc-debug&maintainer=&flagged=
https://aur.archlinux.org/packages?O=0&K=glibc-debug

Also it appends three repositories to /etc/pacman.conf which happens quite willy-nilly, I believe it should be clearer on what it's doing. On artix the /etc/pacman.d/mirrorlist is the artix mirrorlist, and most people have a separate mirrorlist for arch repos. So when sudo pacman -Syu is run it can't find those repos (so it stalls? weird).

Next, even when I switch the repos to point to the arch mirrorlist (I even put Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch at the top), it errors out with the following message:

doas pacman -Syyu
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
:: Synchronizing package databases...
 system                254.0 KiB   406 KiB/s 00:01 [----------------------] 100%
 world                   4.8 MiB  2020 KiB/s 00:02 [----------------------] 100%
 galaxy                636.0 KiB   712 KiB/s 00:01 [----------------------] 100%
 extra                   7.9 MiB  11.3 MiB/s 00:01 [----------------------] 100%
 multilib              138.8 KiB   588 KiB/s 00:00 [----------------------] 100%
 core-debug             69.4 KiB   342 KiB/s 00:00 [----------------------] 100%
 extra-debug             3.4 MiB  8.11 MiB/s 00:00 [----------------------] 100%
 multilib-debug         78.5 KiB   422 KiB/s 00:00 [----------------------] 100%
error: GPGME error: No data
error: GPGME error: No data
error: GPGME error: No data
error: failed to synchronize all databases (invalid or corrupted database (PGP signature))

Do these repositories even exist? They aren't here: https://wiki.archlinux.org/title/official_repositories.

@k4lizen k4lizen added the bug label Jul 5, 2024
@gsingh93
Copy link
Member

gsingh93 commented Jul 7, 2024

cc: @anthraxx

FWIW, tests are still passing with the ArchLinux Dockerfile: https://github.com/pwndbg/pwndbg/blob/dev/Dockerfile.arch

@Aplet123
Copy link
Contributor

Aplet123 commented Jul 10, 2024

I think the current setup-debug is pretty fragile (altering pacman.conf is pretty bad and also requires geo.mirror.pkgbuild.com to be the first mirror, which isn't configured by the script), so maybe we should just take the directions from the wiki and do a direct install (although we'd need some way to fetch the newest version, so it's still not ideal)

Do these repositories even exist?

From the wiki page linked above: "A few mirrors currently distribute debug packages in accessible repositories.", which leads me to believe that this is a mirror-specific repo and not standardized.

@disconnect3d
Copy link
Member

Can you send a PR that would fix it?

@k4lizen
Copy link
Contributor Author

k4lizen commented Aug 16, 2024

Well the fact that ArchLinux tests are passing is confusing me, i'm not well versed in this topic so I'd rather someone else take a look at it, but I can take a look at it in a week or two

@disconnect3d
Copy link
Member

disconnect3d commented Aug 17, 2024

If the tests are passing there then it means it either installed there properly OR there is some caching and we are getting some old docker image or packages etc. (which is a CI bug then)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pwndbg/pwndbg/issues/2284

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy