[238] in athena10
Re: /svn/athena r23018 - trunk/debathena
daemon@ATHENA.MIT.EDU (Timothy G Abbott)
Tue Jun 10 11:10:01 2008
Date: Tue, 10 Jun 2008 11:09:13 -0400 (EDT)
From: Timothy G Abbott <tabbott@MIT.EDU>
To: Greg Hudson <ghudson@mit.edu>
cc: Gregory Nathan Price <price@mit.edu>, athena10@mit.edu
In-Reply-To: <1213049336.28124.14.camel@error-messages.mit.edu>
Message-ID: <alpine.DEB.1.10.0806091813110.29323@vinegar-pot.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
On Mon, 9 Jun 2008, Greg Hudson wrote:
> Also, what does divert.mk do if the file to be diverted doesn't exist?
> (I guess it has to be something intelligent due to the iceweasel/firefox
> split.)
It just invokes dpkg-divert --rename, which does nothing special in this
case. The diversion is setup, and since foo doesn't exist, it is not
moved to foo.debathena-orig. If later a package tries to install foo, it
ends up at foo.debathena-orig (because of the diversion), but until that
happens, there is no foo.debathena-orig (just foo, which is a symlink to
foo.debathena).
This could be non-ideal in the case that foo is normally created by a
bar.postinst script, in that if one
installs debathena
installs package bar
removes debathena
one might end up with a system with no file foo at all, and need to run
dpkg-reconfigure bar to make package bar behave correctly.
-Tim Abbott