Error security update glib2

Thanks, will give that a try later today and post results here

I also spent ½ an hour on this issue this morning –

 > LANG=C zypper info --requires gio-branding-openSUSE 
Loading repository data...
Reading installed packages...


Information for package gio-branding-openSUSE:
----------------------------------------------
Repository     : repo-oss (16.0)
Name           : gio-branding-openSUSE
Version        : 42.1-lp160.3.1
Arch           : noarch
Vendor         : openSUSE
Installed Size : 8.2 KiB
Installed      : No
Status         : not installed
Source package : glib2-branding-openSUSE-42.1-lp160.3.1.src
Upstream URL   : http://www.gtk.org/
Summary        : openSUSE definitions of default settings and applications
Description    : 
    This package provides openSUSE defaults for settings stored with
    GSettings and applications used by the MIME system.
Requires       : libgio-2_0-0 = 2.84.3

 >

The problem/error is that, the “gio-branding-openSUSE” package requires EXACTLY version 2.84.3 of the “libgio-2_0-0” package –

  • Unfortunately the current version of the “libgio-2_0-0” package is 2.84.4 …

It seems that, whoever it is who maintains the “gio-branding-openSUSE” package, for whatever reason, didn’t specify “greater than or equal to” on the requirement for the “libgio-2_0-0” package version … :upside_down_face:


Does anyone know what the differences are between openSUSE defaults and the upstream defaults for “GSettings”?

  • Are the two “gio-branding” packages mutually exclusive?

For the moment, I’ve removed the “gio-branding-openSUSE” package and, am only using the “gio-branding-upstream” package.

You can compare.

gio-branding-openSUSE:

# GNOME Default Applications Source
# /etc/gnome-defaults.conf
#
# After any change of this file run
# suse-update-mime-defaults
#
# This list is a source for defaults.list.
#
# If application in this list is installed, it is used as default in GNOME.
# It works in following way:
# 1. Read this file.
# 2. Collect all available desktop files.
# 3. Go through all declared MIME types and search for default application
#    for defaults.list in following order:
# 3.1 Installed application listed here for certain MIME type.
# 3.2 Installed application listed here as preferred default.
# 3.3 Installed application listed here as default.
# 3.4 Installed application with GNOME in Categories.
# 3.5 Installed application with GTK in Categories.
# 3.6 Installed application.
# If there are more applications in the same order, it uses pseudo-randomly
# one of them (last in aplhabetical order).
#
# Syntax:
# Use xxx as default for all MIME types it declares (see 3.3):
# xxx.desktop
# Use xxx as preferred default for all MIME types it declares (see 3.2):
# !xxx.desktop
# Use xxx as default for mime/type (see 3.1):
# mime/type=xxx.desktop

# URI schemes
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/mailto=evolution.desktop
# All URI schemes declared by yelp
yelp.desktop

# Prefer banshee for multimedia where possible
!banshee-1.desktop

# Except prefer moonshine for WM
video/x-ms-asf-plugin=moonshine.desktop
video/x-msvideo=moonshine.desktop
video/x-ms-asf=moonshine.desktop
video/x-ms-wmv=moonshine.desktop
video/x-wmv=moonshine.desktop
video/x-ms-wvx=moonshine.desktop
video/x-ms-wm=moonshine.desktop
video/x-ms-wmp=moonshine.desktop
application/x-ms-wms=moonshine.desktop
application/x-ms-wmp=moonshine.desktop
application/asx=moonshine.desktop
audio/x-ms-wma=moonshine.desktop

# Prefer LinDVD for DVD and mpeg video playback, when available
video/mpeg=LinDVD.desktop
video/x-mpeg=LinDVD.desktop
video/dvd=LinDVD.desktop
x-content/video-dvd=LinDVD.desktop

# Prefer contracted commercial applications
!flashplayer.desktop
!acroread.desktop
realplay.desktop

# Prefer Install Software over file-roller
application/x-rpm=package-manager.desktop
!gpk-install-file.desktop

# Nice GNOME default applications
org.gnome.eog.desktop
org.gnome.Papers.desktop
org.gnome.Evince.desktop
org.gnome.TextEditor.desktop
!org.gnome.FileRoller.desktop
# file-roller supports iso, but most people will prefer brasero:
application/x-cd-image=brasero.desktop
org.gnome.Nautilus.desktop
# evince supports multi-page tiff, but most people will prefer eog:
image/tiff=org.gnome.eog.desktop
# evince supports odp, but we really want OOo
application/vnd.sun.xml.impress=libreoffice-impress.desktop
application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop

# XFCE default applications
leafpad.desktop
ristretto.desktop

# LXDE default applications
beaver.desktop
gpicview.desktop

# Firefox
firefox.desktop

# OpenOffice
libreoffice-base.desktop
libreoffice-calc.desktop
libreoffice-draw.desktop
libreoffice-impress.desktop
libreoffice-math.desktop
libreoffice-writer.desktop
# Do not prefer writer for text/plain:
text/plain=org.gnome.TextEditor.desktop

gio-branding-upstream:

