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

Url scheme not allowed error while downloading pango on Arch Linux #1

Closed
michardy opened this issue Aug 24, 2021 · 3 comments · Fixed by #2
Closed

Url scheme not allowed error while downloading pango on Arch Linux #1

michardy opened this issue Aug 24, 2021 · 3 comments · Fixed by #2

Comments

@michardy
Copy link

While installing pango I got an error trying to download the transparency proof.

Steps taken:

  1. I installed pacman-bintrans 0.1.0-1 from the arch community repository
  2. Installed the custom transport by copying the line from the README
  3. Ran pacman -Scc
  4. Ran pacman -Syu triggering an update to multiple packages including libibus-1.5.25-2 and pango-1:1.48.9-2

Results:
The libibus download was successfully verified while the pango download failed with the following error:

[2021-08-24T02:31:22Z INFO  pacman_bintrans] Writing pkg to "/var/cache/pacman/pkg/libibus-1.5.25-2-x86_64.pkg.tar.zst.part"
[2021-08-24T02:31:22Z INFO  pacman_bintrans] Transparency proof is required for "http://mirrors.sonic.net/archlinux/extra/os/x86_64/pango-1:1.48.9-2-x86_64.pkg.tar.zst", downloading into memory
[2021-08-24T02:31:22Z INFO  pacman_bintrans::proof] Trying to download transparency proof from "pango-1:1.48.9-2-x86_64.pkg.tar.zst.t"
Error: Failed to send request

Caused by:
    0: builder error for url (pango-1:1.48.9-2-x86_64.pkg.tar.zst.t): URL scheme is not allowed
    1: URL scheme is not allowed
@michardy michardy changed the title Urlscheme not allowed error while downloading pango on Arch Linux Url scheme not allowed error while downloading pango on Arch Linux Aug 24, 2021
@kpcyrd
Copy link
Owner

kpcyrd commented Aug 24, 2021

hi, thanks for reporting this!

[2021-08-24T02:31:22Z INFO  pacman_bintrans::proof] Trying to download transparency proof from "pango-1:1.48.9-2-x86_64.pkg.tar.zst.t"

This should be a url, can you share the command you're using?

@kpcyrd
Copy link
Owner

kpcyrd commented Aug 24, 2021

Url::join was behaving unexpected with inputs containing a :, basically parsing it as pango-1://1.48.9-2-x86_64.pkg.tar.zst.t. This was fixed in a 0.1.1 release, thanks!

@michardy
Copy link
Author

Thanks that update fixed the bug on my end.

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

Successfully merging a pull request may close this issue.

2 participants