-
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

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99

Dell Constellation ES.3 3TB Enterprise-class Hard Drive (Wiped & Tested)
$39.00

Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00

DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95

Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4
$39.00

Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99

Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99

HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5" 0F19459 512 b/s
$78.00

(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99

Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99