NetworkManager stuck trying to connect [still not solved]

Hello,

today I have upgraded to Ozymandias, using the upgrade script
(Upgrade Script Netrunner 15 -> 16 – Netrunner GNU/Linux).

The process did not finish successfully (even though in the terminal it said “Upgrade finished”),
but after removing some packages I was able to complete the process
by running “apt-get dist-upgrade”.

But then, the network would not work.
The NetworkManager Icon would display the icon “connecting” forever.

In the syslog I found this:

So I tried to give more rights to nm-dhcp-helper by editing /etc/apparmor.d/sbin.dhclient
I added “Ux” in line 88.
before:
/usr/lib/NetworkManager/nm-dhcp-helper mr,
after:
/usr/lib/NetworkManager/nm-dhcp-helper Uxmr,

Then, after reloading the profile through
sudo service apparmor reload

NetworkManager was behaving normally again.

Did anybody else have this issue?
Would there have been a simpler way of overcoming it?

Cheers
Sven

The issue is not yet solved:
I have just done a reboot, and after that,
the NM-Applet hung again, and again, I got the DENIED-messages in the syslog.

After entering
sudo service apparmor reload
everything went back to normal.

Strange.

Any explanation?

Sven

Do you still have the error that appeared on upgrading ?
Did you have any third party repositories activated during the upgrade ? If yes which one ?

No, no. I would not have been able to do the upgrade if I still had the package conflict.
I simply removed the kde-telepathy packages and then did a normal dist-upgrade.

Yes, several.
I do not have access to the machine at the moment.
What I definitely know is that there were PPAs for Wine and Savoirfairelinux.

I guess one of the ppas is the culprit for the conflict. It’s not the wine ppa as we tested with it. But it might be one of the other ones that caused that conflict.
The only thing you can do now is try deactivating all of the ppas we by default don’t ship and try upgrading again and see if that solves anything.

Hello Leszek,

I don’t have the time to try a re-upgrade. And I managed
to work around the issue by putting
[font=monospace][color=#000000] service apparmor reload [/color]
[/font]into “[color=#000000][font=monospace]/etc/rc.local”.[/font][/color]

And I’ll give you a list of my active repositories:

$ more [font=monospace][color=#000000]/etc/apt/sources.list.d/[/color][/font]*.list

::::::::::::::
csoler-users-retroshare-utopic.list
::::::::::::::
deb http://ppa.launchpad.net/csoler-users/retroshare/ubuntu vivid main

deb-src http://ppa.launchpad.net/csoler-users/retroshare/ubuntu vivid main

::::::::::::::
official-package-repositories.list
::::::::::::::

Do not edit this file manually, use Software Sources instead.

deb http://ppa.launchpad.net/netrunner-os/netrunner-16-extras/ubuntu vivid main
#deb-src http://ppa.launchpad.net/netrunner-os/netrunner-16-extras/ubuntu vivid main
deb http://ppa.launchpad.net/netrunner-os/netrunner-16/ubuntu vivid main
#deb-src http://ppa.launchpad.net/netrunner-os/netrunner-16/ubuntu vivid main
deb http://ppa.launchpad.net/netrunner-os/netrunner-16-official/ubuntu vivid main
#deb-src http://ppa.launchpad.net/netrunner-os/netrunner-16-official/ubuntu vivid main
deb http://ppa.launchpad.net/netrunner-os/netrunner-16-ci-updates/ubuntu vivid main
#deb-src http://ppa.launchpad.net/netrunner-os/netrunner-16-ci-updates/ubuntu vivid main
deb http://ppa.launchpad.net/netrunner-os/netrunner-16-updates/ubuntu vivid main
#deb-src http://ppa.launchpad.net/netrunner-os/netrunner-16-updates/ubuntu vivid main

deb http://archive.ubuntu.com/ubuntu vivid main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu vivid-updates main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ vivid partner

::::::::::::::
pipelight-stable-utopic.list
::::::::::::::
deb http://ppa.launchpad.net/pipelight/stable/ubuntu vivid main

deb-src http://ppa.launchpad.net/pipelight/stable/ubuntu vivid main

::::::::::::::
plasmazilla-repository.list
::::::::::::::
deb http://ppa.launchpad.net/plasmazilla/releases/ubuntu vivid main

deb-src http://ppa.launchpad.net/plasmazilla/releases/ubuntu vivid main

::::::::::::::
virtualbx_oracl.list
::::::::::::::
deb http://download.virtualbox.org/virtualbox/debian/ vivid contrib
::::::::::::::
wine.list
::::::::::::::
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu vivid main