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

Re: wishlist for dpkg



* Adam Heath 

| On Fri, 18 May 2001, Ulf Jaenicke-Roessler wrote:
| 
| >  Hmmm, my thought was, that data.tar.gz shouldn't be unpacked at all, if
| >  the (additional) checksum does not match. But I don't know any internals
| >  of dpkg, so this might quite well be wrong.
| 
| This requires scanning the entire data.tar.gz, seeing that it is valid, then
| processing it all again, to extract it.

How about first extracting it, seeing that it went ok and then
untarring?

Not that I know how this is implemented internally in dpkg, but if
feasible, this would be a slowdown, but not so bad as a full scan.

Or go the way of having an md5sum of data.tar.gz in the ar.

-- 

Tollef Fog Heen
Unix _IS_ user friendly... It's just selective about who its friends are.



Reply to: