#1098393 apt: It creates two spaces between Components

Package:
apt
Source:
apt
Description:
commandline package manager
Submitter:
Sally A.haj
Date:
2025-03-02 15:57:01 UTC
Severity:
normal
Tags:
#1098393#5
Date:
2025-02-20 00:06:13 UTC
From:
To:
Dear Maintainer,

I use trixie, and I have been prompted to use 'apt modernize-sources' to
convert the current list format to source format, after I run that, I
got a debian.sources file, which working just fine, but it has one
appearance issue, the Components line has two spaces after 'main', then
the remaining are okay, have one space between each. Here what I mean

Components: main  contrib non-free non-free-firmware

Please notice two spaces between 'main' and 'contrib'. I think it's
better two make them look consistent.

Thank you so much

#1098393#10
Date:
2025-02-25 19:00:58 UTC
From:
To:
Control: tag -1 moreinfo

We do not add arbitrary spaces, so you must have an index target with
an empty component configured? Please include the output of `apt-get
indextargets`.

#1098393#17
Date:
2025-03-02 15:54:53 UTC
From:
To:
Hello there,

I haven't done anything more than just run the command apt modernize-
sources and got that results.

The output of `apt-get indextargets' in attachment file, as it it's
very long.

Thank you.