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
Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 16GB | 2x HDD Trays
$1349.99
Dell PowerEdge R720XD Xeon E5-2680 V2 2.8GHz 20 Cores 256GB RAM 12x4TB
$510.00
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$79.19
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
Dell PowerEdge R730, 2 sinks, SystemBoard, 8 trays,H330,Idrac 8 exp, 2x750w Psu
$135.00
CTO Dell PowerEdge R630 Server, 2x Xeon E5-2620V4, 64GB- 512GB RAM, 480GB SSDs
$246.67
Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS
$114.99
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
DELL PowerEdge R630 8SFF Server 2x E5-2650v4 2.2GHz =24 Cores 32GB H730 4xRJ45
$250.00