[opensuse-gnome] Weird GNOME-related RPM problems
I've noticed these related problems on-and-off involving GNOME packages on openSUSE 10.2: - on a stock install, gnome-games when queried would list, among others /var/games/glines.{Large,Medium,Small}.scores -- but the RPM actually installs /var/games/glines.scores - attempts to upgrade to GNOME:STABLE always results in a broken install, one of the telltale sign being the inability to load icons - after downgrading back to openSUSE-10.2+updates+GNOME:Community, to my surprise the icon loading problem still occurs. I tried running 'glines' from the terminal, and get this: (glines:17512): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders': No such file or directory Weird, I thought. Perhaps it's the same RPM bug that used to affect Fedora, where some files are clobbered on RPM upgrades? To be safe, I removed gtk2 (with --no-deps), and then reinstalled it. Twice. Using smart and, for safety measures, using rpm manually. Like gnome-games, here is the result: michel@hitchens:~> rpm -ql gtk2 | grep gdk-pixbuf /etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders /opt/gnome/bin/gdk-pixbuf-query-loaders michel@hitchens:~> ls /etc/opt/gnome/gtk-2.0/*.loaders ls: cannot access /etc/opt/gnome/gtk-2.0/*.loaders: No such file or directory michel@hitchens:~> rpm -q gtk2 gtk2-2.10.6-24.2 Any thought? Will probably file this to Bugzilla, but I need to know what to file this against. GNOME in general? The build service? RPM? Thanks, -- Michel -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Pá, 2007-09-07 at 00:15 -0400, Michel Salim wrote:
I've noticed these related problems on-and-off involving GNOME packages on openSUSE 10.2:
- on a stock install, gnome-games when queried would list, among others /var/games/glines.{Large,Medium,Small}.scores -- but the RPM actually installs /var/games/glines.scores
Good hint. Somebody did not read updating instructions in the spec files and did not update scriptlets. I'll fix it. Please retest when you will see changelog entry regarding this problem.
- attempts to upgrade to GNOME:STABLE always results in a broken install, one of the telltale sign being the inability to load icons
- after downgrading back to openSUSE-10.2+updates+GNOME:Community, to my surprise the icon loading problem still occurs. I tried running 'glines' from the terminal, and get this:
(glines:17512): GdkPixbuf-WARNING **: Cannot open pixbuf loader module file '/etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders': No such file or directory
This might be a cross-library clash. We have seen someting similar in bugzilla.
Weird, I thought. Perhaps it's the same RPM bug that used to affect Fedora, where some files are clobbered on RPM upgrades? To be safe, I removed gtk2 (with --no-deps), and then reinstalled it. Twice. Using smart and, for safety measures, using rpm manually.
Like gnome-games, here is the result:
michel@hitchens:~> rpm -ql gtk2 | grep gdk-pixbuf /etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders /opt/gnome/bin/gdk-pixbuf-query-loaders michel@hitchens:~> ls /etc/opt/gnome/gtk-2.0/*.loaders ls: cannot access /etc/opt/gnome/gtk-2.0/*.loaders: No such file or directory
It seems, that while upgrading, it calls old binary instead of just-installed one. Strange. It should be done by SuSEconfig (did you installed by YaST or manually; if manually, did you run it?). Maybe gtk2 reported some upgrade error and both instances were kept? -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On 07/09/2007, Stanislav Brabec <sbrabec@suse.cz> wrote:
On Pá, 2007-09-07 at 00:15 -0400, Michel Salim wrote:
I've noticed these related problems on-and-off involving GNOME packages on openSUSE 10.2:
- on a stock install, gnome-games when queried would list, among others /var/games/glines.{Large,Medium,Small}.scores -- but the RPM actually installs /var/games/glines.scores
Good hint. Somebody did not read updating instructions in the spec files and did not update scriptlets. I'll fix it. Please retest when you will see changelog entry regarding this problem.
Will do.
michel@hitchens:~> rpm -ql gtk2 | grep gdk-pixbuf /etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders /opt/gnome/bin/gdk-pixbuf-query-loaders michel@hitchens:~> ls /etc/opt/gnome/gtk-2.0/*.loaders ls: cannot access /etc/opt/gnome/gtk-2.0/*.loaders: No such file or directory
It seems, that while upgrading, it calls old binary instead of just-installed one.
Strange. It should be done by SuSEconfig (did you installed by YaST or manually; if manually, did you run it?). Ah yes. I forgot that! smart is so much faster than YaST or zypper in 10.2 that I've started using it, forgetting the need to run SuSEconfig.
Maybe gtk2 reported some upgrade error and both instances were kept?
No, I actually tried removing (--nodeps) and then installing it. So the GTK2 packaging (and gnome-games) actually installs configuration files, and then a post-install scriptlet *remove* them, and the files are only reintroduced when the corresponding SuSEconfig script is run? Shouldn't rpm -V catch the problem? (It does not in this case) Thanks, -- Michel -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
On Pá, 2007-09-07 at 09:41 -0400, Michel Salim wrote:
On 07/09/2007, Stanislav Brabec <sbrabec@suse.cz> wrote:
michel@hitchens:~> rpm -ql gtk2 | grep gdk-pixbuf /etc/opt/gnome/gtk-2.0/gdk-pixbuf.loaders /opt/gnome/bin/gdk-pixbuf-query-loaders michel@hitchens:~> ls /etc/opt/gnome/gtk-2.0/*.loaders ls: cannot access /etc/opt/gnome/gtk-2.0/*.loaders: No such file or directory
It seems, that while upgrading, it calls old binary instead of just-installed one.
Strange. It should be done by SuSEconfig (did you installed by YaST or manually; if manually, did you run it?). Ah yes. I forgot that! smart is so much faster than YaST or zypper in 10.2 that I've started using it, forgetting the need to run SuSEconfig.
Yes, you _must_ run SuSEconfig. YaST does it for you automatically. -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-gnome+help@opensuse.org
participants (2)
-
Michel Salim
-
Stanislav Brabec