Skip to content

APT install instructions for Debian 13 #23231

@Matthias-vdE

Description

@Matthias-vdE

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

The documentation gives instructions on writing to the file

/etc/apt/sources.list.d/docker.list

In order to add the APT repository.

However, according to the Debian 12 to 13 upgrade guide (https://www.debian.org/releases/trixie/release-notes/upgrading.en.html?ref=selfh.st#preparing-apt-sources-files), these types of files are no longer recommended:

As mentioned in Start from “pure” Debian, we recommend that you use the new deb822-style format, so you would have to replace /etc/apt/sources.list and any *.list files in /etc/apt/sources.list.d/ by only one file named debian.sources in /etc/apt/sources.list.d/ (if you haven’t done so already)

Location

https://docs.docker.com/engine/install/debian/#install-using-the-repository

Suggestion

While the "old" docker.list still works, the documentation could also make note of Debian 13's new APT format, as stated in https://www.debian.org/releases/trixie/release-notes/upgrading.en.html?ref=selfh.st#start-from-pure-debian;

APT is moving to a different format for configuring where it downloads packages from. The files /etc/apt/sources.list and *.list files in /etc/apt/sources.list.d/ are replaced by files still in that directory but with names ending in .sources, using the new, more readable (deb822 style) format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/engineIssue affects Docker engine/daemonarea/installRelates to installing a productstatus/triageNeeds triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions