Doc: do update before fetching packages in WSL build guide #12668

pull nvercamm wants to merge 1 commits into bitcoin:master from nvercamm:patch-1 changing 1 files +2 −0
  1. nvercamm commented at 2:16 PM on March 11, 2018: contributor

    Add update and upgrade commands to enable the installation of the first dependencies on ubuntu xenial. If those are not executed some packages can not be found.

  2. Ubuntu xenial first dependencies
    Add update and upgrade commands to enable the installation of the first dependencies on ubuntu xenial. If those are not executed some packages can not be found.
    e29c6c8c61
  3. fanquake added the label Docs on Mar 11, 2018
  4. laanwj commented at 9:45 AM on March 13, 2018: member

    Indeed the apt-get can fail on a system with an old package catalog, due to missing packages. Note that you don't strictly need the apt-get upgrade, just the update. But it's ok...

  5. randolf commented at 9:35 PM on March 13, 2018: contributor

    The concern I have with running the upgrade/update is that it might have an effect on other packages not related to Bitcoin. Might it be better to instead add a note that "apt-get update" might help in the event that some dependencies are missing?

  6. nvercamm commented at 7:02 AM on March 14, 2018: contributor

    I ran into this problem when using the WSL and after doing a fresh install of Ubuntu from the Microsoft store. So I would think that everybody using this workflow will run into this problem.

    I also ran into some other problems for which I haven't created a pull request yet: mainly missing packages and the installation of berkleydb 4.8. So maybe a seperate section for a freshly installed Ubuntu Xenial on WSL would be appropriate.

  7. laanwj commented at 12:36 PM on March 14, 2018: member

    The concern I have with running the upgrade/update is that it might have an effect on other packages not related to Bitcoin.

    I understand the concern but also note that this is always the case. When you apt-get install a package you get its most recent version, as well as the most recent of its dependencies, and the dependencies in turn, all the way up to base system libraries.

  8. laanwj commented at 2:02 PM on March 14, 2018: member

    So maybe a seperate section for a freshly installed Ubuntu Xenial on WSL would be appropriate.

    FWIW there's nothing specific to Xenial in this PR. Running apt-get update before installing packages makes as much sense for every Debian variant in existence.

  9. fanquake commented at 2:32 PM on March 14, 2018: member

    utACK e29c6c8 The Windows build instructions seem fragile at the best of times, if running apt update/upgrade is going to cause more issues that's worrying.

  10. laanwj renamed this:
    Doc: Ubuntu xenial first dependencies
    Doc: do update before fetching packages in WSL build guide
    on Mar 14, 2018
  11. laanwj commented at 3:30 PM on March 14, 2018: member

    I've changed the PR title to be clearer.

  12. laanwj merged this on Mar 14, 2018
  13. laanwj closed this on Mar 14, 2018

  14. laanwj referenced this in commit de2fcaa89a on Mar 14, 2018
  15. MarcoFalke locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me