I'm trying to upgrade a debian 2.0 (hamm) system to 2.1 (slink). I've got 2.1
on a mounted CD-ROM and apt installed correctly on the system. The problem I
am having is getting "apt-get dist-upgrade" to work. When I run the command
(as root) I get the following error message:
Updating package status cache...E: Can't open /var/cache/apt/srcpkgcache.bin - open (2 No such file or directory)
E: The previous errors apply to a Package Cache File /var/cache/apt/srcpkgcache.bin
E: You should probably re-run apt-get update
I added the following line to /etc/apt/sources.list:
deb file:/cdrom/debian/dists stable/binary-i386 main
and I've commented out the default http: references as I don't want to do this
across the web.
I ran across this problem a while back but decided to reformat and start clean.
I am now getting to upgrading the systems that I cannot afford to rebuild.
What am I doing wrong?
Lyndon State College