Hey guys,

On Mon, Apr 07, 2025 at 11:04:49PM +0200, Holger Wansing wrote:
>
>Am 7. April 2025 20:23:09 MESZ schrieb Pascal Hambourg 
><pas...@plouf.fr.eu.org>:
>>On 07/04/2025 at 17:32, Holger Wansing wrote:
>>> 
>>> So, it's another report of "please disable the sources.list entries from 
>>> installation media, when installation is finished".
>>
>>Sort of. I think there was some discussion about this topic in the past.
>>
>>> But there's no difference, if the CD/DVD image is on optical media or on 
>>> USB...
>>
>>By default an optical disc is mounted on /media/cdrom and makes apt happy, 
>>whereas a USB flash drive is usually mounted elsewhere.
>>
>>> It does not get any updates in any case.
>>
>>IIRC, the issue is not when doing updates but when installing packages which 
>>are present in the original installation image and apt insists on using the 
>>installation media instead of the network repositories.
>
>We should not make a difference here: on the long term you will need 
>sources.list entries, that work for the whole archive.
>Still rely on an installation image as only source will not work for the long 
>future.
>You will for sure end up with the situation, where a package you need is not 
>on the CD/DVD image, and then you have to switch to a debian online mirror 
>anyway.
>
>Am I right with this, or do I miss something?

The reasoning for the current setup has been:

 * if you're installing from single CD / small image, then it's not
   useful after installation, so don't keep the sources.list entry

 * if you're using a larger image (DVD/BD) etc. that might be part of
   a full set, keep the sources.list entry/entries - they include a
   fuller set of packages, maybe complete if you have the full set

There is not a single good answer here. :-/

-- 
Steve McIntyre, Cambridge, UK.                                st...@einval.com
Dance like no one's watching. Encrypt like everyone is.
 - @torproject

Reply via email to