Re: dpkg hosed after crash
On Thu, 1 Jul 1999, Mike Schmitz wrote:
> A while back, my system crashed, but I was able to bring up a crippled
> system that I can limp along with. I lost mostly just data, and what
> programs I lost, I have been able to replace by reinstalling them. One
> that is becoming a sore spot, though, is dpkg. Whie it is able, mostly,
> to install other programs, when I try to upgrade it, it gives me this
> error:
>
> mschmitz:~# dpkg -i /var/cache/apt/archives/dpkg_1.4.1.3_i386.deb
> (Reading database ... 42321 files and directories currently installed.)
> Preparing to replace dpkg 1.4.1.1 (using
> .../archives/dpkg_1.4.1.3_i386.deb) ...install-info: failed to lock dir
> for editing! No such file or directory
This probably means the /usr/info/dir file has disappeared.
You may create a new one by running
/var/lib/dpkg/info/base-files.postinst
[ However, it will just create a "minimal" one ].
Reply to: