question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.

See original GitHub issue

Description

When running setup-dotnet the following warning appears:

dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.

Is this a problem?

Details

name: Develop CI

on:
  push:
    branches: [ develop ]
  pull_request:
    branches: [ develop ]

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      
    - name: Setup .NET Core
      uses: actions/setup-dotnet@v1
      with:
        dotnet-version: 3.1
      
    - name: Install dependencies
      run: dotnet restore
      
    - name: Build
      run: dotnet build --configuration Release --no-restore

complete action output:

Run actions/setup-dotnet@v1
/home/runner/work/_actions/actions/setup-dotnet/v1/externals/install-dotnet.sh --version 3.1.403
dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.
dotnet-install: Downloading link: https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.403/dotnet-sdk-3.1.403-linux-x64.tar.gz
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/3.1.403/dotnet-sdk-3.1.403-linux-x64.tar.gz
dotnet-install: Adding to current process PATH: `/home/runner/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Installation finished successfully.
/home/runner/.dotnet:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/opt/pipx_bin:/usr/share/rust/.cargo/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin

https://github.com/litetex/TopGHRepos/runs/1276675989

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
maxim-lobanovcommented, Apr 21, 2021

Yes, we have plans to cut new release at the begin of next week with a few other fixes. We will update scripts in scope of it. Thank you for heads up!

0reactions
vsafonkincommented, May 6, 2021

New version of the task was released, installer scripts were updated and the issue is resolved.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to install specific version of .NET Core on Ubuntu ...
Command: curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --runtime dotnet ... Probable prerequisite missing; install zlib.
Read more >
How to build .Net SDK without .net SDK - Stack Overflow
dotnet/dotnet-install.sh' successfully. dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib.
Read more >
How to Install Zlib on Ubuntu Linux - It's FOSS
If you try installing Zlib on Ubuntu, it will throw “unable to locate package zlib” error. sudo apt install zlib Reading package lists....
Read more >
Upgrade Problem - NextPVR Forums
dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib. dotnet-install: Downloading link: ...
Read more >
Building Dotnet Diagnostics - Will's Blog
dotnet# ./dotnet-install.sh dotnet_install: Warning: Unable to locate zlib. Probable prerequisite missing; install zlib. dotnet-install: .NET ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found