Bug 671355

Summary: OpenSuse 11.4 RC1 - zypper dup - GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed:
Product: [openSUSE] openSUSE 11.4 Reporter: Phillip R Strauss <phillip>
Component: Update ProblemsAssignee: E-mail List <zypp-maintainers>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: aj, vuntz
Version: Factory   
Target Milestone: ---   
Hardware: i586   
OS: SUSE Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Phillip R Strauss 2011-02-11 17:33:33 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:2.0b10) Gecko/20110121 Firefox/4.0b10

Fresh installation of OpenSuse 11.4RC1 in VirtualBox 4.02 on Inter Quad Core PC.

No problems or any errors durning installation - missing "Prompt for PC name" causing a "funny name" to be assigned - will log seprately.


Doing a "zupper dup" is showing the follwing errors.

inux-5thc:/home/netadm # zypper dup
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Loading repository data...
Reading installed packages...
Computing distribution upgrade...

Nothing to do.
linux-5thc:/home/netadm # 


Reproducible: Always

Steps to Reproduce:
1. As per above with fresh installation
2.
3.
Comment 1 Phillip R Strauss 2011-02-19 05:36:43 UTC
Looks like this only happens when running as "gnome gui-user", terminal, su
and then "zypper dup" - updates does work

Looks like I have to be "root in GUI" - then no error.
Comment 2 Andreas Jaeger 2011-02-21 08:31:35 UTC
Same problem on my machine - but only under GNOME.
Comment 3 Vincent Untz 2011-02-21 08:55:26 UTC
Looks like bug 655751. Note that "su -" is much better than "su"... I'm not sure what tool zypper is calling that would cause this, though.
Comment 4 Jan Kupec 2011-02-21 10:50:22 UTC
It calls

 dbus-send --system --dest=org.freedesktop.DBus --type=method_call \
           --print-reply --reply-timeout=200 \
           / org.freedesktop.DBus.NameHasOwner string:org.freedesktop.PackageKit
Comment 5 Vincent Untz 2011-02-21 11:13:12 UTC
This is not what is creating those warnings, though (just checked).
Comment 6 Phillip R Strauss 2011-02-21 15:45:04 UTC
Thanks, yes "su -" does work :-)
As previous shared, testing is done on GNOME
Comment 7 Michael Andres 2011-03-07 12:14:20 UTC
.

*** This bug has been marked as a duplicate of bug 672793 ***