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

Can't tldr --update when installed from Brew on Linux #91

Open
JanPokorny opened this issue Sep 20, 2022 · 0 comments
Open

Can't tldr --update when installed from Brew on Linux #91

JanPokorny opened this issue Sep 20, 2022 · 0 comments
Labels

Comments

@JanPokorny
Copy link

Reproduction Rate

Always

Steps to Reproduce

OS: Pop_OS! 22.04 (Ubuntu-based)

❯ brew install tldr
==> Downloading https://ghcr.io/v2/homebrew/core/tldr/manifests/1.5.0
Already downloaded: /home/jp/.cache/Homebrew/downloads/5ce896f3ef77116e85ee637f74d355724ba1f637c129324296d0d0422b79d7d3--tldr-1.5.0.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/tldr/blobs/sha256:948fa2f4233dc829670e11d5eed35ac8180383d
Already downloaded: /home/jp/.cache/Homebrew/downloads/b7e71b27bd44c29e33162bd843053d09b7ec12e51b6cee35a4ded1b50acc7b32--tldr--1.5.0.x86_64_linux.bottle.tar.gz
==> Pouring tldr--1.5.0.x86_64_linux.bottle.tar.gz
/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/language/python.rb:10: warning: Insecure world writable dir /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims in PATH, mode 040777
🍺  /home/linuxbrew/.linuxbrew/Cellar/tldr/1.5.0: 10 files, 102.4KB
==> Running `brew cleanup tldr`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

~
❯ tldr tar
Error: Downloading File: https://github.com/tldr-pages/tldr/archive/main.zip
This page doesn't exist yet!
Submit new pages here: https://github.com/tldr-pages/tldr

~
❯ tldr --update
Error: Downloading File: https://github.com/tldr-pages/tldr/archive/main.zip

Result

See above

Expected Result

I would expect it to work

Additional Information

I can wget the file just fine:

~                                                                              
❯ wget https://github.com/tldr-pages/tldr/archive/main.zip
--2022-09-20 15:52:29--  https://github.com/tldr-pages/tldr/archive/main.zip
Resolving github.com (github.com)... 140.82.121.4
Connecting to github.com (github.com)|140.82.121.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/tldr-pages/tldr/zip/refs/heads/main [following]
--2022-09-20 15:52:29--  https://codeload.github.com/tldr-pages/tldr/zip/refs/heads/main
Resolving codeload.github.com (codeload.github.com)... 140.82.121.10
Connecting to codeload.github.com (codeload.github.com)|140.82.121.10|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3633846 (3.5M) [application/zip]
Saving to: ‘main.zip’

main.zip                   100%[======================================>]   3.46M  1.90MB/s    in 1.8s    

2022-09-20 15:52:31 (1.90 MB/s) - ‘main.zip’ saved [3633846/3633846]
@github-actions github-actions bot added the Stale label Oct 6, 2022
@MasterOdin MasterOdin added bug and removed Stale labels Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants