Unable to install dotnet-hosting 2.0.6 on Ubuntu 17.10
I'm broken building a docker image with 17.10 using https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod as my feed.
Reading package lists...
Building dependency tree...
Reading state information...
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-hosting-2.0.6-rtm-10011 : Depends: dotnet-runtime-2.0.6 but it is not going to be installed
Depends: aspnetcore-store-2.0.6-rtm-10011 but it is not installable
E: Unable to correct problems, you have held broken packages.
Looking into this ...
If it matters, I'm using AppVeyor. I was using 2.0.5 but that was broken too. 2.0.6 i think has been broken since the release problems when it first came out.
Definitely missing the ASP files on the feed. Will have them up in a little bit.
thanks @leecow!
Good to go ...
leecow@lbc-1710:~$ sudo apt-get install dotnet-hosting-2.0.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aspnetcore-store-2.0.3 aspnetcore-store-2.0.5 aspnetcore-store-2.0.6 dotnet-hostfxr-2.0.6 dotnet-runtime-2.0.6
The following NEW packages will be installed:
aspnetcore-store-2.0.3 aspnetcore-store-2.0.5 aspnetcore-store-2.0.6 dotnet-hostfxr-2.0.6 dotnet-hosting-2.0.6 dotnet-runtime-2.0.6
0 upgraded, 6 newly installed, 0 to remove and 27 not upgraded.
Need to get 32.0 MB of archives.
After this operation, 107 MB of additional disk space will be used.
Do you want to continue? [Y/n]
@leecow it is still broken for me
dotnet-hosting-2.0.6 : Depends: dotnet-runtime-2.0.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Hmmm, what do you get when you run apt search dotnet-runtime-2.0.6?
i can't easily access it from appveyor - could it be a cdn timing issue?
Could be though I don't know anything about appveyor. I wonder if there is some package caching going on.
We're seeing the same issue on a Debian Jessie Docker image.
This is the error message:
Step 3/3 : RUN apt-get install dotnet-sdk-2.1.104
---> Running in b72d81a20fb3
Reading package lists...
Building dependency tree...
Reading state information...
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-sdk-2.1.104 : Depends: dotnet-runtime-2.0.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get install dotnet-sdk-2.1.104' returned a non-zero code: 100
This is our Dockerfile:
FROM debian:jessie
RUN apt-get update && \
apt-get install -y curl libunwind8 gettext apt-transport-https && \
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg && \
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg && \
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/debian/8/prod jessie main" > /etc/apt/sources.list.d/dotnetdev.list' && \
apt-get update
RUN apt-get install dotnet-sdk-2.1.104
@leecow here's an update - i ran my base docker image (only added apt-transport-https and curl + my .net additions manually - here's the full output:
root@91911fb10341:/# echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful main" > /etc/apt/sources.list.d/dotnetdev.list
root@91911fb10341:/# curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 983 100 983 0 0 983 0 0:00:01 --:--:-- 0:00:01 5816
root@91911fb10341:/# mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
root@91911fb10341:/# apt-get update
Get:1 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful InRelease [2846 B]
Hit:2 http://archive.ubuntu.com/ubuntu artful InRelease
Get:3 http://security.ubuntu.com/ubuntu artful-security InRelease [78.6 kB]
Get:4 https://packages.microsoft.com/repos/microsoft-ubuntu-artful-prod artful/main amd64 Packages [14.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu artful-updates InRelease [81.7 kB]
Get:6 http://archive.ubuntu.com/ubuntu artful-backports InRelease [72.2 kB]
Get:7 http://security.ubuntu.com/ubuntu artful-security/universe Sources [17.3 kB]
Get:8 http://security.ubuntu.com/ubuntu artful-security/universe amd64 Packages [72.3 kB]
Get:9 http://archive.ubuntu.com/ubuntu artful-updates/universe Sources [38.1 kB]
Get:10 http://archive.ubuntu.com/ubuntu artful-updates/universe amd64 Packages [132 kB]
Get:11 http://security.ubuntu.com/ubuntu artful-security/main amd64 Packages [188 kB]
Get:12 http://archive.ubuntu.com/ubuntu artful-updates/multiverse amd64 Packages [4384 B]
Get:13 http://archive.ubuntu.com/ubuntu artful-updates/main amd64 Packages [306 kB]
Get:14 http://security.ubuntu.com/ubuntu artful-security/multiverse amd64 Packages [1826 B]
Get:15 http://archive.ubuntu.com/ubuntu artful-backports/universe amd64 Packages [4130 B]
Fetched 1014 kB in 1s (617 kB/s)
Reading package lists... Done
root@91911fb10341:/# apt search dotnet-runtime-2.0.6
Sorting... Done
Full Text Search... Done
dotnet-runtime-2.0.6/artful 2.0.6-1 amd64
Microsoft .NET Core Runtime - 2.0.6 Microsoft.NETCore.App 2.0.6
root@91911fb10341:/# apt-get install -y dotnet-hosting-2.0.6
Reading package lists... Done
Building dependency tree
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-hosting-2.0.6 : Depends: dotnet-runtime-2.0.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
More info:
root@91911fb10341:/# apt-get -s -o Debug::pkgProblemResolver=yes install -y dotnet-hosting-2.0.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) dotnet-hostfxr-2.0.6:amd64 < none -> 2.0.6-1 @un uN Ib >
Broken dotnet-hostfxr-2.0.6:amd64 Depends on dotnet-host:amd64 < none | 2.1.0-preview2-26406-04-1 @un uH > (>= 2.0.6)
Considering dotnet-host:amd64 0 as a solution to dotnet-hostfxr-2.0.6:amd64 4
Holding Back dotnet-hostfxr-2.0.6:amd64 rather than change dotnet-host:amd64
Investigating (0) dotnet-runtime-2.0.6:amd64 < none -> 2.0.6-1 @un uN Ib >
Broken dotnet-runtime-2.0.6:amd64 Depends on dotnet-hostfxr-2.0.6:amd64 < none | 2.0.6-1 @un uH >
Considering dotnet-hostfxr-2.0.6:amd64 4 as a solution to dotnet-runtime-2.0.6:amd64 3
Holding Back dotnet-runtime-2.0.6:amd64 rather than change dotnet-hostfxr-2.0.6:amd64
Investigating (1) dotnet-hosting-2.0.6:amd64 < none -> 2.0.6-1 @un puN Ib >
Broken dotnet-hosting-2.0.6:amd64 Depends on dotnet-runtime-2.0.6:amd64 < none | 2.0.6-1 @un uH >
Considering dotnet-runtime-2.0.6:amd64 3 as a solution to dotnet-hosting-2.0.6:amd64 10001
Reinst Failed early because of dotnet-runtime-deps-2.1.0-preview2-26406-04:amd64
Reinst Failed because of dotnet-host:amd64
Reinst Failed because of dotnet-hostfxr-2.0.6:amd64
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-hosting-2.0.6 : Depends: dotnet-runtime-2.0.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Looks like something is trying to pull in the 2.1 preview!
Same with hosting 2.0.5
I'll reopen.
Hello, I get the same problem, will moving down to ubuntu 16 solve this?
I have the same problem; eagerly awaiting.
Unable to install here as well, 17.10
This needs reopening. Ubuntu 17.10.1, same issue.
Same issue. Needs reopening
The same here, I tried to install using aptitude and synaptic, but nothing ( Missing packages ) ...
Does anybody find a fix for this? I am having the same error with Ubuntu 17.10 and dotnet-runtime-2.0.7