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

Re: Bug#56934: boot floppies

On Thu, 3 Feb 2000, Joey Hess wrote:
> Bruce Sass wrote:
> > The APT docs claim that APT will only issue a warning if it cannot find
> > the Packages and Sources files, base-config should reflect that
> > behaviour rather than trying to redo the apt configuration step.
> Then apt lies, since base-config just uses it.

That is not an accurate statement, base-config uses apt-setup.

Perhaps I am reading too much into the doc, or reading the wrong doc.
(from section 4.1 of /usr/share/doc/apt/guide.text.gz)

*     The first thing it does is read all the package files into memory.
* APT uses a caching scheme so this operation will be faster the second
* time it is run. If some of the package files are not found then they
* will be ignored and a warning will be printed when apt-get exits.

I took "package files" to refer to the set of "Packages" files, it
didn't make much sense to have apt read the actual .debs into memory.

Is this an inconsistency between apt-get and apt-config's behaviour....
or is the final "sanity check" at the end of /usr/sbin/apt-setup
catching the warning and treating it as an error?

"Apt-get update" runs fine, but the whiptail dialog reappears
and asks me to re-enter the data destined for /etc/apt/sources.list;
this appears to be under the control of apt-setup from the base-config



Reply to: