[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg: error processing linux-image-2.6.26-2-686 (--configure):



On Sat, 26 Jun 2010 16:23:17 -0400 (EDT), Mizanur Khondoker wrote:
> 
> I am having the following error while upgrading lenny. Any help would
> be greatly appreciated.
> 
> debian:/home/mizanur# aptitude safe-upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Reading task descriptions... Done
> The following partially installed packages will be configured:
>   linux-image-2.6.26-2-686
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
> Running depmod.
> Running mkinitramfs-kpkg.
> Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
> dpkg: error processing linux-image-2.6.26-2-686 (--configure):
>  subprocess post-installation script returned error exit status 17
> Errors were encountered while processing:
>  linux-image-2.6.26-2-686
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up linux-image-2.6.26-2-686 (2.6.26-24) ...
> Running depmod.
> Running mkinitramfs-kpkg.
> Failed to symbolic-link boot/initrd.img-2.6.26-2-686 to initrd.img.
> dpkg: error processing linux-image-2.6.26-2-686 (--configure):
>  subprocess post-installation script returned error exit status 17
> Errors were encountered while processing:
>  linux-image-2.6.26-2-686

Mizanur,

Please provide the following information:

(1) Which boot loader are you using?  (Grub version 1?  Grub version 2?
 lilo?  extlinux?)

(2) What is the contents of /etc/kernel-img.conf?

(3) What are the names of the files in the following directories?

   /etc/kernel/preinst.d
   /etc/kernel/prerm.d
   /etc/kernel/postinst.d
   /etc/kernel/postrm.d

(4) What is the output of the following commands?

   ls -Al /boot/
   ls -Al /

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


Reply to: