The current code blindly assumes that the pre-existing index.tar is a prefix to the new uncompressed index.tar; this assumption doesn't hold when a package repository for whatever reason respins the index tarball or there is a local filesystem data corruption.
The current code blindly assumes that the pre-existing index.tar is a prefix to the new uncompressed index.tar; this assumption doesn't hold when a package repository for whatever reason respins the index tarball or there is a local filesystem data corruption.