Debian Lenny apt-cacher reporting bug
With the apt-cacher package in Debian Lenny, my web interface for the cache statistics wasn't being properly updated. Eventually, I tracked down the problem and figured out that I needed to modify the following section of apt-cacher-report.pl to look like this:
1 2 3 4 5 6 7 8 9 10 11 12 | #parse logfile: foreach $logfile_line (@logdata) { #$logfile_line =~ s/ /\+/g; @line = split /\|/, $logfile_line; $req_date = $line[0]; # $req_pid = $line[1]; # $req_ip = $line[2]; $req_result = $line[3]; $req_bytes = 0; $req_bytes = $line[4] if $line[4] =~ /^[0-9]+$/; # $req_object = $line[5]; |
Related Posts
- Saving time and bandwidth with apt-cacher
- Installing Plone on Debian Lenny
- 4gb seg fixup errors on Debian Lenny Xen domU
No comments yet. Be the first.
Leave a reply
