I got a little problem after upgrading my Fujitsu’s Ubuntu 8.10 to 9.04, I removed some of the kernel files and directory by hand some time ago, and it turned back as a problem after the upgrading was complete. To make it short, I can not update anything before the broken dependencies is fixed, but I can’t fix the broken dependencies because all the files were already manually deleted by me. Lucky me the Synaptic Package Manager list the directories and files that were deleted, so here’s what I’ve done
1. Created all the directories with mkdir
mkdir -p /lib/modules/2.6.27-7-generic/volatile/
2. Created all the files with touch
touch /boot/System.map-2.6.27-7-generic
touch /boot/initrd.img-2.6.27-7-generic
3. Fixing it with
sudo aptitude -f remove
And finally I can use the Update Manager again.