Ubuntu 12.04 after update Network icon missing
After update and restart, the network icon is missing in the top panel and when i select 'network' from the unity dash home, I get an error saying that 'The system network service is not compatible with this version'
I tried 'sudo service network-manager start ' and 'sudo NetworkManager' 'sudo network-manager'
it gives error that command not found. please help me out here. Thank you.
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
That's because network-manager isn't a service. If you attempt to guess commands you will more than likely fail. Also using capitalization will nearly always fail as there are only a handful of commands with capital letters in and Linux is VERY case sensitive.
Can you please give the output of:
lsb_release -a; uname -a; apt-cache policy network-manager
Thanks
Revision history for this message
|
#2 |
No, this is simply indicative of an incomplete upgrade -- the version of NetworkManager doesn't match with a version supported by the nm-applet or the control-center applet that is installed. You may want to run 'sudo apt-get install -f' or start upgrades again to see if there are new updated packages available.
'sudo service network-manager start' is suboptimal, but should work. The best way to stop, start and restart the NetworkManager service, however, is:
sudo start network-manager
sudo stop network-manager
sudo restart network-manager
Each of these commands will do as the second word says; start, stop, or restart the service.
Revision history for this message
|
#3 |
http://
this is my output for andrew's commands.
And mathieu, i don't have network connectivity..that is the problem. So, i can't sudo update
Revision history for this message
|
#4 |
Can you copy the text, the image you gave is microscopic but is also just text...so you can paste that here and an image isn't needed.
Revision history for this message
|
#5 |
Since, i don't have connectivity in laptop, I am using a mobile now..i cannot type everything shown on my screen..so, i thought a screenshot will help..wait..i'll double check the image or post another screenshot..
Revision history for this message
|
#6 |
here's the screenshot http://
Revision history for this message
|
#7 |
Try pressing ALT+F2 and run:
nm-applet
Revision history for this message
|
#8 |
The system is a laptop. Did you not think to use a WIRED connection and reinstall network manager there?
Revision history for this message
|
#9 |
dear andrew,
any connection to outside network, be it lan or wifi , everything is blocked. i tried plugging lan cable , usb modem .. but no use.
Revision history for this message
|
#10 |
i tried nm-applet. it says , 'the program nm-applet can be found in the following packages:
*network-
*mythbuntu-
Try: sudo apt-install <selected package>'
Revision history for this message
|
#11 |
Connect to a wired network and reboot. Log in then open a terminal and run:
gksudo gedit /etc/resolv.conf
delete all text and add:
nameserver 8.8.8.8
Save the new file and try the web.
Revision history for this message
|
#12 |
i plugged in lan cable , rebooted,edited the file , again rebooted.. the lan interface is not showing up at all . .i tried connecting web. no use.
Revision history for this message
|
#13 |
Why did you reboot after editting the file. I never said to do that....?
Revision history for this message
|
#14 |
ok, i rebooted cause i didn't see anything happening..what do i do now?
Revision history for this message
|
#15 |
Can you ping your router's internal IP?
Revision history for this message
|
#16 |
here's the set up i have. a desktop running windows which connects to internet via a usb modem. the lan connection i tols is not a broadband, its from my desktop via internet sharing. i dont use any router
Revision history for this message
|
#17 |
Then can you ping the windows PC's internal IP?
Revision history for this message
|
#18 |
no . it says network is unreachable
Revision history for this message
|
#19 |
Can i boot from a live USB and replace my currently installed network manager with that of the live USB ? or can I try update by chrooting ? just a thought . will it work?
Revision history for this message
|
#20 |
Yes, I've done that before, thanks for reminding me. In the live CD, run:
sudo apt-get update
sudo apt-get install network-manager network network-
Then if you mount your installed system's partition you can then navigate to /var/cache/
You can then reboot and navigate to where you coped the deb files to and run:
sudo dpkg -i ./network*.deb
And the files will be installed :)
Revision history for this message
|
#22 |
i booted into the terminal and in the live cd session, i pasted ur commands , I got this output...
W: Duplicate sources.list entry cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)/ precise/main i386 Packages (/var/lib/
W: Duplicate sources.list entry cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)/ precise/restricted i386 Packages (/var/lib/
W: You may want to run apt-get update to correct these problems
ubuntu@ubuntu:~$ sudo apt-get install network-manager network network-
Revision history for this message
|
#23 |
in the '/var/cache/
Revision history for this message
|
#24 |
Yes, when you upgrade the app it will put the debs from the web in there
Revision history for this message
|
#25 |
i installed the following files 'network-
Revision history for this message
|
#26 |
now you have connected to the web, run:
sudo apt-get --reinstall install network-manager network-
Inviting complete strangers onto your PC is not smart in any way. I strongly advise you not to do this in future.
Revision history for this message
|
#27 |
i was trying to get wicd and messed something up .. now , I get this error about wicd whenever i do a apt-get install package
ajay@ajay-
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
wicd-daemon : Depends: python-wicd (= 1.7.2.3-1) but 1.7.2.3-1ubuntu0.1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ajay@ajay-
Revision history for this message
|
#28 |
wget https:/
sudo dpkg -i ./python-
rm ./python-
sudo apt-get -f install
HTH
Revision history for this message
|
#29 |
unfortunately ,No. I don't mind removing all traces of wicd altogether. . will that eliminate this error and how to do it ?
Revision history for this message
|
#31 |
how to remove wicd completely just tell me the commands..
Revision history for this message
|
#32 |
sudo apt-get --purge remove `dpkg -l | grep wicd | awk {'print $2'}`
Will do it
Revision history for this message
|
#33 |
Thanks actionparsnip, that solved my question.
Revision history for this message
|
#34 |
about the missing network icon , try to update the solution when u r free. Thank you !
Revision history for this message
|
#35 |
thank you sir i flowed answer that is in answer #20, and it's successfully worked form