LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   E: dpkg was interrupted (https://www.linuxquestions.org/questions/linux-newbie-8/e-dpkg-was-interrupted-804487/)

vikramtheone 04-27-2010 06:42 AM

E: dpkg was interrupted
 
Hi Guys,
I have a Ubuntu 9.04 Linux running on Freescale's i.MX515(ARM Cortex based) board with me.

There were about 250 updates pending and I did that today, well towards the end I could see that some of the updates failed because of the infamous errors:

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
E: Couldn't rebuild package cache
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.


If I do a 'sudo dpkg --configure -a' I get more errors, like -

Setting up initramfs-tools (0.92bubuntu29) ...
update-initramfs: deferring update (trigger activated)

Setting up linux-image-2.6.28-18-imx51 (2.6.28-18.60) ...
Running depmod.
update-initramfs: Generating /boot/initrd.img-2.6.28-18-imx51
Running postinst hook script /usr/sbin/flash-kernel.
Cannot find FIS partition 'initramfs'
User postinst hook script [/usr/sbin/flash-kernel] exited with value 1
dpkg: error processing linux-image-2.6.28-18-imx51 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-imx51:
linux-image-imx51 depends on linux-image-2.6.28-18-imx51; however:
Package linux-image-2.6.28-18-imx51 is not configured yet.
dpkg: error processing linux-image-imx51 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-imx51:
linux-imx51 depends on linux-image-imx51 (= 2.6.28.18.23); however:
Package linux-image-imx51 is not configured yet.
dpkg: error processing linux-imx51 (--configure):
dependency problems - leaving unconfigured
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.28-18-imx51
Cannot find FIS partition 'initramfs'
dpkg: subprocess post-installation script returned error exit status 1

What do I do now? Any solutions?

AlucardZero 04-27-2010 08:34 AM

Is your disk full?

vikramtheone 04-27-2010 09:08 AM

Quote:

Originally Posted by AlucardZero (Post 3949308)
Is your disk full?

Dear AlucardZero, Thanks for your reply.

From the Nautilus I see that there is still 856.6 MB free on the SDCARD of the board (I'm using a 4GB SDCARD with Ubuntu image on it).

In the current state, when I do sudo apt-get none of them complete. All of them end with E: dpkg was interrupted,.....

One thing I have noticed, during the booting. I see a list of -
mmcblk0: error -110 transferring data
end_request: I/O error, dev mmcblk0, sector 32
Buffer I/O error on device mmcblk0, logical block 4
end_request: I/O error, dev mmcblk0, sector 40
Buffer I/O error on device mmcblk0, logical block 5
end_request: I/O error, dev mmcblk0, sector 48
Buffer I/O error on device mmcblk0, logical block 6
end_request: I/O error, dev mmcblk0, sector 56
Buffer I/O error on device mmcblk0, logical block 7
end_request: I/O error, dev mmcblk0, sector 64
Buffer I/O error on device mmcblk0, logical block 8
end_request: I/O error, dev mmcblk0, sector 72
Buffer I/O error on device mmcblk0, logical block 9
end_request: I/O error, dev mmcblk0, sector 80
Buffer I/O error on device mmcblk0, logical block 10
end_request: I/O error, dev mmcblk0, sector 88
Buffer I/O error on device mmcblk0, logical block 11

But I'm not quite sure if these were also occurring before I did the 256 updates.

Also, the update manager still pops up with the following (Important Security)updates:

libavcodec52 (4MB)
libavformat52 (652KB)
libavutil (97KB)
libpostproc(82KB)
libswscale0(148KB)

There it is, I have mentioned very close-to status of my system.


All times are GMT -5. The time now is 01:54 PM.