Boot into the 10.04 installation and then open Terminal to run the
following commands ...
sudo dpkg configure -a
sudo apt-get upgrade fix-broken
That should sort it for you :-)
FWIW - upgrades can always be flaky anyway so if this still doesn't
sort it you may be looking at a clean install of 10.10 instead. Not as
difficult as that may seem ( apart from the saving data etc ). First
of all boot into Windows and delete all non-windows partitions to
leave a single empty partition then use a 10.10 Live CD to do the
install and when asked where it has to go you select the empty
partition and let it do a clean install. This will also sort out the
dual-boot menu too.
Purists may feel booting with a Live CD and using GParted to delete
the partitions not required is a better way of course, but letting
Windows do the deleting is possibly less traumatic for poor Windows