Ok, not working for me. What if there are no 0-bits files in that directory?
2009/7/20 Peter Hoogkamer <peter.hoogka...@gmail.com>: > Hello neu, > > I will checked this workaround this evening. > > 2009/7/19 neu <ubuntu-b...@henrik.synth.no>: >> Okay, here's a workaround that worked for me: >> >> The kill_bad_alternatives() function in the preinst script expects that >> all the files it reads are non-empty. On my system >> /var/lib/dpkg/alternatives/gnome-text-editor was empty, which made >> kill_bad_alternatives() exit when it tried to read the first line ("read >> mode"). >> >> Solution: Delete /var/lib/dpkg/alternatives/gnome-text-editor (and any >> other 0-byte files in /var/lib/dpkg/alternatives/) and try installing >> dpkg again. >> >> -- >> dpkg 1.15.3.1ubuntu1 fails to install/upgrade >> https://bugs.launchpad.net/bugs/397498 >> You received this bug notification because you are a direct subscriber >> of a duplicate bug. >> > -- dpkg 1.15.3.1ubuntu1 fails to install/upgrade https://bugs.launchpad.net/bugs/397498 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs