update-manager crashes Ubuntu 12.04
- by user205450
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.