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.

***[ URGENT ]*** Missing Package Dependencies

See original GitHub issue

Steps to reproduce

$ sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
$ sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
$ sudo apt update
$ sudo apt -f install dotnet-sdk-2.2.0-preview1-007890

or

$ sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
$ sudo apt-get update
$ sudo apt -f install dotnet-sdk-2.1.4

Expected behavior

Installs dotnet sdk and relevant deps

Actual behavior

Linux rejects installation of packages due to missing dependencies:

First Method ( from http://apt-mo.trafficmanager.net/repos/dotnet/ xenial main )

$ sudo apt -f install dotnet-sdk-2.2.0-preview1-007890

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-sdk-2.2.0-preview1-007890 : Depends: aspnetcore-store-2.1.0-preview1-26623 but it is not installable
                                    Depends: dotnet-runtime-2.1.0-preview1-26109-01 but it is not installable
E: Unable to correct problems, you have held broken packages.

Second Method ( from https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main )

$ sudo apt -f  install dotnet-sdk-2.1.4 dotnet-runtime-2.0.5 dotnet-hostfxr-2.0.5 dotnet-host

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-host : Depends: dotnet-runtime-deps-2.1.0-preview1-26216-03 (>= 2.1.0-preview1-26216-03) but it is not installable
E: Unable to correct problems, you have held broken packages.

Environment data

Dotnet not installed.

Operating system: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial

Please Assist ASAP !

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
DemonRxcommented, Apr 11, 2018

$ ./dotnet-install.sh --version 2.1.300-preview2-008530

Installation successful using the script and runtime is working, thank you !

@leecow thank you for your link too, thank you for getting me back up and running, appreciated 👍 💯 🎉

0reactions
leecowcommented, Apr 11, 2018

There’s an issue with the preview host package breaking clean 2.0 installs so I took down all linux installer packages. For the time being, if you want to use preview, install needs to be from tarball.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Missing package product <Package Dependencies name>
Missing package product <Package Dependencies name> · Reset packages · Update to latest package versions · Resolve package versions · Delete derived ...
Read more >
Download missing dependencies when building projects?
Download missing dependencies when building projects? · apt · package-management · dependencies · compiling · source.
Read more >
Solved: There are missing dependencies. Install the follow...
Hi all,. I have an issue with exporting/importing my solutions. When I try to import my solution, I get the error: "There are...
Read more >
Solution Import - Missing Dependencies
Hi there. I am trying to import my solution into a new environment and am getting the below error: There are missing dependencies....
Read more >
Lost Power During apt-get install, Can't Resolve Missing ...
Everything works fine on my computer...except getting new, updating existing, repairing or removing packages on my machine. RESOLVED. After ...
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