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

Bug#316337: Better workaround



What I believe to be the cause of the trouble are the files in /var/lib/apt/lists/partial/ apt-get update leaves some empty files there, and it's exactly the package lists corresponding to those files that bzip2 chokes on. I got into the habit of running
# rm -f /var/lib/apt/lists/partial/*
# apt-get update
but there should be a better way: apt-get update should somehow avoid creating empty files in /var/lib/apt/lists/partial or nuke the empty files as part of its cleanup.

Also, by some research I don't remember anymore, I think I found out the reason for bzip2's choking: apt-get feeds it an empty file (maybe the empty lists/partial file?). Whether this is correct I don't remember, I'll see if I can prove it tomorrow.

<http://www.spreadfirefox.com/?q=affiliates&id=96235&t=194>



Reply to: