-
apt-get Kernel-image problem...
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...?
-
Senior Member
registered user
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)
-
Senior Member
registered user
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).
-
Code:
apt-get remove initrd-tools ; dpkg -P initrd-tools ; apt-get install initrd-tools
seems to be fixing the problem. well actually i did the same with kernel image, but i think only initrd-tools makes the difference
-
Code:
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.
Similar Threads
-
By llinde in forum Hdd Install / Debian / Apt
Replies: 0
Last Post: 01-16-2005, 08:55 PM
-
By Stealth870 in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 08-30-2004, 07:11 PM
-
By aykuty in forum Customising & Remastering
Replies: 3
Last Post: 06-01-2004, 07:16 AM
-
By lmsaga in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 04-27-2004, 12:47 AM
-
By mgsimon in forum General Support
Replies: 4
Last Post: 01-16-2004, 08:15 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

Lot of 8 Micron 16GB (8x16=128GB) PC4-2933Y 2Rx8 DDR4 RAM Memory MTA18ASF2G72PDZ
$899.95

Samsung 32GBX2 1Rx4 PC4-3200AA DDR4 ECC Server Memory M393A4G40AB3-CWEBQ 64GB EC
$370.00

2 in 1 USB 3.0 Card Reader Micro TF card Reader usb adapter High Speed Cardreder
$3.99

Samsung 32GB (1x32GB) PC4-17000 (DDR4-2133) LRDIMM Memory (M386A4G40DM0-CPB0Q)
$120.00

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Samsung 96GB LPCAMM2 PC5 9600 FE1 E1 LPDDR5X CAMM2 M561K6LC3CL1-CCV DDR5 Memory
$2150.00

Kingston 32GB 2Rx4 PC4-2400T-RB1-11 ECC REG Server Memory HP24D4R7D4MAM-32
$150.00

Micron 16GB DDR4 2133MHz RDIMM Server Memory (MTA36ASF2G72PZ-2G1A2IG) - Preowned
$54.95

Micron 64GB DDR4 PC4-2666V 4DRx4 ECC LRDIMM MTA72ASS8G72LZ-2G6D2 SERVER MEM
$320.00