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

Add support for Debian bookworm #8481

Closed
1 of 12 tasks
rbhanda opened this issue May 22, 2023 · 5 comments
Closed
1 of 12 tasks

Add support for Debian bookworm #8481

rbhanda opened this issue May 22, 2023 · 5 comments

Comments

@rbhanda
Copy link
Contributor

rbhanda commented May 22, 2023

This issue is created to track progress for the work to enable Debian bookworm support for .NET 6.0 and .NET 7.0

Product and Test updates

Release team:

  • Notify .NET Core teams regarding new OS release
  • Update the supported OS content on GitHub and marketing sites.

Document updates:

  • Add OS prerequisites to the dependencies document
  • Update distro install page
@MichaelSimons
Copy link
Member

Any update on the status of this work?

FYI the RID support update item references the Alpine 3.18 PR instead of a Bookworm PR.

@adegeo
Copy link

adegeo commented Aug 10, 2023

@rbhanda does the linked PRs for Deb12 include bookworm?

@electron4692
Copy link

electron4692 commented Oct 6, 2023

I installed dotnet6 for Debian 12 as described by Microsoft.

I compiled a dotnet application:
dotnet publish --configuration Release --runtime linux-x64 --framework net6.0 --self-contained true

I created a deb file with dotnet-deb (version 0.1.220):
dotnet deb -c Release --runtime linux-x64

When I installed the deb file, the system gave me the error that libssl1 and libicu70 are not available:

sudo apt install ./myApp.1.1.0.linux-x64.deb                                                                                                                                        
[sudo] password for user16: 
Reading package lists... Done
Building dependency tree... Done
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:
 myApp : Depends: libssl1.1 but it is not installable or
                            libssl1.0.2 but it is not installable or
                            libssl1.0.1 but it is not installable or
                            libssl1.0.0 but it is not installable or
                            libssl0.9.8 but it is not installable
                   Depends: libicu70 but it is not installable or
                            libicu69 but it is not installable or
                            libicu68 but it is not installable or
                            libicu67 but it is not installable or
                            libicu66 but it is not installable or
                            libicu65 but it is not installable or
                            libicu64 but it is not installable or
                            libicu63 but it is not installable or
                            libicu62 but it is not installable or
                            libicu61 but it is not installable or
                            libicu60 but it is not installable or
                            libicu59 but it is not installable or
                            libicu58 but it is not installable or
                            libicu57 but it is not installable or
                            libicu56 but it is not installable or
                            libicu55 but it is not installable or
                            libicu54 but it is not installable or
                            libicu53 but it is not installable or
                            libicu52 but it is not installable

Here is my dotnet version:

.NET SDK (reflecting any global.json):
 Version:   6.0.414
 Commit:    dc3b5c4341

Runtime Environment:
 OS Name:     debian
 OS Version:  12
 OS Platform: Linux
 RID:         debian.12-x64
 Base Path:   /usr/share/dotnet/sdk/6.0.414/

global.json file:
  Not found

Host:
  Version:      6.0.22
  Architecture: x64
  Commit:       4bb6dc195c

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

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

Is this a problem of dotnet-deb or dotnet6 sdk?

/edit:

On Debian 12, only libssl3 and libicu72 are available.

@electron4692
Copy link

Regarding the problem from my previous comment:

It is caused by the tool dotnet deb.

In the csproj file I set the property SkipDebDependencies to true. You need a recent version of the tool. See:
quamotion/dotnet-packaging#222

In order to define the correct dependencies of my application, I need to know what the dependencies of the dotnet framework are. Could you please document them here for Debian Bookworm?
https://github.com/dotnet/core/blob/main/release-notes/6.0/linux-packages.md

@ashnaga
Copy link
Member

ashnaga commented Oct 24, 2024

Supported. Resolving this one.

@ashnaga ashnaga closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests