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

Re: little? apt suggestion



> > i also rename the file in /var/state/apt/lists so that it corresponds
> That's a bad idea.  It's not guarunteed that all mirrors are in sync --
> some may mirror every day,  others once a week.  This will lead to apt
> being upset when it tries to download a file that doesn't exist on the new
> mirror site (because the mirror is ahead or behind the previous one)

what i usually do is run an update after the rename anyway, if it's the same
Packages file it doesn't download again, else it does. But what I would do in
the program is do a check before doing the rename, just like apt does a check
before downloading a Packages file.


-- 
-----------------------------------------------------------------------------
Sarel Botha          |     Computer &           | +27 341 81341
(sjb@dundee.lia.net) |        Accounting        | BOX 2065, Dundee
                     |           Services       | 3000, South Africa
-----------------------------------------------------------------------------
 "The End is near." -- http://www.geocities.com/Athens/Olympus/7771/666.htm
-----------------------------------------------------------------------------


Reply to: