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.

Ubuntu 16.04 failing to install

See original GitHub issue

Steps to reproduce

apt-get install dotnet-dev-1.0.1

Expected behavior

Install .NET Core

Actual behavior

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-dev-1.0.1 : Depends: dotnet-sharedframework-microsoft.netcore.app-1.0.4                                                                                                                                                              but it is not going to be installed
                    Depends: dotnet-sharedframework-microsoft.netcore.app-1.1.1                                                                                                                                                              but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Environment data

dotnet --info output: none, dotnet not installed

Comments

Tried to install dependencies separately and got these errors. Errors

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
warnovcommented, Apr 4, 2017

@YoEight have you set up the correct apt-get feed for Ubuntu 16.04? It must be Xenial. If you are not sure, try this:

sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
sudo apt-get update

and try again installing dotnet-dev-1.0.1

0reactions
leecowcommented, May 2, 2017

I’ll add a Mint 18 label next to 16.04 on the Ubuntu page to make that bit clear.

As far as installing the various packages individually, it’s not recommended that you do so. If you do give it a try, the host and shared framework packages must be installed in a particular order.

  • dotnet-host
  • dotnet-hostfxr-1.0.1 and/or dotnet-hostfxr-1.1.0
  • dotnet-sharedframework-microsoft.netcore.app-1.0.4 and/or dotnet-sharedframework-microsoft.netcore.app-1.1.0

There is no ‘raw’ sdk package at this time.

Read more comments on GitHub >

github_iconTop Results From Across the Web

install ubuntu 16.04 failed
I want to ask if there is an error when installing Ubuntu 16.04 in what CD do I do? screenshot of "Load installer...
Read more >
Unable to install nodejs and npm on ubuntu 16.04
Actually I want to install npm and node in my ubuntu 16.04 system. I use these steps to install node:
Read more >
failed to install Ubuntu 16.04 for Up Core Plus
Hello, I tried to install Ubuntu 16.04 for Up Core Plus (Atom® x5-E3930), but failed even to load install.
Read more >
Bug #1817358 “Ubuntu 16.04 netboot installation failed ...
I try to install Ubuntu 16.04 on a Citrix Xenserver. I use http://de.archive.ubuntu.com/ubuntu/ as install url in XenCenter.
Read more >
Install failure on Ubuntu 16.04: Failed to fetch ...
While the root error seems to be: Failed to fetch https://dl.cloudsmith.io/public/asbru-cm/release/deb/ubuntu/dists/xenial/main/source/...
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