• Bug#1110218: release-notes: debian-security sources in trixie shows URI

    From Guillermo Torres Zamora@21:1/5 to All on Fri Aug 1 14:00:01 2025
    XPost: linux.debian.doc

    UGFja2FnZTogcmVsZWFzZS1ub3RlcwpTZXZlcml0eTogbm9ybWFsClgtRGViYnVncy1DYzogZ3Vp bGxlcm1vdG9ycmVzMTk5OEBob3RtYWlsLmVzCgpEZWFyIE1haW50YWluZXIsCgogICAqIFdoYXQg bGVkIHVwIHRvIHRoZSBzaXR1YXRpb24/Ckkgd2FzIHJlYWRpbmcgdGhlIHJlbGVhc2Ugbm90ZXMg YW5kIHRoZSBVUkkgd2FzIGxpa2UgIGh0dHBzOi8vc2VjdXJpdHkuZGViaWFuLm9yZy9kZWJpYW5c dW5oYm94XHZvaWRiQHhca2Vyblx6QFxjaGFy4oCYXHByb3RlY3RcCmRpc2NyZXRpb25hcnl7XGNo YXJcZGVmYXVsdGh5cGhlbmNoYXJ9e317fXNlY3VyaXR5IHdoZW4gaXQgc2hvdWxkIHByb2JhYmx5 IGJlIGh0dHBzOi8vc2VjdXJpdHkuZGViaWFuLm9yZy9kZWJpYW4tc2VjdXJpdHkKCiAgICogV2hh dCBleGFjdGx5IGRpZCB5b3UgZG8gKG9yIG5vdCBkbykgdGhhdCB3YXMgZWZmZWN0aXZlIChvcgog ICAgIGluZWZmZWN0aXZlKT8KSSB3cm90ZSB0aGUgY29ycmVjdCBkZWJpYW4uc291cmNlcyBjb3Jy ZWN0bHkgYW5kIGl0IHdvcmtlZCBidXQgaXQgd291bGRuJ3QgaGF2ZSB3b3JrZWQgd2l0aCB0aGUg ZG9jdW1lbnRlZCBzZXR0aW5ncwo=

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Wansing@21:1/5 to Justin B Rye on Fri Aug 1 15:40:02 2025
    XPost: linux.debian.doc

    This is a multi-part message in MIME format.

    Hi,

    Justin B Rye <[email protected]> wrote (Fri, 1 Aug 2025 13:29:34 +0100):
    Guillermo Torres Zamora wrote:
    Dear Maintainer,

    * What led up to the situation?
    I was reading the release notes and the URI was like https://security.debian.org/debian\unhbox\voidb@x\kern\z@\char‘\protect\
    discretionary{\char\defaulthyphenchar}{}{}security when it should probably be https://security.debian.org/debian-security

    For others trying to find this: it's the PDF version of section 4.3.1,
    where the .rst source has a completely normal ASCII hyphenminus, so
    I've no idea what sphinx is playing at here.

    A workaround would be to change the markup like this:

    -.. parsed-literal::
    +.. code-block:: console


    This way the content gets displayed in a box, as for other console examples (not bad, even an improvement IMO).
    And no issue with the hyphen.

    Patch attached.


    --
    Holger Wansing <[email protected]>
    PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

    diff --git a/source/upgrading.rst b/source/upgrading.rst
    index 8c581b3c..9c2b3ed4 100644
    --- a/source/upgrading.rst
    +++ b/source/upgrading.rst
    @@ -517,21 +517,21 @@ automatically downloaded from a server near you in network terms. As
    this is a relatively new service, older installations may have
    configuration that still points to one of the main Debian Internet
    servers or one of the mirrors. If you haven't done so yet, it is
    recommended to switch over to the use of the CDN service in your APT
    configuration.

    To make use of the CDN service, the correct configuration for APT
    (assuming you are using ``main`` and ``non-free-firmware``) is the following
    in ``/etc/apt/sources.list.d/debian.sources``:

    -.. parsed-literal::
    +.. code-block:: console

    Types: deb
    URIs: https://deb.debian.org/debian
    Suites: |RELEASENAME| |RELEASENAME|-updates
    Components: main non-free-firmware
    Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

    Types: deb
    URIs: https://security.debian.org/debian-security
    Suites: |RELEASENAME|-security
    @@ -564,21 +564,21
  • From Chris Hofstaedtler@21:1/5 to Holger Wansing on Fri Aug 1 16:50:01 2025
    XPost: linux.debian.doc

    On Fri, Aug 01, 2025 at 03:29:45PM +0200, Holger Wansing wrote:
    Justin B Rye <[email protected]> wrote (Fri, 1 Aug 2025 13:29:34 +0100):
    Guillermo Torres Zamora wrote:
    * What led up to the situation?
    I was reading the release notes and the URI was like https://security.debian.org/debian\unhbox\voidb@x\kern\z@\char‘\protect\
    discretionary{\char\defaulthyphenchar}{}{}security when it should probably be https://security.debian.org/debian-security

    For others trying to find this: it's the PDF version of section 4.3.1, where the .rst source has a completely normal ASCII hyphenminus, so
    I've no idea what sphinx is playing at here.

    A workaround would be to change the markup like this:

    -.. parsed-literal::
    +.. code-block:: console

    This way the content gets displayed in a box, as for other console examples (not bad, even an improvement IMO).
    And no issue with the hyphen.

    diff --git a/source/upgrading.rst b/source/upgrading.rst
    index 8c581b3c..9c2b3ed4 100644
    --- a/source/upgrading.rst
    +++ b/source/upgrading.rst

    -.. parsed-literal::
    +.. code-block:: console

    Types: deb
    URIs: https://deb.debian.org/debian
    Suites: |RELEASENAME| |RELEASENAME|-updates

    This is now rendered literally. `parsed-literal` is required to
    interpolate |RELEASENAME|.

    Some other way will have to be found.

    Chris

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Holger Wansing@21:1/5 to Chris Hofstaedtler on Fri Aug 1 18:20:01 2025
    XPost: linux.debian.doc

    Hi,

    Chris Hofstaedtler <[email protected]> wrote (Fri, 1 Aug 2025 16:39:30 +0200):
    -.. parsed-literal::
    +.. code-block:: console

    Types: deb
    URIs: https://deb.debian.org/debian
    Suites: |RELEASENAME| |RELEASENAME|-updates

    This is now rendered literally. `parsed-literal` is required to
    interpolate |RELEASENAME|.

    Some other way will have to be found.

    Hrr, you are right, I should look better.

    But I found it's as easy as escaping the hyphen with a backslash.
    Just pushed to git, so closing this bug.

    Holger


    --
    Holger Wansing <[email protected]>
    PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)