Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jsdbg-gdb : Depends: dotnet-runtime-2.2 but it is not installable #216

Open
mohamedmansour opened this issue Jul 22, 2024 · 0 comments
Open

Comments

@mohamedmansour
Copy link
Contributor

I am geting the following error when trying to install:

$ sudo apt install ./jsdbg-gdb.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'jsdbg-gdb' instead of './jsdbg-gdb.deb'
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:
 jsdbg-gdb : Depends: dotnet-runtime-2.2 but it is not installable
E: Unable to correct problems, you have held broken packages.

Cannot install 2.2:

$ ./dotnet-install.sh --version 2.2 --runtime dotnet
dotnet-install: Attempting to download using primary link https://dotnetcli.azureedge.net/dotnet/Runtime/2.2/dotnet-runtime-2.2-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetcli.azureedge.net/dotnet/Runtime/2.2/dotnet-runtime-2.2-linux-x64.tar.gz' is not available.
dotnet-install: Attempting to download using primary link https://dotnetbuilds.azureedge.net/public/Runtime/2.2/dotnet-runtime-2.2-linux-x64.tar.gz
curl: (22) The requested URL returned error: 404
dotnet-install: The resource at primary link 'https://dotnetbuilds.azureedge.net/public/Runtime/2.2/dotnet-runtime-2.2-linux-x64.tar.gz' is not available.
dotnet_install: Error: Could not find `.NET Core Runtime` with version = 2.2
dotnet_install: Error: Refer to: https://aka.ms/dotnet-os-lifecycle for information on .NET Core support

Only latest one is allowed:

$ ./dotnet-install.sh  --runtime dotnet
dotnet-install: Attempting to download using aka.ms link https://dotnetcli.azureedge.net/dotnet/Runtime/8.0.7/dotnet-runtime-8.0.7-linux-x64.tar.gz
dotnet-install: Remote file https://dotnetcli.azureedge.net/dotnet/Runtime/8.0.7/dotnet-runtime-8.0.7-linux-x64.tar.gz size is 31272597 bytes.
dotnet-install: Extracting archive from https://dotnetcli.azureedge.net/dotnet/Runtime/8.0.7/dotnet-runtime-8.0.7-linux-x64.tar.gz
dotnet-install: Downloaded file size is 31272597 bytes.
dotnet-install: The remote and local file sizes are equal.
dotnet-install: Installed version is 8.0.7
dotnet-install: Adding to current process PATH: `/home/mohamed/.dotnet`. Note: This change will be visible only when sourcing script.
dotnet-install: Note that the script does not resolve dependencies during installation.
dotnet-install: To check the list of dependencies, go to https://learn.microsoft.com/dotnet/core/install, select your operating system and check the "Dependencies" section.
dotnet-install: Installation finished successfully.
$ dotnet --version
8.0.303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant