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

Modify installation instructions for Ubuntu #2697

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antony
Copy link

@antony antony commented Jan 18, 2021

Changes to use apt, not snap. Fixes #2695

Changes to use apt, not snap. Fixes mislav#2695
Copy link
Owner

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! Looks great ✨

  1. Which version of hub does this install on Ubuntu?
  2. If Ubuntu 18 isn't supported by this, should we add a notice?

@lukaszstolarczuk
Copy link

Ubuntu has currently hub in 2.7.0 (https://packages.ubuntu.com/source/groovy/hub)

side note: did you guys thinking of bumping it (or asking maintainers to do so) soon, to some more recent version?

@antony
Copy link
Author

antony commented Jan 19, 2021

Thank you! Looks great

  1. Which version of hub does this install on Ubuntu?

2.7.0 is the latest I've found. It's not likely to be the latest version unless it is extremely actively maintained or automated. Most apt dependencies will install a slightly older version which has been tested by the Canonical team or contributors. It's the same with google cloud sdk and such.

  1. If Ubuntu 18 isn't supported by this, should we add a notice?

People should be able to reasonably expect installation instructions on the latest LTS and newer, after all - that's why it's called an LTS. Whether you want to support distributions that are now no longer supported (older than the 2 year long term support lifecycle) is up to you, but to keep things simple and clean, I would suggest not doing so.

@mloskot
Copy link

mloskot commented Jan 27, 2021

Which version of hub does this install on Ubuntu?

2.7.0 is the latest I've found.

This may be too ancient version that perhaps does not work well with latest Git credential helpers what may cause authentication problems, see #2701

@finefoot
Copy link

Not only WSL is affected: I just had the same issue with the ubuntu:latest Docker container (which is 20.04 focal) where apt install hub installed version 2.7.0 which didn't work due to Unauthorized (HTTP 401) Bad credentials. (I posted on Stack Overflow at first because I didn't expect the outdated version to be the issue, but something with my GitHub Actions workflow.) The solution was to install the latest hub binary, manually, via wget. So, unfortunately, it seems like installing via apt can't be recommended at the moment.

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 this pull request may close these issues.

Switch Ubuntu instructions to just use the Debian instructions
5 participants