You need rootsh from extras repository installed for this to work Code: sudo gainroot vi /var/lib/dpkg/info/account-plugin-salut.postinst Inside the vi editor go down to line 6, the infamous /etc/init.d/avahi-daemon line. Only type whats inside the brackets <>, note that : starts a command inside vi. Type <i> for insert mode, type <#> to comment out the line, type <Esc> to leave insertion mode, type <:w> to write or save the file, type <:q> to quit the editor. Do not tell me that vi sucks, i already know! Then Code: dpkg --configure -a
sudo gainroot vi /var/lib/dpkg/info/account-plugin-salut.postinst
dpkg --configure -a