[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No 'apt-get update' in base-installer on CD installs?



On Fri, Feb 07, 2003 at 04:35:18PM +0100, Petter Reinholdtsen wrote:
> In the current version of base-installer postinst, 'apt-get update' is
> only called if not /cdrom/.disk/base_installable exists.  Why is this?

Because sources.list is not set up for CD-ROMs?

> I suspect the following patch is better, but I do not understand why
> the files are moved into /target/, so I am not sure.  I only moved the
> 'fi' line and reindented.
> 
> Anyone got some clues to spare?

Leave the sources.list setup where it is, move the apt-get
invocation out of the if statement, and add the appropriate setup
to the CD-ROM case.

Matt



Reply to: