Hi,

Perhaps it is due to the problem caching file. After I removed both *.bin files 
in /var/cache/apt/ and update the package list again, it works now! 
Finally, we can update our dists without mirror the whole archive!!

Thanks for the information!! :)


Vincent

Tres Hofmeister wrote:
> 
> On 2000.08.18, Vincent Tam wrote:
> :
> : We have some servers still running old version of slink and don't
> : want them to potato yet.  However we still want to update our slink
> : distribution.
> : After we change the apt-get sources.list to:
> :
> : deb ftp://ftp.debian.org/debian slink main contrib non-free
> :
> : And updated the package information, while the apt-get try to download
> : update packages, it refer to "main", the potato, instead of "slink"!!
> :
> : What can we do?
> 
>         I don't know for sure, but apt seems to cache the retrieved
> Packages information in some kind of binary format in these files:
> 
>     /var/cache/apt/pkgcache.bin
>     /var/cache/apt/srccache.bin
> 
>         I'm not sure how you would modify these, but if you've got
> a local slink mirror, you can work around the problem.  Modify the
> Packages files by hand, e.g.:
> 
> # Don't forget contrib and non-free...
> cd $YOUR_MIRROR_ROOT/dists/slink/main/binary-i386
> cp -a Packages.gz Packages-dist.gz      # Just in case...
> gzip -dc Packages.gz |\
>     sed 's|^Filename: dists/stable/\(.*\)|Filename: dists/slink/\1|' |\
>     gzip -c >Packages.gz
> 
>         Then apt-get is happy again, for the time being.
> 
> --
> Tres Hofmeister <[EMAIL PROTECTED]>      http://www.rap.ucar.edu/~tres/
> Research Applications Program, National Center for Atmospheric Research

Reply via email to