LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-24-2013, 05:09 PM   #1
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo, FreeBSD
Posts: 176

Rep: Reputation: 28
NetworkManager broken in current


Latest upgrade (Sat Mar 23 22:49:52 UTC 2013) of network manager's gtk applet broke it's gui. Now I can't modify network connections because these windows never appears. It shows error instead:

Code:
(nm-connection-editor:4671): Gtk-WARNING **: Unknown property: GtkComboBox.margin-left

(nm-connection-editor:4671): Gtk-WARNING **: Unknown property: GtkComboBox.margin-bottom

(nm-connection-editor:4671): Gtk-WARNING **: Unknown property: GtkCheckButton.margin-bottom

(nm-connection-editor:4671): Gtk-WARNING **: Unknown property: GtkBox.valign

(nm-connection-editor:4671): Gtk-WARNING **: Unknown property: GtkBox.vexpand

(nm-connection-editor:4671): GLib-GObject-ERROR **: cannot create instance of abstract (non-instantiatable) type `GtkBox'
According to nm-applet AUR package, simple replacement in .ui files fix this:

Code:
sed -i 's/GtkBox/GtkVBox/g' src/connection-editor/ce-page-general.ui
sed -i 's/GtkBox/GtkVBox/g' src/connection-editor/nm-connection-editor.ui
I regularly use Wicd, but from time to time I need to connect to VPN and so far Wicd can't be used with openVPN, so I'm stuck with NetworkManager.

Second problem I encountered after upgrade is that NetworkManager seems unable to connect to wired network. Wicd and dhcpcd works fine.

I tried watching logs, but didn't find anything usefull.
 
Old 03-24-2013, 06:12 PM   #2
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo, FreeBSD
Posts: 176

Original Poster
Rep: Reputation: 28
Quote:
Originally Posted by yenn View Post

Code:
sed -i 's/GtkBox/GtkVBox/g' src/connection-editor/ce-page-general.ui
sed -i 's/GtkBox/GtkVBox/g' src/connection-editor/nm-connection-editor.ui
I just rebuild network-manager-applet and these replacement fixed it.

Quote:
Originally Posted by yenn View Post
Second problem I encountered after upgrade is that NetworkManager seems unable to connect to wired network. Wicd and dhcpcd works fine.

I tried watching logs, but didn't find anything usefull.
I looked into logs again and noticed error with DHCP. I killed running dhcpcd process and suddenly it works!
 
Old 03-24-2013, 11:20 PM   #3
spiritual_fraud
LQ Newbie
 
Registered: Mar 2013
Distribution: Slackware, Gentoo
Posts: 7

Rep: Reputation: Disabled
I'm getting a different error:

Code:
symbol lookup error: /libnm-util.so.2: undefined symbol: g_type_ensure
Also modemmanager-0.6.0.0 doesn't seem to work had to downgrade to 0.5.2
 
Old 03-24-2013, 11:58 PM   #4
asme
LQ Newbie
 
Registered: Jul 2012
Posts: 1

Rep: Reputation: Disabled
tonight I upgraded slackware-current, and ended up with the same error and NetworkManager could not work.

I then manually installed NetworkManager-0.9.8.0-i486-1.txz and got the following information.

......
Executing install script for NetworkManager-0.9.8.0-i486-1.txz.
Starting NetworkManager daemon: /usr/sbin/NetworkManager
/usr/sbin/NetworkManager: symbol lookup error: /usr/lib/libnm-util.so.2: undefined symbol: g_type_ensure
Package NetworkManager-0.9.8.0-i486-1.txz installed.


Quote:
Originally Posted by spiritual_fraud View Post
I'm getting a different error:

Code:
symbol lookup error: /libnm-util.so.2: undefined symbol: g_type_ensure
Also modemmanager-0.6.0.0 doesn't seem to work had to downgrade to 0.5.2
 
Old 03-25-2013, 06:39 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by asme View Post
tonight I upgraded slackware-current, and ended up with the same error and NetworkManager could not work.

I then manually installed NetworkManager-0.9.8.0-i486-1.txz and got the following information.

......
Executing install script for NetworkManager-0.9.8.0-i486-1.txz.
Starting NetworkManager daemon: /usr/sbin/NetworkManager
/usr/sbin/NetworkManager: symbol lookup error: /usr/lib/libnm-util.so.2: undefined symbol: g_type_ensure
Package NetworkManager-0.9.8.0-i486-1.txz installed.
Everyone who upgrades his or her slackware-current after the 23-march update should be aware that the upgraded NetworkManager package depends on another upgraded package: l/gdk-pixbuf2 .
You will experience a nasty problem when upgrading NetworkManager first: this will kill your network connection and you will have to install l/gdk-pixbuf2 too before you can get a network connection again.
If you are using slackpkg for the upgrade then you will be affected by this: since slackpkg works alphabetically, NetworkManager will come before all the rest and you will notice that slackpkg is unable to upgrade any of these other packages after NetworkManager... I fixed that on my PC by using /etc/rc.d/rc.inet1.conf to define a configuration for my eth0, then ran "/etc/rc.d/rc.inet1 eth0_restart" and then re-ran "slackpkg upgrade-all".

Eric
 
4 members found this post helpful.
Old 03-25-2013, 07:00 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
...
You will experience a nasty problem when upgrading NetworkManager first: this will kill your network connection and you will have to install l/gdk-pixbuf2 too before you can get a network connection again.
If you are using slackpkg for the upgrade then you will be affected by this: since slackpkg works alphabetically, NetworkManager will come before all the rest and you will notice that slackpkg is unable to upgrade any of these other packages after NetworkManager... I fixed that on my PC by using /etc/rc.d/rc.inet1.conf to define a configuration for my eth0, then ran "/etc/rc.d/rc.inet1 eth0_restart" and then re-ran "slackpkg upgrade-all".
...
After having similar problems last year with an update of wget, I have changed /etc/slackpkg/slackpkg.conf
Code:
...
# If this variable is set to "on", all files will be downloaded before the
# requested operation (install or upgrade) is performed.   If set to "off",
# then the files will be downloaded and the operation (install/upgrade)
# performed one by one.  Default=off
DOWNLOAD_ALL=on
...
now the "upgrade-all" is performed not before all packages are downloaded.

Markus

Last edited by markush; 03-25-2013 at 07:01 AM.
 
4 members found this post helpful.
Old 03-25-2013, 07:33 AM   #7
tty13
Member
 
Registered: Aug 2006
Distribution: Slackware64-14.2
Posts: 50

Rep: Reputation: 7
great point markus

and I would like to add that people check the changelog for additions to the l(L) series and add those before they continue to upgrade with slackpkg.
 
1 members found this post helpful.
Old 03-25-2013, 07:38 AM   #8
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
I solved this problem by having a local mirror first by rsync, and then let slackpkg perform the upgrade locally using http and not local filesystem since i found it faster than using local filesystem (file://)
 
Old 03-25-2013, 07:48 AM   #9
fsauer
Member
 
Registered: Jul 2012
Posts: 103

Rep: Reputation: Disabled
Quote:
Originally Posted by Alien Bob View Post
Everyone who upgrades his or her slackware-current after the 23-march update should be aware that the upgraded NetworkManager package depends on another upgraded package: l/gdk-pixbuf2 .
You will experience a nasty problem when upgrading NetworkManager first: this will kill your network connection and you will have to install l/gdk-pixbuf2 too before you can get a network connection again.
Eric
Thank you Eric, but...
Unfortunately, installing the new gdk-pixbuf2 did not solve the problem with the unknown g_type_ensure.

Further checking identified glib2 as the culprit. Upgrading l/glib2-2.34.3-x86_64-1.txz resolved the problem.

Have fun!
 
2 members found this post helpful.
Old 03-25-2013, 07:56 AM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by fsauer View Post
Thank you Eric, but...
Unfortunately, installing the new gdk-pixbuf2 did not solve the problem with the unknown g_type_ensure.

Further checking identified glib2 as the culprit. Upgrading l/glib2-2.34.3-x86_64-1.txz resolved the problem.

Have fun!
Well, you need to upgrade all slackware-current packages anyway :-) Thanks for finding out the actual package dependency.

Eric
 
Old 03-25-2013, 09:29 AM   #11
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,372

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
@Eric - Thanks for pointing out the problem!

My sidestep with my netbook with a WPA2 wireless connection to my router was to:
'/etc/rc.d/rc.networkmanager stop' # Kill the networkmanager daemon.
'pkill wpa_supplicant' # Kill remaining wpa_supplicant process
'rfkill unblock 1' # Unblock wireless LAN interface at index 1 ('rfkill list' for details)
'wpa_supplicant -B -c/etc/wpa_supplicant.conf -iwlan0 -Dwext' # Connect using wpa_supplicant (/etc/wpa_supplicant.conf was already in place)
'dhcpcd' # Get IP address via DHCP
'sh /etc/rc.d/rc.firewall' # Put firewall rules in place

The upgrade using the usual slackpkg dance went on without issue and NetworkManager is working without problems.

Last edited by allend; 03-25-2013 at 09:36 AM.
 
Old 03-25-2013, 01:20 PM   #12
yenn
Member
 
Registered: Jan 2011
Location: Czech Republic
Distribution: Slackware, Gentoo, FreeBSD
Posts: 176

Original Poster
Rep: Reputation: 28
That's weird, I didn't run into any trouble with gdk-pixbuf2 during upgrade. Just
Code:
slackpkg install-new
slackpkg upgrade-all
and everything worked out of the box. Well, apart from nn-applet. Am I the only one who encountered that issue?
 
Old 03-25-2013, 07:22 PM   #13
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Debian, Slackware, VMs
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Networkmanager applet rebuilt in today's -current update.

Code:
Mon Mar 25 20:31:21 UTC 2013
a/file-5.11-i486-1.txz:  Upgraded.
  Reverted to file-5.11 to fix segfaults with libmagic.  I'm unable to find
  patches to fix this for either file itself (file-5.14 doesn't help), or
  for affected programs such as nano, so this will have to do for now.
d/llvm-3.2-i486-4.txz:  Rebuilt.
  Added /usr/bin/$ARCH-slackware-linux-{clang,clang++} symlinks.  If these
  are present, LLVM/clang will be used to compile itself.  Other programs
  might need them as well.
xap/network-manager-applet-0.9.8.0-i486-2.txz:  Rebuilt.
  Patched for new version of GTK+.  Thanks to venn.
 
Old 03-25-2013, 08:22 PM   #14
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,508

Rep: Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469Reputation: 8469
Quote:
Originally Posted by hitest View Post
xap/network-manager-applet-0.9.8.0-i486-2.txz: Rebuilt.
Patched for new version of GTK+. Thanks to venn.
[/CODE]
Oops, I see that should have been yenn, not venn. Patching the ChangeLog now.
 
Old 03-25-2013, 08:33 PM   #15
spiritual_fraud
LQ Newbie
 
Registered: Mar 2013
Distribution: Slackware, Gentoo
Posts: 7

Rep: Reputation: Disabled
It works flawlessly now!
The hint provided by markush is very helpful. Thanks a lot!
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Sendmail 8.14.6 broken in current tux_dude Slackware 2 02-27-2013 10:51 AM
[SOLVED] -current NetworkManager in non-KDE sessions zakame Slackware 8 07-24-2012 08:24 PM
[SOLVED] PlayOnLinux broken in current Bindestreck Slackware 6 06-27-2012 02:37 AM
LXer: I easily repair broken NetworkManager in Debian Lenny LXer Syndicated Linux News 0 07-31-2009 04:41 PM
slackware current broken? sweetnsourbkr Slackware 8 03-11-2006 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration