[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sub-process /usr/bin/dpkg returned an error code



On Thu, 2002-12-05 at 01:07, Seneca wrote:
> On Wed, Dec 04, 2002 at 04:25:43PM +0100, Antoine Jacoutot wrote:
> > I installed for some tests the cyrus-imap server.
> > Today I did:
> > apt-get --purge remove cyrus-imap
> > I saw that the cyrus user was not removed from /etc/passwd, so I did:
> > userdel cyrus
> > 
> > And now, I can't install packages anymore, I get the followinf error:
> > dpkg: syntax error: unknown user `cyrus' in statusoverride file 
> > E: Sub-process /usr/bin/dpkg returned an error code (2)
> > 
> > Anyone has an idea how to resolve this problem without recreating the cyrus user
> > which I don't need...
> 
> I'm not sure if this is the best way to do it, but there is a file
> called /var/lib/dpkg/statoverride. See if there is a line starting with
> "cyrus". If there is, make a backup of the file then remove the line
> from the file.

It worked nicely, thank you very much for that.

Best regards.

Antoine



Reply to: