← Back to team overview

gufw-developers team mailing list archive

Re: [Bug 535358] Re: gufw upgrade fails with cannot create directory `/etc/gufw': File exists

 

On Tue, 2010-03-23 at 21:28 +0000, Marcos wrote:
> Well, could you do this, please?
> sudo apt-get purge gufw
> sudo apt-get update
> sudo apt-get install gufw
> Thanks!
> 

I believe thats what I had already done, but I just did it again and it
installed fine.

I'm not sure how this will test the bug since it occurred when I did a
dist upgrade from karma.  It seems like it was just a problem of the
install script trying to create the directory /etc/gufw and failing when
it preexisted, rather than checking to see if existed and skipping that
step.

-- 
gufw upgrade fails with cannot create directory `/etc/gufw': File exists
https://bugs.launchpad.net/bugs/535358
You received this bug notification because you are a member of Gufw
Developers, which is the registrant for Gufw.

Status in Gufw: Fix Released

Bug description:
Upgrading gufw tries to create the directory /etc/gufw and fails.  Here is the output.
 
Setting up gufw (10.04.1-0ubuntu1) ...
mkdir: cannot create directory `/etc/gufw': File exists
dpkg: error processing gufw (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 gufw
E: Sub-process /usr/bin/dpkg returned an error code (1)

I recently did a dist-upgrade from Karmic.  Some info:
~$ uname -a
Linux judy 2.6.32-16-generic #24-Ubuntu SMP Sat Mar 6 12:33:21 UTC 2010 i686 GNU/Linux

~$ dlocate -l *ufw
||/ Name           Version        Description
+++-==============-==============-==============================================
iF  gufw           10.04.1-0ubunt graphical user interface for ufw
ii  ufw            0.30pre1-0ubun program for managing a Netfilter firewall





References