#1110717 installation-reports: APT sources missing on Trixie

#1110717#5
Date:
2025-08-10 12:31:17 UTC
From:
To:
(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)

Boot method: USB
Image version: 13.0.0 amd64
Date: 10th August 2025, 2PM GMT +5:30

Machine: HP 14s
Partitions: <df -Tl will do; the raw partition table is preferred>


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
Detect media:           [O]
Load installer modules: [O]
Clock/timezone setup:   [O]
User/password setup:    [O]
Detect hard drives:     [O]
Partition hard drives:  [O]
Install base system:    [O]
Install tasks:          [O]
Install boot loader:    [O]
Overall install:        [E]

Comments/Problems:

After installation, APT was not able to locate any packages.
This turned out to be because the debian sources file was missing.
Not sure if it's normal.
I had to copy the example debian sources file to install packages.

The installation was a standard one, without any desktop environment.
Core tools only.

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>


Please make sure that any installation logs that you think would
be useful are attached to this report. (You can find them in the
installer system in /var/log/ and later on the installed system
under /var/log/installer.) Please compress large files using gzip.

#1110717#10
Date:
2025-08-10 13:08:38 UTC
From:
To:
It is not normal if you successfully enabled a network mirror during
installation.

Which ISO image (full file name) did you use ? If you used a live image,
did you start the installation from the boot menu or the live session ?

Can you provide the installation log file /var/log/installer/syslog
(compressed if by mail) ?

#1110717#15
Date:
2025-08-10 13:33:35 UTC
From:
To:
Hi Pascal,

Unfortunately, I do not recall if I enabled the network mirror. I do
remember logging in to Wi-Fi right from the start (which worked without
errors).

I used this ISO:
https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-13.0.0-amd64-DVD-1.iso

I did not use a live image, just booted into the installer.

I've attached to this email the log file compressed with tar -czvf

On Sun, Aug 10, 2025 at 6:38 PM Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

#1110717#20
Date:
2025-08-10 16:40:58 UTC
From:
To:
The log file show that the wireless network was successfully configured.
Regarding the network mirror setup, I see:

Looking at this script, it seems to indicate that you did not enable the
use of a network mirror. When installing from a DVD image, the default
is to disable the use of a network mirror, which may be tricky if you do
not pay attention and just press [Enter]. See attached screen shot.

#1110717#25
Date:
2025-08-10 17:18:21 UTC
From:
To:
Hi,

Am 10. August 2025 18:40:58 MESZ schrieb Pascal Hambourg <pascal@plouf.fr.eu.org>:

Since in
<https://salsa.debian.org/installer-team/apt-setup/-/commit/c2f00f4e712b8afb580cf561485d683ba6a5a9f5>
we chose to disable sources entries for more cases (so a higher chance for such disabled entries in summary), maybe we should think about changing the default in the dialog mentioned above?
(or make that smarter: switch the default to Yes, if the entries for cdrom sources are tend to be disabled, or No otherwise?)


Holger

#1110717#30
Date:
2025-08-10 18:18:43 UTC
From:
To:
Pascal, thank you for pinning down the problem. I do remember reading this
message box. My (incorrect) understanding was that this choice is only
relevant during the installation process.

Holger, I second the idea of making "Yes" the default option. It may
encourage users to select it in case they are unsure what to choose.

#1110717#35
Date:
2025-08-10 19:12:25 UTC
From:
To:
This change was only aimed to disable installation sources on drives
other than optical discs (USB, SD card...) for convenience because they
would be unusable and break apt after installation anyway, regardless of
network mirror setup.

I guess the default should be set to the most desirable option for most
users of DVD images.

Smart indeed. Also the installer could warn the user that the
installation media will be disabled after installation, encouraging them
to use a network mirror. Daniel's reply inspire me another idea: some
users may wish to not use a network mirror during installation but have
it set up on the installed system.