DLoop comments

Matt Zimmerman mdz at ubuntu.com
Thu Sep 29 13:53:02 CDT 2005


On Thu, Sep 29, 2005 at 02:41:56PM -0400, Phillip Susi wrote:
> Matt Zimmerman wrote:
> >It sounds simple until you consider things like conffiles, diversions,
> >Replaces, and other features of the packaging system beyond unpacking 
> >files.
> >I honestly believe that the complexity of this solution outweighs its value
> >in comparison to the alternatives, but you're welcome to attempt it.  You
> >might consider looking at dpkg-repack as an example of prior art in this
> >area.
> >
> 
> Those features are what makes a reinstall from the .deb desirable over a 
> simple cp, and those things would be left in the .deb to function 
> normally.

They aren't in the .deb.  The point is that what is present in the
filesystem does not always match what is in the .deb.  This is, in fact, one
of the reasons why a copy makes sense: the dpkg database in the filesystem
does correspond to the placement and content of the files in the same
filesystem, while there is not a strong correspondence to what was in the
.deb.

-- 
 - mdz



More information about the ubuntu-devel mailing list