Bug#288753: gtk2-engines-industrial: internal error: /var/lib/dpkg/alternatives/x-cursor-theme corrupt: missing newline after manflag

Norbert Norbert <rotfeder@gmx.de>, 288753@bugs.debian.org
Mon, 10 Jan 2005 21:46:23 +0000


Am 10.01.2005 00:34:58 schrieb(en) Josselin Mouette:
> Le mercredi 05 janvier 2005 =E0 15:05 +0100, Norbert a =E9crit :
> > Package: gtk2-engines-industrial
> > Version: 0.2.36.4
> > Severity: normal
> >
> > this happens while upgrading or dpkg -r
> >
> > gtk2-engines-industrial
> > update-alternatives: internal error:
> /var/lib/dpkg/alternatives/x-cursor-theme corrupt: missing newline
> after manflag
> > dpkg: error processing gtk2-engines-industrial:
> >  subprocess pre-removal script returned error exit status 2
> >  update-alternatives: internal error:
> /var/lib/dpkg/alternatives/x-cursor-theme corrupt: missing newline
> after manflag
> >  dpkg: error while cleaning up:
> >   subprocess post-installation script returned error exit status 2
> >   Errors were encountered while processing:
> >    gtk2-engines-industrial
>=20
> As the error says, there is probably a corrupt file on your system.
> Whatvar/lib/dpkg/alternatives/x-cursor-theme ?
> --
> if you remove /var/lib/dpkg/alternatives/x-cursor-theme ?
> --
I removed the file /var/lib/dpkg/alternatives/x-cursor-theme and after =20
that every thing runs well.
Thanks for your help.
The error came from a normal apt-get update followed by apt-get dist-=20
upgrade. So I thought this was an system error and the file looked like =20
a binary.

Norbert