Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Installation & Upgrades
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Installation & Upgrades
For questions about upgrading and installation of your new Ubuntu OS.

 
Thread Tools Display Modes
Old December 5th, 2007   #1
georgz
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 6
[SOLVED] After upgrade, network-manager is in broken state

After today's upgrade with apt-get upgrade there is a problem with network-manager on my system.

The upgrade installed the new version of network-manager, but configuration fails:

-----
Richte network-manager ein (0.6.5-0ubuntu16.7.10.0) ...
* Reloading system message bus config...
...done.
* Restarting network connection manager NetworkManager
dpkg: Fehler beim Bearbeiten von network-manager (--configure):
Unterprozess post-installation script gab den Fehlerwert 2 zurück
-----

Sorry it's in german but it says that the post-installation sub-process gave error 2... What it does is that it tries to restart network-manager service and this hangs... When I try to start this process manually myself, it hangs at the stage of restarting network-manager.

Installing other packages is broken due to this, as it always tries to do the missing configuration of network-manager.

Any suggestions what to do? At least how to debug further?

I'm using 7.10 x86.

Thanks,
Georg

Last edited by georgz; December 6th, 2007 at 08:25 AM.. Reason: Changed title to solved
georgz is offline   Reply With Quote
Old December 5th, 2007   #2
georgz
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 6
Re: After upgrade, network-manager is in broken state

For those interested, any aptitude/synaptic etc asks me now to dpkg reconfigure:

$ sudo dpkg --configure -a
Richte network-manager ein (0.6.5-0ubuntu16.7.10.0) ...
* Reloading system message bus config... [ OK ]
* Restarting network connection manager NetworkManager


And there it hangs forever. So maybe the question is rather NetworkManager related, I just can't find out what the problem is. At this point I don't have network of course, which makes everything break... Need to cold restart.
georgz is offline   Reply With Quote
Old December 6th, 2007   #3
georgz
First Cup of Ubuntu
 
Join Date: Jun 2006
Beans: 6
[SOLVED] Re: After upgrade, network-manager is in broken state

For anyone who is interested:

Needed to remove the bcm43xx kernel module
# rmmod bcm43xx

Then it worked.
georgz is offline   Reply With Quote
Old December 6th, 2007   #4
TrioTorus
5 Cups of Ubuntu
 
TrioTorus's Avatar
 
Join Date: Jan 2006
Location: Gent, Belgium
Beans: 13
Ubuntu 6.06
Send a message via MSN to TrioTorus
Re: After upgrade, network-manager is in broken state

I've got the exact same problem. On 7.10 amd64. But I don't have bcm43xx module installed. How can I get around this? I'm unable to update anything, and I have no idea on how to start the Network Manager Service manually. dpkg --configure -a hangs. Quite a serious upgrade flaw if you ask me. How to troubleshoot? Thanks.

Code:
sudo rmmod bcm43xx
ERROR: Module bcm43xx does not exist in /proc/modules
__________________
Gutsy Gibbon on amd64. Dream machine for complete 3D graphics. Complete linux pipeline!
http://www.urga.be
TrioTorus is offline   Reply With Quote
Old December 7th, 2007   #5
killerbeesateme
First Cup of Ubuntu
 
Join Date: Dec 2007
Beans: 3
Re: After upgrade, network-manager is in broken state

I'm suffering from the same issue on a generic kernel 386 system. I've removed it from the starting on boot using "sudo update-rc.d NetworkManager remove" and after a reboot, I still can't update it. It just hangs at reloading network manager.

I also can't even remove it. It just hangs my system.

The module listed above is not loaded,

Any suggestions?
killerbeesateme is offline   Reply With Quote
Old December 7th, 2007   #6
BigStan23
First Cup of Ubuntu
 
Join Date: Dec 2007
Beans: 6
Re: After upgrade, network-manager is in broken state

I have the exact same issue. 7.10 on amd64 with no bcm43xx module.

I have to actually hit the reset button to reboot the system. This is a MAJOR problem!

Is there a way to get around this problem?

Quote:
Originally Posted by TrioTorus View Post
I've got the exact same problem. On 7.10 amd64. But I don't have bcm43xx module installed. How can I get around this? I'm unable to update anything, and I have no idea on how to start the Network Manager Service manually. dpkg --configure -a hangs. Quite a serious upgrade flaw if you ask me. How to troubleshoot? Thanks.

Code:
sudo rmmod bcm43xx
ERROR: Module bcm43xx does not exist in /proc/modules
BigStan23 is offline   Reply With Quote
Old December 8th, 2007   #7
killerbeesateme
First Cup of Ubuntu
 
Join Date: Dec 2007
Beans: 3
Re: After upgrade, network-manager is in broken state

Well I managed to work out some kind of a fix with the help of hairulfr in the #ubuntu IRC channel.

Here's how I removed the network manager package that was causing me a headache while trying to upgrade or install anything.

KEEP IN MIND THAT THIS REMOVES THE PACKAGE.

I ran "sudo update-rc.d NetworkManager remove" to remove network manager from starting at boot. I then rebooted the system.

Then, I fired up synaptic. I clicked the status button in the lower left hand corner, then in the new menu, I chose "Not Installed (Residual Configuration)" (or something like that).

You should see the network manager package giving you all the trouble listed.

I then marked it for Complete Removal.

I don't have the applet by the clock anymore, but at least I can use apt again without hanging my system.

Hope it helps!
killerbeesateme is offline   Reply With Quote
Old December 8th, 2007   #8
ztirffritz
A Carafe of Ubuntu
 
ztirffritz's Avatar
 
Join Date: Jul 2005
Location: Yakima WA USA
Beans: 99
Ubuntu 8.04 Hardy Heron
Re: [SOLVED] Re: After upgrade, network-manager is in broken state

Quote:
Originally Posted by georgz View Post
For anyone who is interested:

Needed to remove the bcm43xx kernel module
# rmmod bcm43xx

Then it worked.
Doesn't that break the wireless?
__________________
Mac OS X...because making UNIX user friendly was easier than fixing Windows.
ztirffritz is offline   Reply With Quote
Old December 19th, 2007   #9
BigStan23
First Cup of Ubuntu
 
Join Date: Dec 2007
Beans: 6
Re: After upgrade, network-manager is in broken state

As a final updateI tried this process, but it didn't work.

I finally ended up just using kill -9 on the network manager process, then running "sudo dpkg --configure -a" from a terminal window and everything finally worked went through. Problem solved.

Quote:
Originally Posted by killerbeesateme View Post
Well I managed to work out some kind of a fix with the help of hairulfr in the #ubuntu IRC channel.

Here's how I removed the network manager package that was causing me a headache while trying to upgrade or install anything.

KEEP IN MIND THAT THIS REMOVES THE PACKAGE.

I ran "sudo update-rc.d NetworkManager remove" to remove network manager from starting at boot. I then rebooted the system.

Then, I fired up synaptic. I clicked the status button in the lower left hand corner, then in the new menu, I chose "Not Installed (Residual Configuration)" (or something like that).

You should see the network manager package giving you all the trouble listed.

I then marked it for Complete Removal.

I don't have the applet by the clock anymore, but at least I can use apt again without hanging my system.

Hope it helps!
BigStan23 is offline   Reply With Quote
Old December 19th, 2007   #10
aldo_m
5 Cups of Ubuntu
 
Join Date: Nov 2007
Beans: 16
Re: After upgrade, network-manager is in broken state

well im in the same boat i just did the update and i use a netgear wg511t and now under network it no longer shows after the restart but my usb belkin fd works fine.
aldo_m is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:54 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry