update-manager crashes Ubuntu 12.04

Posted by user205450 on Ask Ubuntu See other posts from Ask Ubuntu or by user205450
Published on 2013-10-21T03:32:05Z Indexed on 2013/10/21 4:10 UTC
Read the original article Hit count: 619

The update-manager crashes with the following error

frank@darkstar2:~$ update-manager

Traceback (most recent call last):
  File "/usr/bin/update-manager", line 33, in <module> from UpdateManager.UpdateManager import UpdateManager

  File "/usr/lib/python2.7/dist-packages/UpdateManager/UpdateManager.py", line 72, in <module> from Core.MyCache import MyCache

  File "/usr/lib/python2.7/dist-packages/UpdateManager/Core/MyCache.py", line 34, in <module>
    import DistUpgrade.DistUpgradeCache

  File "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeCache.py", line 60, in <module>
    KERNEL_INITRD_SIZE = _set_kernel_initrd_size()

  File "/usr/lib/python2.7/dist-packages/DistUpgrade/DistUpgradeCache.py", line 53, in _set_kernel_initrd_size
    size = estimate_kernel_size_in_boot()

  File "/usr/lib/python2.7/dist-packages/DistUpgrade/utils.py", line 74, in estimate_kernel_size_in_boot
    size += os.path.getsize(f)

  File "/usr/lib/python2.7/genericpath.py", line 49, in getsize
    return os.stat(filename).st_size

OSError: [Errno 5] Input/output error: '/boot/abi-3.2.0-54-generic'

I am not sure how to read the error but it seems there is some error in file size. How do I fix it.

© Ask Ubuntu or respective owner

Related posts about package-management

Related posts about update-manager