# GNOME Default Applications Source
# /etc/gnome-defaults.conf
#
# WARNING: This is a dumb file, which provides only upstream GNOME
# packages as preferred defaults. You most probably don't want this
# package!
# You probably want to install distribution glib2-branding and prefer
# distribution wise GNOME defaults.
#
# After any change of this file run
# suse-update-mime-defaults
#
# This list is a source for defaults.list.
#
# If application in this list is installed, it is used as default in GNOME.
# It works in following way:
# 1. Read this file.
# 2. Collect all available desktop files.
# 3. Go through all declared MIME types and search for default application
#    for defaults.list in following order:
# 3.1 Installed application listed here for certain MIME type.
# 3.2 Installed application listed here as preferred default.
# 3.3 Installed application listed here as default.
# 3.4 Installed application with GNOME in Categories.
# 3.5 Installed application with GTK in Categories.
# 3.6 Installed application.
# If there are more applications in the same order, it uses pseudo-randomly
# one of them (last in aplhabetical order).
#
# Syntax:
# Use xxx as default for all MIME types it declares (see 3.3):
# xxx.desktop
# Use xxx as preferred default for all MIME types it declares (see 3.2):
# !xxx.desktop
# Use xxx as default for mime/type (see 3.1):
# mime/type=xxx.desktop

# Upstream GNOME default applications
eog.desktop
evince.desktop
gedit.desktop
file-roller.desktop
epiphany.desktop
nautilus.desktop
# evince supports multi-page tiff, but most people will prefer eog:
image/tiff=eog.desktop

I would say zypper dup is completely wrong, because it is intended for something else.
Simply uninstalling branding openSUSE is possible, but I wouldn’t do it unless you are aware of what will happen.

Here is the defaults.conf from

upstream:

# GNOME Default Applications Source
# /etc/gnome-defaults.conf
#
# WARNING: This is a dumb file, which provides only upstream GNOME
# packages as preferred defaults. You most probably don't want this
# package!
# You probably want to install distribution glib2-branding and prefer
# distribution wise GNOME defaults.
#
# After any change of this file run
# suse-update-mime-defaults
#
# This list is a source for defaults.list.
#
# If application in this list is installed, it is used as default in GNOME.
# It works in following way:
# 1. Read this file.
# 2. Collect all available desktop files.
# 3. Go through all declared MIME types and search for default application
#    for defaults.list in following order:
# 3.1 Installed application listed here for certain MIME type.
# 3.2 Installed application listed here as preferred default.
# 3.3 Installed application listed here as default.
# 3.4 Installed application with GNOME in Categories.
# 3.5 Installed application with GTK in Categories.
# 3.6 Installed application.
# If there are more applications in the same order, it uses pseudo-randomly
# one of them (last in aplhabetical order).
#
# Syntax:
# Use xxx as default for all MIME types it declares (see 3.3):
# xxx.desktop
# Use xxx as preferred default for all MIME types it declares (see 3.2):
# !xxx.desktop
# Use xxx as default for mime/type (see 3.1):
# mime/type=xxx.desktop

# Upstream GNOME default applications
eog.desktop
evince.desktop
gedit.desktop
file-roller.desktop
epiphany.desktop
nautilus.desktop
# evince supports multi-page tiff, but most people will prefer eog:
image/tiff=eog.desktop

And here from opensuse:

# GNOME Default Applications Source
# /etc/gnome-defaults.conf
#
# After any change of this file run
# suse-update-mime-defaults
#
# This list is a source for defaults.list.
#
# If application in this list is installed, it is used as default in GNOME.
# It works in following way:
# 1. Read this file.
# 2. Collect all available desktop files.
# 3. Go through all declared MIME types and search for default application
#    for defaults.list in following order:
# 3.1 Installed application listed here for certain MIME type.
# 3.2 Installed application listed here as preferred default.
# 3.3 Installed application listed here as default.
# 3.4 Installed application with GNOME in Categories.
# 3.5 Installed application with GTK in Categories.
# 3.6 Installed application.
# If there are more applications in the same order, it uses pseudo-randomly
# one of them (last in aplhabetical order).
#
# Syntax:
# Use xxx as default for all MIME types it declares (see 3.3):
# xxx.desktop
# Use xxx as preferred default for all MIME types it declares (see 3.2):
# !xxx.desktop
# Use xxx as default for mime/type (see 3.1):
# mime/type=xxx.desktop

# URI schemes
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
x-scheme-handler/ftp=firefox.desktop
x-scheme-handler/mailto=evolution.desktop
# All URI schemes declared by yelp
yelp.desktop

# Except prefer moonshine for WM
video/x-ms-asf-plugin=moonshine.desktop
video/x-msvideo=moonshine.desktop
video/x-ms-asf=moonshine.desktop
video/x-ms-wmv=moonshine.desktop
video/x-wmv=moonshine.desktop
video/x-ms-wvx=moonshine.desktop
video/x-ms-wm=moonshine.desktop
video/x-ms-wmp=moonshine.desktop
application/x-ms-wms=moonshine.desktop
application/x-ms-wmp=moonshine.desktop
application/asx=moonshine.desktop
audio/x-ms-wma=moonshine.desktop

