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.

.Net Core on Ubuntu 18.04 stuck on setup (also on 16.04)

See original GitHub issue

I am attempting to install .Net Core Framework on Ubuntu 18.04.

I am following the guide from Microsoft: https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-manager-ubuntu-1804

Sadly the installation is stuck here

dotnet-sdk-3.1 (3.1.101-1) wird eingerichtet ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.

Any ideas?

htop ist showing the following process permanently at 3-4% CPU

/usr/share/dotnet exec /usr/share/dotnet/sdk/3.1.101/dotnet.dll internal-reportinstallsuccess debianpackage

Interestingly, when checking dotnet status it shows this

root@xxx:~# dotnet --info
.NET Core SDK (gemäß "global.json"):
 Version:   3.1.101
 Commit:    b377529961

Laufzeitumgebung:
 OS Name:     ubuntu
 OS Version:  18.04
 OS Platform: Linux
 RID:         ubuntu.18.04-x64
 Base Path:   /usr/share/dotnet/sdk/3.1.101/

Host (useful for support):
  Version: 3.1.1
  Commit:  a1388f194c

.NET Core SDKs installed:
  3.1.101 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.1 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

But apt is blocked, if trying to upgrade packages I get

root@xxx:~# apt upgrade
E: Der dpkg-Prozess wurde unterbrochen; Sie müssen manuell »dpkg --configure -a« ausführen, um das Problem zu beheben.

Which then is followed by the same

root@xxx:/usr/share/dotnet# dpkg --configure -a
dotnet-sdk-3.1 (3.1.101-1) wird eingerichtet ...
This software may collect information about you and your use of the software, and send that to Microsoft.
Please visit http://aka.ms/dotnet-cli-eula for more information.
Welcome to .NET Core!
---------------------
Learn more about .NET Core: https://aka.ms/dotnet-docs
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli-docs

Telemetry
---------
The .NET Core tools collect usage data in order to help us improve your experience. The data is anonymous and doesn't include command-line arguments. The data is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.

Read more about .NET Core CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry

Configuring...
--------------
A command is running to populate your local package cache to improve restore speed and enable offline access. This command takes up to one minute to complete and only runs once.


Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:14

github_iconTop GitHub Comments

2reactions
PerryBruinscommented, Feb 20, 2020

Update from Strato: it should work on Virtuozzo, but for security reasons we have disabled Some features used by dotnet which Might impact your installation. Duh!

Since this is clearly a helpdesk answer, i did ask for more clarification on which features. I’ll keep you posted.

1reaction
PerryBruinscommented, Feb 25, 2020

Last update from my side: After asking on the disabled features I got the following answer (translated from Dutch):

“The SDK installer tries to configure the virtual network interface, which we do not allow. Our advice is to use a “rootserver” (whatever that may mean) or a Windows VE (VE?).”

Since I am now happily using the dotnetcore 3.1 runtime environment, I will stop investigating the matter. Thanks for thinking with me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Net Core on Ubuntu 18.04 stuck on setup (also on 16.04)
I am attempting to install .Net Core Framework on Ubuntu 18.04. I am following the guide from Microsoft: ...
Read more >
Ubuntu stuck/freeze on install
If the Ubuntu installer either does not start or starts and then freezes, press the F6 key and enable the nomodeset kernel boot...
Read more >
Install .NET SDK or .NET Runtime on Ubuntu 16.04
This article discusses how to install .NET on Ubuntu 16.04; Only .NET 6 is supported. Install the SDK (which includes the runtime) if...
Read more >
Why does Ubuntu 18.04 LTS hang at bootup when ...
I installed Ubuntu 18.04 LTS in VirtualBox using the default virtual machine settings. However, Ubuntu 18.04 LTS hangs at the bootup screen and ......
Read more >
Bug #1776616 “Ubuntu 18.04 getting stuck at “Starting Reboot ...
This server was rebooting/shutting down without a problem with all releases between 16.04 and 17.10. This problem is serious as it prevents ...
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