Juergen Menden wrote: > > dpkg -i --force-depends dpkg-<version>.deb > > ====================================================================== > > 3. What if that doesn't work? > > if dpkg is dumped due to a SIGPIPE you probably have installed the > watchtower filesys. the getty on that filesys is broken. replace > it. FIXME: where to get a replacement? > > On the other hand, if dpkg says > > [...] > Setting up dpkg ... > install-info: failed to lock dir for editing! No such file or directory > dpkg: error processing dpkg (--install): > subprocess post-installation script returned error exit status 2 > Errors were encountered while processing: > dpkg > > you miss the file /usr/info/dir. If you create an empty file (eg with > touch /usr/info/dir) this error should vanish.
I touched /usr/info/dir, and still no go :-( | bash# dpkg -i --force-depends /var/tmp/new/debian/dpkg-1.1.2elf.deb | dpkg: regarding /var/tmp/new/debian/dpkg-1.1.2elf.deb containing dpkg, pre-dependency problem: | dpkg pre-depends on libc5 | libc5 is not installed. | dpkg: warning - ignoring pre-dependency problem ! | dpkg: regarding /var/tmp/new/debian/dpkg-1.1.2elf.deb containing dpkg, pre-dependency problem: | dpkg pre-depends on ncurses3.0 | ncurses3.0 is not installed. | dpkg: warning - ignoring pre-dependency problem ! | (Reading database ... 80 files and directories currently installed.) | Preparing to replace dpkg (using /var/tmp/new/debian/dpkg-1.1.2elf.deb) ... Here I hit CTRL-C after perl had consumed about 10 minutes of CPU time.... | dpkg: warning - old pre-removal script killed by signal (Interrupt) | dpkg - trying script from the new package instead ... | install-info: failed to lock dir for editing! File exists | dpkg: error processing /var/tmp/new/debian/dpkg-1.1.2elf.deb (--install): | subprocess new pre-removal script returned error exit status 2 | install-info: failed to lock dir for editing! File exists | dpkg: error while cleaning up: | subprocess post-installation script returned error exit status 2 | Errors were encountered while processing: | /var/tmp/new/debian/dpkg-1.1.2elf.deb -- Geert Uytterhoeven [EMAIL PROTECTED] Wavelets, Linux/m68k on Amiga http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

