{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/core-setup/issues/4007","repository_url":"https://api.github.com/repos/dotnet/core-setup","labels_url":"https://api.github.com/repos/dotnet/core-setup/issues/4007/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/core-setup/issues/4007/comments","events_url":"https://api.github.com/repos/dotnet/core-setup/issues/4007/events","html_url":"https://github.com/dotnet/core-setup/issues/4007","id":313058599,"number":4007,"title":"dotnet-host 2.1.0-preview2-26406-04-1 is not backwards compatible with 2.0.x applications: Failed to resolve library symbol hostfxr_main_startupinfo","user":{"login":"natemcmaster","id":2696087,"avatar_url":"https://avatars0.githubusercontent.com/u/2696087?v=4","gravatar_id":"","url":"https://api.github.com/users/natemcmaster","html_url":"https://github.com/natemcmaster","followers_url":"https://api.github.com/users/natemcmaster/followers","following_url":"https://api.github.com/users/natemcmaster/following{/other_user}","gists_url":"https://api.github.com/users/natemcmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/natemcmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemcmaster/subscriptions","organizations_url":"https://api.github.com/users/natemcmaster/orgs","repos_url":"https://api.github.com/users/natemcmaster/repos","events_url":"https://api.github.com/users/natemcmaster/events{/privacy}","received_events_url":"https://api.github.com/users/natemcmaster/received_events","type":"User","site_admin":false},"labels":[{"id":801029392,"url":"https://api.github.com/repos/dotnet/core-setup/labels/area-Host","name":"area-Host","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-04-10T19:28:39Z","updated_at":"2018-04-10T23:17:19Z","closed_at":null,"author_association":"MEMBER","body":"I'm seeing multiple reports that 2.0.x runtimes no longer launch due to failures in loading libhostfxr.so\r\n\r\nhttps://github.com/travis-ci/travis-ci/issues/9467\r\nhttps://twitter.com/bradwilson/status/983782235777024000\r\n\r\n**Repro**\r\nOn a clean machine, configure feeds as described on https://www.microsoft.com/net/download/linux-package-manager/ubuntu16-04/sdk-current\r\n`sudo apt-get install dotnet-sdk-2.1.104`\r\n`dotnet --info`\r\n\r\n**Expected**\r\nStable releases of .NET Core should still work and only install stable versions of the `dotnet-host` package.\r\n\r\n**Actual**\r\nThe installation brings down the prerelease `dotnet-host` package, version 2.1.0-preview2-26406-04-1, which issues this warning before exiting with and error code.\r\n```\r\nFailed to resolve library symbol hostfxr_main_startupinfo, error: /usr/share/dotnet/host/fxr/2.0.0/libhostfxr.so: undefined symbol: hostfxr_main_startupinfo\r\n```\r\n\r\n**Workaround**\r\nDowngrade the `dotnet-host` package to an older version\r\n```\r\nsudo apt install dotnet-host=2.0.6-1\r\n```\r\n\r\n@steveharter @Petermarcu @leecow - preview2 impacting\r\n\r\ncc @bradwilson @akoeplinger"},"comment":{"url":"https://api.github.com/repos/dotnet/core-setup/issues/comments/380277186","html_url":"https://github.com/dotnet/core-setup/issues/4007#issuecomment-380277186","issue_url":"https://api.github.com/repos/dotnet/core-setup/issues/4007","id":380277186,"user":{"login":"bording","id":753669,"avatar_url":"https://avatars0.githubusercontent.com/u/753669?v=4","gravatar_id":"","url":"https://api.github.com/users/bording","html_url":"https://github.com/bording","followers_url":"https://api.github.com/users/bording/followers","following_url":"https://api.github.com/users/bording/following{/other_user}","gists_url":"https://api.github.com/users/bording/gists{/gist_id}","starred_url":"https://api.github.com/users/bording/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bording/subscriptions","organizations_url":"https://api.github.com/users/bording/orgs","repos_url":"https://api.github.com/users/bording/repos","events_url":"https://api.github.com/users/bording/events{/privacy}","received_events_url":"https://api.github.com/users/bording/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T23:17:19Z","updated_at":"2018-04-10T23:17:19Z","author_association":"NONE","body":"@Petermarcu after using `apt remove` to remove all of the 2.1.104/2.0.6 packages and doing an `apt update`, when I run `apt install dotnet-sdk-2.1.104`, I get the following error:\r\n```\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n dotnet-sdk-2.1.104 : Depends: dotnet-runtime-2.0.6 but it is not going to be installed\r\nE: Unable to correct problems, you have held broken packages.\r\n```\r\nWhen I run `apt-cache madison dotnet-host`, I still see the preview package:\r\n```\r\ndotnet-host | 2.1.0-preview1-26216-03-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.6-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.5-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.4-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.3-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.0-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    1.1.0-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host | 2.1.0-preview1-26216-03-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.6-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.5-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.4-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.3-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    2.0.0-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages\r\ndotnet-host |    1.1.0-1 | https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial/main amd64 Packages"}}
{"actor":{"display_login":"bording"}}