[Bug 317792] Re: Cannot purge configuration files

2009-11-23 Thread Jean-Baptiste Lallement
Thanks.

This bug has been fixed in the latest development release Lucid Lynx and
the directory /var/games/angband/data is now correctly removed.

=
diff -Nru /tmp/JyTztnBSIn/angband-3.0.9b/debian/postrm 
/tmp/uts0sQ5ctW/angband-3.1.1.1626/debian/postrm
--- angband-3.0.9b/debian/postrm2009-11-04 02:00:59.0 +
+++ angband-3.1.1.1626/debian/postrm2009-11-04 02:01:00.0 +
@@ -57,7 +57,7 @@
 # the debian-policy package
 
 # Ensure the menu system is updated
-[ ! -x /usr/bin/update-menus ] || /usr/bin/update-menus
+[ ! -x /usr/bin/update-menus ] || update-menus
 
 case $1 in
   remove)
@@ -129,6 +129,12 @@
if [ -d /var/games/angband/info ]; then
rm -rf /var/games/angband/info
fi
+   if [ -d /var/games/angband/data ]; then
+   rm -rf /var/games/angband/data
+   fi
+   if [ -e /etc/angband/edit/cost_adj.txt ]; then
+   rm /etc/angband/edit/cost_adj.txt
+   fi
rmdir /var/games/angband 
fi  
 ;;
=

A workaround is to remove by hand the directory /var/games/angband/data
before purging the package.


** Changed in: angband (Ubuntu)
   Status: Incomplete = Fix Released

-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 317792] Re: Cannot purge configuration files

2009-11-22 Thread Jean-Baptiste Lallement
Thanks for your report.

The error is :
=
Removing angband ...

Purging configuration files for angband ...

rmdir: failed to remove `/var/games/angband': Directory not empty

dpkg: error processing angband (--purge):

 subprocess post-removal script returned error exit status 1
=

Could someone with this issue open a terminal and provide the output of the 
following command:
find /var/games/angband

Thanks.

** Changed in: angband (Ubuntu)
   Status: New = Incomplete

-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 317792] Re: Cannot purge configuration files

2009-11-22 Thread Brian Barry
br...@brian-laptop:~$ find /var/games/angband
/var/games/angband
/var/games/angband/data
/var/games/angband/data/spell.raw


Brian

On Sun, Nov 22, 2009 at 10:13 AM, Jean-Baptiste Lallement 
jeanbaptiste.lallem...@gmail.com wrote:

 Thanks for your report.

 The error is :
 =
 Removing angband ...

 Purging configuration files for angband ...

 rmdir: failed to remove `/var/games/angband': Directory not empty

 dpkg: error processing angband (--purge):

  subprocess post-removal script returned error exit status 1
 =

 Could someone with this issue open a terminal and provide the output of the
 following command:
 find /var/games/angband

 Thanks.

 ** Changed in: angband (Ubuntu)
   Status: New = Incomplete

 --
 Cannot purge configuration files
 https://bugs.launchpad.net/bugs/317792
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in “angband” package in Ubuntu: Incomplete

 Bug description:
 Binary package hint: angband

 Removed angband using apt-get remove angband

 Tryed to purge config files using synaptic : Mark for complete removal

 Occured in 8.04
 Upgraded to 8.10 with same issue
 Tried again to Mark for complete removal with same result

 ProblemType: Package
 Architecture: i386
 Dependencies:

 DistroRelease: Ubuntu 8.10
 ErrorMessage: subprocess post-removal script returned error exit status 1
 NonfreeKernelModules: fglrx
 Package: angband None
 SourcePackage: angband
 Title: package angband None failed to install/upgrade: subprocess
 post-removal script returned error exit status 1
 Uname: Linux 2.6.27-9-generic i686


-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 317792] Re: Cannot purge configuration files

2009-11-22 Thread Magnate
Brian Barry wrote:
 br...@brian-laptop:~$ find /var/games/angband
 /var/games/angband
 /var/games/angband/data
 /var/games/angband/data/spell.raw

Ok, this is a hangover from

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490871

This removal error does not occur in Debian.

CC

 Brian
 
 On Sun, Nov 22, 2009 at 10:13 AM, Jean-Baptiste Lallement 
 jeanbaptiste.lallem...@gmail.com wrote:
 
 Thanks for your report.

 The error is :
 =
 Removing angband ...

 Purging configuration files for angband ...

 rmdir: failed to remove `/var/games/angband': Directory not empty

 dpkg: error processing angband (--purge):

  subprocess post-removal script returned error exit status 1
 =

 Could someone with this issue open a terminal and provide the output of the
 following command:
 find /var/games/angband

 Thanks.

 ** Changed in: angband (Ubuntu)
   Status: New = Incomplete

 --
 Cannot purge configuration files
 https://bugs.launchpad.net/bugs/317792
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in “angband” package in Ubuntu: Incomplete

 Bug description:
 Binary package hint: angband

 Removed angband using apt-get remove angband

 Tryed to purge config files using synaptic : Mark for complete removal

 Occured in 8.04
 Upgraded to 8.10 with same issue
 Tried again to Mark for complete removal with same result

 ProblemType: Package
 Architecture: i386
 Dependencies:

 DistroRelease: Ubuntu 8.10
 ErrorMessage: subprocess post-removal script returned error exit status 1
 NonfreeKernelModules: fglrx
 Package: angband None
 SourcePackage: angband
 Title: package angband None failed to install/upgrade: subprocess
 post-removal script returned error exit status 1
 Uname: Linux 2.6.27-9-generic i686

 


** Bug watch added: Debian Bug tracker #490871
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490871

-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 317792] Re: Cannot purge configuration files

2009-01-16 Thread Johan

** Attachment added: DpkgTerminalLog.gz
   http://launchpadlibrarian.net/21259411/DpkgTerminalLog.gz

-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 317792] Re: Cannot purge configuration files

2009-01-16 Thread Johan
angband version:

1:3.0.9b-2

-- 
Cannot purge configuration files
https://bugs.launchpad.net/bugs/317792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs