Do you have initrd-tools installed?
dpkg -l|grep initrd-tools
Trying to get a new kernel, this is my result:
<pt-get install 'kernel-image-2.6.8-1-686' ;echo RESULT=$?
Reading Package Lists... Done
Building Dependency Tree... Done
kernel-image-2.6.8-1-686 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 566 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up kernel-image-2.6.8-1-686 (2.6.8-2) ...
/usr/sbin/mkinitrd: line 1: mkext2fs: command not found
Failed to create initrd image.
dpkg: error processing kernel-image-2.6.8-1-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-image-2.6.8-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
RESULT=100
This means...?
Do you have initrd-tools installed?
dpkg -l|grep initrd-tools
Hmm, I updated it via apt-get upgrade, and it seemed to work, but now I think it has a dpkg prob?
Setting up kernel-image-2.6.8-1-686 (2.6.8-2) ...
/usr/sbin/mkinitrd: line 1: mkext2fs: command not found
Failed to create initrd image.
dpkg: error processing kernel-image-2.6.8-1-686 (--configure):
subprocess post-installation script returned error exit status 9
Errors were encountered while processing:
kernel-image-2.6.8-1-686
E: Sub-process /usr/bin/dpkg returned an error code (1)
It's the same exact error you posted first. Did you install initrd-tools?
Oh, it is the same error...
Yes, I have initrd-tools installed (according to apt-get).
seems to be fixing the problem. well actually i did the same with kernel image, but i think only initrd-tools makes the differenceCode:apt-get remove initrd-tools ; dpkg -P initrd-tools ; apt-get install initrd-tools
Thanks much; these commands saved me much frustration in dealing with the "mkext2fs: command not found" error when apt-get'ting a new kernel. Didn't know about the dpkg -P option, or that such a thing might be handy.Code:apt-get remove initrd-tools ; dpkg -P initrd-tools ; apt-get install initrd-tools
Cisco 2901/K9-V06 Integrated Services Gigabit Voice Router
$69.99
Cisco Catalyst 3850 48 PoE+ 48-Port Gigabit Managed Switch WS-C3850-48F-E
$150.00
Cisco Catalyst 3650 48-Port Managed PoE+ Gigabit Switch WS-C3650-48FS-E
$55.99
Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 715W+ C3850-NM-4-1G Mod
$83.00
Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850
$38.99
Cisco Catalyst WS-C2960-48TT-L V02 48 Port Fast Ethernet Switch
$34.00
Cisco WS-C4948-10GE-S 4948-10GE 48 Port Gigabit +10GB Switch w single AC 15.0 OS
$99.99
Cisco CBS350-24FP-4G 28 Port PoE Managed Ethernet Switch
$319.99
Cisco C9300-48 48 Port Switch Dual PSU W/C9300-NM-8X P/N: C9300-48U-A Tested
$799.99
UNCLAIMED Cisco Meraki MS120-24P-HW - 24Ports Ethernet PoE Switch Same Day Ship
$315.00