Summary: | Request sys-apps/portage new option to stop emerge w/out deleting files when digest verification fails | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Roberto Castagnola <roberto.castagnola> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 181949, 187293 |
Description
Roberto Castagnola
2007-01-20 13:40:51 UTC
As further suggestion, when a digest verification failure occurs, emerge can go on as usual, but instead of deleting suspicious file, it can move it to a default directory. This kind of suggestions completely defeats the whole purpose of manifests. If this happens to you, then file a bug and get the digest fixed. How will the user "check if the file is corrupted or not"? That's what the checksum does. fixed in sys-apps/portage-2.1.3_rc9 ChangeLog pym/portage.py 7322 zmedico If the fetcher reported success and the file is too small, don't attempt to resume. Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue. (trunk r7321) 7326 zmedico When digest verification of a distfile fails, rename instead of unlinking it in case it's a large download and the user wants to salvage it due to a bad digest. (trunk r7325) thanks zmedico :) |