> >    Ability too see filenames makes it clear what is there in the cache. One
> >    cannot predict what kind of crooked emergency situation might arise
> >    requiring hackery beyond one's dreams just to get a something critical
> >    to work. Pkg itsef screwed up, hand copying of files and so on. I cannot
> >    articulate examples right now but everyone including myself have faced
> >    situations in the past. I remember one case where I desperately needed
> >    to apply a patch and a bug in patchadd caused me to hand-edit pkginfo
> >    files of 30 packages to get the patch to install.
>  
>   I expect we would see snapshots come into play in any recovery
>   process.  I don't agree that the cache is a general solution to such
>   problems--if anything, the cache is probably as untrustworthy as the
>   image's contents.

I agree with Stephen on this point.  If pkg screwed up, I wouldn't trust
the contents of the cache.  In the situations that I've encountered, and
bugs that I've fixed, we needed to remove the cached content and
download from the depot to recover.

We're also very close to implementing a repair operation for pkg.  That
should eliminate the need to do most repair actions by hand.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to