I removed the file /var/lib/dpkg/alternatives/x-cursor-theme and after that every thing runs well.Le mercredi 05 janvier 2005 à 15:05 +0100, Norbert a écrit : > 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
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 ? --
Thanks for your help.
The error came from a normal apt-get update followed by apt-get dist- upgrade. So I thought this was an system error and the file looked like a binary.
Norbert