Have NetworkManager-gnome-0.7.1-4.git20090414.fc11.i586 installed.. # yum update .. Running Transaction I/O warning : failed to load external entity "/etc/gconf/schemas/nm-applet.schemas" Failed to open `/etc/gconf/schemas/nm-applet.schemas': No such file or directory Error in PREIN scriptlet in rpm package 1:NetworkManager-gnome-0.7.996-3.git20090928.fc12.i686 error: %pre(NetworkManager-gnome-1:0.7.996-3.git20090928.fc12.i686) scriptlet failed, exit status 1 error: install: %pre scriptlet failed (2), skipping NetworkManager-gnome-1:0.7.996-3.git20090928.fc12 1:NetworkManager-gnome-0.7.1-4.git20090414.fc11.i586 was supposed to be removed but is not! Failed: NetworkManager-gnome.i686 1:0.7.996-3.git20090928.fc12 Complete!
Old NetworkManager packages did not have /etc/gconf/schemas/nm-applet.schemas so the %pre script of the new packages fails.
Grr. So what should the scriptlet be to just ignore errors from the schemas command? In -4 I added " || :" to the end of the gconftool-2 lines in perhaps a misguided attempt to just ignore the exit status of the command. I guess I could do "|| exit 0" instead or something to ensure the shell thinks it always succeeds?
IIRC, these pre/post-scripts exit on any failed command ("set -e")
*** This bug has been marked as a duplicate of bug 526519 ***