Error unistalling kix4ucs package on UCS

ucs-4-1
kix

#1

I’m tryng to unistall kix4ucs on 4.1-4 errata408
These are my errors:
http://pastebin.ubuntu.com/24268148/
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then I cannot remove this package and reinstall kix2016


#2
root@ucs-8023:/var/log/univention# dpkg --debug=777 -P kix4ucs
D000001: deferred_remove package kix4ucs:all
D000001: checking dependencies for remove 'kix4ucs:all'
(Lettura del database... 123550 file e directory attualmente installati.)
Rimozione di kix4ucs...
D000001: removal_bulk package kix4ucs:all
D000002: fork/exec /var/lib/dpkg/info/kix4ucs.postrm ( remove )
dpkg: errore nell'elaborare kix4ucs (--purge):
 il sottoprocesso installato script di post-removal ha restituito lo stato di errore 1
Si sono verificati degli errori nell'elaborazione:
 kix4ucs
root@ucs-8023:/var/log/univention# DEBCONF_DEBUG=developer /usr/share/debconf/frontend /var/lib/dpkg/info/kix4ucs.postrm
debconf (developer): frontend started
Use of uninitialized value $action in string eq at /usr/share/debconf/frontend line 27.
debconf (developer): frontend running, package name is kix4ucs
debconf (developer): starting /var/lib/dpkg/info/kix4ucs.postrm
postrm called with unknown argument `'

#3

http://pastebin.ubuntu.com/24497217/


#4

I’ve Solved!!!

cp /var/lib/dpkg/status /var/lib/dpkg/status_bk

Then

nano /var/lib/dpkg/status

Then I’ve removed kix section