# Prefer LinDVD for DVD and mpeg video playback, when available
video/mpeg=LinDVD.desktop
video/x-mpeg=LinDVD.desktop
video/dvd=LinDVD.desktop
x-content/video-dvd=LinDVD.desktop

# Prefer contracted commercial applications
!flashplayer.desktop
!acroread.desktop
realplay.desktop

# Prefer Install Software over file-roller
application/x-rpm=package-manager.desktop
!gpk-install-file.desktop

# Nice GNOME default applications
org/gnome.Loupe.desktop
!org.gnome.Papers.desktop
org.gnome.TextEditor.desktop
!org.gnome.FileRoller.desktop
# file-roller supports iso, but most people will prefer brasero:
application/x-cd-image=brasero.desktop
org.gnome.Nautilus.desktop
# evince supports multi-page tiff, but most people will prefer Loupe:
image/tiff=org.gnome.Loupe.desktop
# evince supports odp, but we really want OOo
application/vnd.sun.xml.impress=libreoffice-impress.desktop
application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop

# XFCE default applications
leafpad.desktop
ristretto.desktop

# LXDE default applications
beaver.desktop
gpicview.desktop

# Firefox
firefox.desktop

# OpenOffice
libreoffice-base.desktop
libreoffice-calc.desktop
libreoffice-draw.desktop
libreoffice-impress.desktop
libreoffice-math.desktop
libreoffice-writer.desktop
# Do not prefer writer for text/plain:
text/plain=org.gnome.TextEditor.desktop

It’s rare I use a GUI update tool (esp. one not dedicated to openSUSE) and do the command line stuff.

So, out of curiosity of this thread, I thought I’d jump into Leap 16 install and run a “zypper up”.

Here’s a partial output from that run:

machine :~ # zypper clean -a
All repositories have been cleaned up.
machine :~ # zypper -vv up
[...]
Loading repository data...
Reading installed packages...
Force resolution: No

The following 3 package updates will NOT be installed:
  glib2-tools
    2.84.4-160000.1.1                                     x86_64  repo-oss (16.0)
    SUSE LLC <https://www.suse.com/>
  libgio-2_0-0
    2.84.4-160000.1.1                                     x86_64  repo-oss (16.0)
    SUSE LLC <https://www.suse.com/>
  ovpn-dco-kmp-default
    0.2.20241216~git0.a08b2fd_k6.12.0_160000.5-lp160.3.1  x86_64  repo-oss (16.0)
    openSUSE

The following 17 packages are going to be upgraded:
  MozillaFirefox
[...]

No issues on this update for me. I can provide the full output of “zypper up” if requested. ( there were 17 packages to be updated, overall ).

Therefore, the “gio-branding-upstream” and “gio-branding-openSUSE” packages are mutually exclusive.

  • Whichever was installed last will, overwrite ‘/etc/gnome_defaults.conf

And, as the comment in the upstream configuration file says:

# WARNING: This is a dumb file, which provides only upstream GNOME
# packages as preferred defaults. You most probably don't want this
# package!
# You probably want to install distribution glib2-branding and prefer
# distribution wise GNOME defaults.

Curiously, in both the “upstream” and the “openSUSE” variants there’s this text:

# After any change of this file run
# suse-update-mime-defaults

In other words, I can continue using the “gio-branding-upstream” package, with ‘/etc/gnome_defaults.conf’ from the openSUSE package … :smiling_imp:

If I do not take any action and wait, will this be fixed properly by the package maintainer?

I’m not that experienced and afraid I create more issues trying some commands or myrlyn.

There is no bugreport yet. So the maintainer is propably not even aware of the issue.

The “gio-branding-openSUSE” package contains only two files of significance:

/etc/gnome_defaults.conf
/usr/share/glib-2.0/schemas/20_openSUSE-branding.gschema.override

The upstream package contains only ‘/etc/gnome_defaults.conf’ and some documentation and licensing files.


And, I’m using the KDE Plasma DE anyway …

@hui I will enter a report tomorrow

1 Like

The same problem here guys… :confused:

https://bugzilla.suse.com/show_bug.cgi?id=1256577

1 Like

This patch is not displayed under zypper up.
It is only displayed under zypper patch.
I don’t understand. But that’s how it is.

Yep :+1:

Should be fixed now, zypper -t patch

1 Like

Working on my side now… :grinning:

Am I understanding this correctly?
Zypper patch only installs patches and zypper up only “normal” updates?
Then, sorry, but that’s complete nonsense.
I would expect zypper up to install everything: updates, bug fixes and security fixes. And zypper patch only security patches.
That’s how it was until now, in my opinion.
Am I wrong? Or has something changed?

And I was right.
I have now run zypper up and a zypper patch no longer shows anything.
A zypper up updates EVERYTHING.

@ecsos correct as it should normally do, but in this case up skipped the patches, so you could use up collect the updated packages and then zypper -t patch later to collect the stragglers.

Thanks, the zypper up and zypper -t patch also worked here

Thanks for the welcome, and support! Much appreciated