Package: dpkg
Version: 1.10.28
Severity: minor

I got the following error message:
  dpkg: syntax error: unknown group `fuse' in statusoverride file 

The real file name is statoverride (/var/lib/dpkg/statoverride). I
propose the following patch (against dpkg dpkg-1.13.10)

Using the correct file name makes the correction of my problem much
easier :-)

Thanks,

--- filesdb.c.orig      2005-08-02 12:44:57.549537656 +0200
+++ filesdb.c   2005-08-02 12:45:39.156383340 +0200
@@ -364,60 +364,60 @@
 
     /* Extract the uid */
     if (!(ptr=memchr(thisline, ' ', nextline-thisline)))
-      ohshit("syntax error in statusoverride file ");
+      ohshit("syntax error in statoverride file ");
     *ptr=0;
     if (thisline[0]=='#') {
       fso->uid=strtol(thisline + 1, &endptr, 10);
       if (*endptr!=0)
-       ohshit("syntax error: invalid uid in statusoverride file ");
+       ohshit("syntax error: invalid uid in statoverride file ");
     } else {
       struct passwd* pw = getpwnam(thisline);
       if (pw==NULL)
-       ohshit("syntax error: unknown user `%s' in statusoverride file ", 
thisline);
+       ohshit("syntax error: unknown user `%s' in statoverride file ", 
thisline);
       fso->uid=pw->pw_uid;
     }
 
     /* Move to the next bit */
     thisline=ptr+1;
     if (thisline>=loaded_list_end)
-      ohshit("unexpected end of line in statusoverride file");
+      ohshit("unexpected end of line in statoverride file");
 
     /* Extract the gid */
     if (!(ptr=memchr(thisline, ' ', nextline-thisline)))
-      ohshit("syntax error in statusoverride file ");
+      ohshit("syntax error in statoverride file ");
     *ptr=0;
     if (thisline[0]=='#') {
       fso->gid=strtol(thisline + 1, &endptr, 10);
       if (*endptr!=0)
-       ohshit("syntax error: invalid gid in statusoverride file ");
+       ohshit("syntax error: invalid gid in statoverride file ");
     } else {
       struct group* gr = getgrnam(thisline);
       if (gr==NULL)
-       ohshit("syntax error: unknown group `%s' in statusoverride file ", 
thisline);
+       ohshit("syntax error: unknown group `%s' in statoverride file ", 
thisline);
       fso->gid=gr->gr_gid;
     }
 
     /* Move to the next bit */
     thisline=ptr+1;
     if (thisline>=loaded_list_end)
-      ohshit("unexecpted end of line in statusoverride file");
+      ohshit("unexecpted end of line in statoverride file");
 
     /* Extract the mode */
     if (!(ptr=memchr(thisline, ' ', nextline-thisline)))
-      ohshit("syntax error in statusoverride file ");
+      ohshit("syntax error in statoverride file ");
     *ptr=0;
     fso->mode=strtol(thisline, &endptr, 8);
     if (*endptr!=0)
-      ohshit("syntax error: invalid mode in statusoverride file ");
+      ohshit("syntax error: invalid mode in statoverride file ");
 
     /* Move to the next bit */
     thisline=ptr+1;
     if (thisline>=loaded_list_end)
-      ohshit("unexecpted end of line in statusoverride file");
+      ohshit("unexecpted end of line in statoverride file");
 
     fnn= findnamenode(thisline, 0);
     if (fnn->statoverride)
-      ohshit("multiple statusoverides present for file `%.250s'", thisline);
+      ohshit("multiple statoverides present for file `%.250s'", thisline);
     fnn->statoverride=fso;
     /* Moving on.. */
     thisline=nextline;

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686-smp
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages dpkg depends on:
ii  dselect                     1.10.28      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to