Network-manager cannot install, dependency issue

view story

http://askubuntu.com – I accidently installed connmanager, it removed my network-manager and network-manager-gnome. Now I cannot connect to my wifi and ethernet connection. I tried to install network-manager from source (latest version) but it had dependency issues. Now when I am connecting internet through usb-modem. but still I cannot install network-manager and network-manager-gnome using apt-get -f it shows the following error: apt-get -f install network-manager network-manager-gnome Reading package lists... Done Building dependency tree Reading state information... Done network-manager is already th (HowTos)