Re: Bug#55991: Doesn't work if only Packages.gz is available
Jason Gunthorpe <jgg@ualberta.ca> writes:
> On Sun, 23 Jan 2000, Falk Hueffner wrote:
>
> > I used to only mirror Packages.gz, but not Packages, which used to
> > work, but now I get:
>
> I cannot duplicate this here, and since you say it used to work something
> else is probably wrong. Are you sure you are using 0.3.16
# apt-get --version
apt 0.3.16 for alpha compiled on Jan 15 2000 00:52:54
> and did you do anything else that may have caused this?
Probably problems started when I changed "potato" to "frozen" in
sources.list. I'm not sure. But changing it back to potato doesn't
change anything, the same thing happens.
> What files do you have in /var/state/apt/lists and
> /var/state/apt/lists/partial?
For testing, I purged apt and reinstalled (var/state/apt/[partial]
empty). Then I put
deb file:/debian frozen main contrib non-free
into sources.list. /debian links into an NFS mount, I haven't checked
if that matters. I removed Packages from main, but left it in contrib
and non-free.
# apt-get update
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list 'file: frozen/main Packages' (/var/state/apt/lists/_debian_dists_frozen_main_binary-alpha_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these missing files
I could provide a log from strace. After that:
root@borkum:/var/state/apt/lists# ls -l
total 291
-rw-r--r-- 1 root root 74561 Jan 23 11:39 _debian_dists_frozen_contrib_binary-alpha_Packages
-rw-r--r-- 1 root root 219651 Jan 23 11:43 _debian_dists_frozen_non-free_binary-alpha_Packages
-rw-r----- 1 root root 0 Jan 25 11:55 lock
and partial is empty. So the error message is right; it *is* not
there.
Pehaps this "lock" file has to do with it? Should it be there? It
gets recreated on "apt-get update" when I delete it.
Falk
Reply to: