cybozu-go / aptutil

Go utilities for Debian APT repositories
MIT License
125 stars 29 forks source link

[cacher] Ignore checksum of Release in Release #13

Closed ymmt2005 closed 7 years ago

ymmt2005 commented 7 years ago

Some APT repositories have a Release file that contains wrong checksums of Release itself. As go-apt-cacher fails to handle such repositories, such checksums should be ignored.

ymmt2005 commented 7 years ago

go-apt-mirror already has a workaround for this case. https://github.com/cybozu-go/aptutil/blob/ec162e2c52fd6a07f6d95d667568f7ed2f8623fc/mirror/mirror.go#L123-L127