Hi,

Op ma  8 jan 2007 om 09:19:36 +0100 schreef Michael Hanke:
> On Sun, Jan 07, 2007 at 02:53:57PM -0900, Fielder George Dowding wrote:
> > Narative: The installation script breaks due to namespace conflict, to wit: 
> > cannot create the subdirectory "/etc/arno-iptables-firewall" because the 
> > file "arno-iptables-firewall" exists.
> > Work-around: I renamed the file "arno-iptables-firewall" to 
> > "arno-iptables-firewall.conf" and re-ran the installation from dselect. The 
> > script was able 
> > to create the directory and complete its actions including restarting the 
> > firewall.
>
> I'm not yet sure what the reason for this behaviour is. Are you
> upgrading from a previous package version. If so, from what version?
> 
> If you have used a custom installation of the upstream distribution
> before this might be the root of evil. The package does not support
> upgrading custom installs (only upgrades from previous package
> versions). The reason for this is that in theory the upstream stuff can
> be installed in any location and I think it is not reasonable to test
> for every possiblity.
> 
> I'd be glad if you could post more information.

Perhaps

    if [ ! -d /etc/arno-iptables-firewall ]; then 
        mkdir /etc/arno-iptables-firewall
    fi

in preinst could get improved.  Otoh, I doubt wether it is worth the
effort.  It seems the reported case is really very rare...

Bye,

Joost

Attachment: signature.asc
Description: Digital signature

Reply via email to