Package: dpkg
Version: 1.15.5.4
Severity: important

My /var/lib/dpkg/statoverride contains:
> root gnokii 4750 /usr/sbin/mgnokiidev
But the group "gnokii" doesn't exist on my system anymore (due to a
broken maintainer script, I guess).

The problem is that dpkg-statoverride fails for any action for any files
(not just the broken entry), like :
> dpkg-statoverride --add root root 755 /usr/bin/xclock 
> dpkg-statoverrides: unrecoverable fatal error, aborting:
>  syntax error: unknown group 'gnokii' in statoverride file 

and even worse:
> dpkg-statoverride --remove /usr/sbin/mgnokiidev
> dpkg-statoverrides: unrecoverable fatal error, aborting:
>  syntax error: unknown group 'gnokii' in statoverride file

I suppose that the most elegant workaround is to create the missing
group... and cleanup the broken package.


For other people affected... in my case, I ran:
 groupadd gnokii
 dpkg -P gnokii-cli
 # or #  dpkg-statoverride --remove /usr/sbin/mgnokiidev
 groupdel gnokii


Franklin


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (101, 'unstable'), (10, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils                     7.4-2      The GNU core utilities
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  lzma                          4.43-14    Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.25     Advanced front-end for dpkg

-- debconf-show failed



-- 
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