Package: gnome-nibbles
Version: 1:3.8.0-1
Severity: normal
Tags: patch

Purging configuration files for gnome-nibbles ...
rm: cannot remove ‘/var/games/’: Is a directory
dpkg: error processing gnome-nibbles (--purge):
 subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
 gnome-nibbles
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:


The cause is a typo in post-removal script. See the following trivial patch:

---8<---
--- /var/lib/dpkg/info/gnome-nibbles.postrm~    2013-05-25 19:16:01.000000000 
+0200
+++ /var/lib/dpkg/info/gnome-nibbles.postrm     2013-05-31 16:35:59.168946929 
+0200
@@ -2,7 +2,7 @@
 set -e
 
 if [ "$1" = "purge" ] ; then
-  for FILES in gnibbles.1.0.scores gnibbles.2.0.scores \
+  for FILE in gnibbles.1.0.scores gnibbles.2.0.scores \
   gnibbles.3.0.scores gnibbles.4.0.scores gnibbles.1.1.scores \
   gnibbles.2.1.scores gnibbles.3.1.scores gnibbles.4.1.scores; do
         rm -f /var/games/$FILE
--->8---

Thanks

-- 
Kiko



-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9.4 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-nibbles depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.12.1-3
ii  libc6                                        2.17-3
ii  libcanberra-gtk3-0                           0.30-2
ii  libclutter-1.0-0                             1.10.8-2
ii  libclutter-gtk-1.0-0                         1.2.0-2
ii  libgdk-pixbuf2.0-0                           2.28.1-1
ii  libglib2.0-0                                 2.36.1-2build1
ii  libgtk-3-0                                   3.8.2-1
ii  libpango-1.0-0                               1.32.5-5

Versions of packages gnome-nibbles recommends:
pn  yelp  <none>

gnome-nibbles suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to