Hello all
I get a failure message when I try to update kernel:
So, here is the summary of the error as far as I understand: initramfs fails, because of these two lines:
libpango is the problem here, it can't find it. At first I thought it was looking at a wrong location, as /module-files.d/libpango1.0-0.modules is a ridiculous location. But then I also checked the package manager to see if the said files exist and to locate them. I saw that libpango is installed, and said packages should be in library folder. But they are not there. They are actually nowhere to be found: Although packages are installed, their contents are not.
Can anyone help me with this? It is driving me crazy.
I get a failure message when I try to update kernel:
Code:
Setting up linux-image-3.8.0-22-generic (3.8.0-22.33) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-3.8.0-22-generic
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.8.0-22-generic /boot/vmlinuz-3.8.0-22-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.8.0-22-generic /boot/vmlinuz-3.8.0-22-generic
update-initramfs: Generating /boot/initrd.img-3.8.0-22-generic
cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.8.0-22-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.8.0-22-generic.postinst line 1010.
dpkg: error processing linux-image-3.8.0-22-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-extra-3.8.0-22-generic:
linux-image-extra-3.8.0-22-generic depends on linux-image-3.8.0-22-generic; however:
Package linux-image-3.8.0-22-generic is not configured yet.
dpkg: error processing linux-image-extra-3.8.0-22-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.8.0-22-generic; however:
Package linux-image-3.8.0-22-generic is not configured yet.
linux-image-generic depends on linux-image-extra-3.8.0-22-generic; however:
Package linux-image-extra-3.8.0-22-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.8.0.22.38); however:
Package linux-image-generic is not configured yet.
dpkg: erNo apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
ror processing linux-generic (--configure):
dependency problems - leaving unconfigured
Setting up gpaste (3.0.1-1~webupd8~raring3) ...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.8.0-21-generic
cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
E: /usr/share/initramfs-tools/hooks/plymouth failed with return 1.
update-initramfs: failed for /boot/initrd.img-3.8.0-21-generic with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports has already been reached
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
linux-image-3.8.0-22-generic
linux-image-extra-3.8.0-22-generic
linux-image-generic
linux-generic
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
So, here is the summary of the error as far as I understand: initramfs fails, because of these two lines:
Quote:cp: cannot stat ‘/module-files.d/libpango1.0-0.modules’: No such file or directory
cp: cannot stat ‘/modules/pango-basic-fc.so’: No such file or directory
libpango is the problem here, it can't find it. At first I thought it was looking at a wrong location, as /module-files.d/libpango1.0-0.modules is a ridiculous location. But then I also checked the package manager to see if the said files exist and to locate them. I saw that libpango is installed, and said packages should be in library folder. But they are not there. They are actually nowhere to be found: Although packages are installed, their contents are not.
Can anyone help me with this? It is driving me crazy.