appveyor-host-agent on newer ubuntu (libssl dependency)

Jan Vesely's Avatar

Jan Vesely

03 Oct, 2025 02:49 AM

BYOC instructions mention "The following instructions are for Ubuntu 18.04." which has been EOL for some time

The https://www.appveyor.com/downloads/appveyor/appveyor-host-agent.deb also works on Ubuntu 20.04, but that is EOL now as well.

The application fails on Ubuntu 22.04 or later because it depends on EOLed libssl1:

root@77efc0303438:/opt/appveyor/host-agent# ./appveyor-host-agent
...
No usable version of libssl was found
Aborted (core dumped)

The embedded .NET runtime appears to be version 3.1, but even trying to use the packages from Microsoft doesn't work because of the same libssl dependency:

root@77efc0303438:~# curl -sSL https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb -o packages-microsoft-prod.deb
root@77efc0303438:~# apt install ./packages-microsoft-prod.deb
...
root@77efc0303438:~# apt update
root@77efc0303438:/opt/appveyor/host-agent# apt install dotnet-runtime-3.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dotnet-runtime-deps-3.1 : Depends: libssl1.0.0 but it is not installable or
                                    libssl1.0.2 but it is not installable or
                                    libssl1.1 but it is not installable
E: Unable to correct problems, you have held broken packages.

All of the above works OK on Ubuntu 20.04, but since deadsnakes PPA dropped support for 20.04. It's more difficult to use different Python versions on a 20.04 based system. pyenv works as a workaround.

Is there a version of appveyor-host-agent app using a more recent .NET runtime available?

  1. Support Staff 1 Posted by Feodor Fitsner on 03 Oct, 2025 04:29 PM

    Feodor Fitsner's Avatar

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac