#1148121 calamares-settings-debian: old-style apt sources configured by helpers/calamares-sources-final

#1148121#5
Date:
2026-09-17 08:39:58 UTC
From:
To:
Hi!

The helpers/calamares-sources-final hook configures an old-style apt
sources file, see:

https://salsa.debian.org/live-team/calamares-settings-debian-packaging/-/blob/master/helpers/calamares-sources-final?ref_type=heads

which contains:

cat << EOF > $CHROOT/etc/apt/sources.list
# See https://wiki.debian.org/SourcesList for more information.
deb http://deb.debian.org/debian $RELEASE main non-free-firmware
deb-src http://deb.debian.org/debian $RELEASE main non-free-firmware
...

I believe the default behaviour ought to be to write a new-style
/etc/apt/sources.list.d/debian.sources that would look something like:

Types: deb deb-src
URIs: http://deb.debian.org/debian
Suites: trixie trixie-updates
Components: main
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

See also the https://wiki.debian.org/SourcesList link.

/Simon

#1148121#10
Date:
2026-09-17 13:19:51 UTC
From:
To:
tags 1148121 patch
thanks

I was expecting some trouble after applying an obvious patch, but I've
had success building and installing an OS using a modified form of the
attached patch.

/Simon