Re: Corrupt dpkg database? No kernels found
Martin Michlmayr <tbm <at> cyrius.com> writes:
> I just got an error during the installation because no kernel was
> found. syslog complained about missing dependencies and advised that
> "apt-get -f install" should be run. I entered the target and issues
> that command but apt-get segfaulted. After manually installing a .deb
> with dpkg, apt-get worked fine... this seems like a corrupted dpkg
> database to me. Has anyone seen this before? It sounds similar to
> something someone recently mentioned on -mips. I'm on ARM and several
> test installations in the last few days worked fine.
>
> Logs:
>
> Nov 26 10:31:21 apt-install: Reading package lists...
> Nov 26 10:31:21 apt-install:
> Nov 26 10:31:21 apt-install: Building dependency tree...
> Nov 26 10:31:33 apt-install:
> Nov 26 10:31:33 apt-install: You might want to run `apt-get -f install' to
correct these:
> Nov 26 10:31:33 apt-install: The following packages have unmet dependencies:
> Nov 26 10:31:33 apt-install: base-files: Depends: awk
> Nov 26 10:31:33 apt-install: netbase: Depends: openbsd-inetd but it is not
installable or
> Nov 26 10:31:33 apt-install: inet-superserver
> Nov 26 10:31:35 base-installer: info: Found kernels ''
The daily build of the installer dated 27-Nov-2006 fails in a similar way for
me, execpt that it is initramfs-tools as opposed to base-file that has unmet
dependencies.
Nov 29 02:32:35 apt-install:
Nov 29 02:32:35 apt-install: You might want to run `apt-get -f install' to
correct these:
Nov 29 02:32:35 apt-install: The following packages have unmet dependencies:
Nov 29 02:32:35 apt-install: initramfs-tools: Depends: klibc-utils (>=
1.4.19-2) but it is not going to be installed
Nov 29 02:32:35 apt-install: Depends: busybox (>= 1:1.01-3)
but it is not going to be installed or
Nov 29 02:32:35 apt-install: busybox-cvs-static (>=
20040623-1) but it is not installable
Nov 29 02:32:35 apt-install: Depends: udev (>= 0.086-1) but
it is not going to be installed
Nov 29 02:32:35 apt-install: libtext-charwidth-perl: Depends: perlapi-5.8.8
but it is not installable
Nov 29 02:32:35 apt-install: libtext-iconv-perl: Depends: perlapi-5.8.8 but it
is not installable
Nov 29 02:32:35 base-installer: error: exiting on error
base-installer/kernel/failed-package-install
~ # chroot /target/
sh-3.1# mount -t proc none /proc
sh-3.1# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Gordon
Reply to: