gufw upgrade fails with cannot create directory `/etc/gufw': File exists

Bug #535358 reported by digger vermont
116
This bug affects 22 people
Affects Status Importance Assigned to Milestone
Gufw
Fix Released
Undecided
costales

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

costales (costales)
Changed in gui-ufw:
assignee: nobody → Devid Antonio Filoni (d.filoni)
costales (costales)
Changed in gui-ufw:
assignee: Devid Antonio Filoni (d.filoni) → Marcos (marcos.alvarez.costales)
status: New → In Progress
Revision history for this message
costales (costales) wrote :

Hi! You'll find this bug fixed in Lucid ;)
Thanks very much for your time!

Changed in gui-ufw:
status: In Progress → Fix Released
costales (costales)
Changed in gui-ufw:
status: Fix Released → Fix Committed
costales (costales)
Changed in gui-ufw:
status: Fix Committed → In Progress
Revision history for this message
costales (costales) wrote :

Hi! Thanks for the feedback! ;)
Could you confirm that in the last version of Lucid is fixed (Gufw version = 10.04.3)?
Thanks!

Changed in gui-ufw:
status: In Progress → Fix Released
Revision history for this message
digger vermont (digver) wrote : Re: [Bug 535358] Re: gufw upgrade fails with cannot create directory `/etc/gufw': File exists

Sorry but I accidentally did a reinstall of gufw so there's no way for
me to tell.

On Tue, 2010-03-23 at 09:51 +0000, Marcos wrote:
> Hi! Thanks for the feedback! ;)
> Could you confirm that in the last version of Lucid is fixed (Gufw version = 10.04.3)?
> Thanks!
>
> ** Changed in: gui-ufw
> Status: In Progress => Fix Released
>

Revision history for this message
costales (costales) wrote :

Well, could you do this, please?
sudo apt-get purge gufw
sudo apt-get update
sudo apt-get install gufw
Thanks!

Revision history for this message
digger vermont (digver) wrote :

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.

Revision history for this message
costales (costales) wrote :

Thanks digger for the test! ;)
If anybody have problems with the 10.04.3, please, comment here :)

Revision history for this message
DanielS (daniel-skogberg) wrote :

It installed fine for me as well... :)

Revision history for this message
costales (costales) wrote :

Thanks DanielS ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.