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

Re: How does Debian keep Packages.gz consistent over different sites?



Try KDE <trykde@rogers.com> [2002-10-14 23:36:09 -0400]:
> Lets say I have two lines in sources.list that are almost identical 
> expect for the http sites are different. And now I issue a "apt-get 
> update", and site1 tells apt "the latest version of testing/vim is 1.3", 
> while site2, which may not be up to date, tells apt "the latest version 
> of testing/vim is 1.2".

Actually it is more like this.  The Packages file at Site1 says the
newest version on site1 is 1.2.  The Packages file at Site2 says the
newest version on site1 is 1.3.  This is slightly different than
saying that the newest version anywhere is 1.2.

> So now what apt is supposed to do?

APT does this.

  Reading Package Lists... Done
  Building Dependency Tree... Done

It sorts out the newest versions and the dependencies.  When you
install vim it will try to install the newest version that it can
successfully install plus the required dependencies that the package
says it needs.  If it can't install it you might like to have it fall
back to one it can install, but that is beyond the code right now and
in that case it will simply fail and tell you why.

Bob

Attachment: pgp_K5CHOSStz.pgp
Description: PGP signature


Reply to: