Skip to content

Add support for Debian bookworm  #8481

Closed
1 of 1 issue completed
Closed

Description

@rbhanda

Debian 12 has been released.

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

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. MichaelSimons commented on Jun 12, 2023

    @MichaelSimons
    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.

  2. adegeo commented on Aug 10, 2023

    @adegeo
    Contributor

    @rbhanda does the linked PRs for Deb12 include bookworm?

  3. electron4692 commented on Oct 6, 2023

    @electron4692

    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.

  4. electron4692 commented on Oct 9, 2023

    @electron4692

    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

  5. ashnaga commented on Oct 24, 2024

    @ashnaga
    Member

    Supported. Resolving this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions