Hello world,Since a few week I had a problem, GRUB2 wouldn’t update want yast says grub2-snapper is not installed. No way, it is. So I updated everything on my system and then, a few days ago, a big update including plasma 5. And additional problems came:
Polkit fail to load on boot:
[FAILED] Failed to start Authorization Manager.
See “systemctl status polkit.service” for details.
Plasma won’t load everything up at logon: the mouses works, the “cashew” is present, the Alt+F2 works but no taskbar, no contextual menu on the desktop… and then, after a few minutes it eventually loads… Sometimes it did work after a reboot. Sometimes not…
No way to launch some programs like firefox or chromium. Same error:
> firefox
/usr/lib64/firefox/firefox: symbol lookup error: /usr/lib64/firefox/libxul.so: undefined symbol: PR_GetEnv
> chromium
/usr/lib64/chromium/chromium: symbol lookup error: /usr/lib64/chromium/lib/libnet.so: undefined symbol: PR_ErrorToName
Where should I start? It seems that there are many small problems on my system, starting with polkit and rpm.
Should I revert to an old snapshot and reapply all updates on it? How can I do?
This is the message of Yast when I apply the patch for GRUB2:
Subprocess failed. Error: RPM a fwait berwete :error: package grub2-x86_64-efi-2.02~beta2-70.1.x86_64 is not installed
The same occurs for grub2-snapper-plugin
What is also weird: if I check the tab “version” in Yast for those two packages, I see that they are three times checked as installed, with three different versions (two for snapper).
There seem to be duplicate repos some normal openSUSE and some Belgium URL. You should straight that out and use one source or the other. I doubt it to be a problem but it does confuse things and there is a possibility of a repo and it’s miror may not be in perfect sync at any given time which could lead to mixed packages
I reverted back to an old snapshot (begin of January) and applied all patches, except GRUB2 that still makes problems. The problem with Policy Kit and Plasma are solved. It remains the problem of the GRUB2 update.
The two patches that causes trouble are openSUSE-2015-927 and openSUSE-2016-10. One of them wants to uninstall the two packages below (grub2-x86_64-efi and grub2-snapper-plugin) and it sticks there.
If your system is up-to-date, then you should have “grub2-x86_64-efi-2.02~beta2-76.1-x86_64” installed.
Yes, its the case. But at the same time, it says that 73.1 and 70.1 are installed as well (but 68.2 not).
Same for grub2-snapper-plugin (76.1 an 70.1 installed but not 73.1 and 68.2)…
I’ll try now the suggestions of gogalthorp and susejunky and will post the result here.
The only error with zypper dup, after adapting priorities is this one at the end (nevertheless it upgrades everything).
Un problème s'est produit pendant ou après l'installation ou la suppression des paquets :
Failed to cache rpm database (1).
Veuillez consulter le message d'erreur ci-dessus pour une indication.
(sorry for the French: “An error occured during or after installation or removing of packages:
Failed to cache rpm database (1).
Check the error message above for an indication”)
But if I make a zypper patch, this is the output:
(I’ve got the impression that the patch where applied but that the rpm database has still old version from the two packages marked as installed despite they are not anymore).
zypper patch
Loading repository data...
Reading installed packages...
Resolving package dependencies...
The following 2 NEW patches are going to be installed:
openSUSE-2015-927 openSUSE-2016-10
The following 4 packages are going to be REMOVED:
grub2-i386-pc grub2-snapper-plugin grub2-x86_64-efi grub2-x86_64-efi
The following package is going to be upgraded:
grub2
1 package to upgrade, 4 to remove.
Overall download size: 2,4 MiB. Already cached: 0 B. After the operation, 51,4 MiB will be freed.
Continue? [y/n/? shows all options] (y): y
Retrieving package grub2-2.02~beta2-76.1.x86_64 (1/1), 2,4 MiB ( 19,8 MiB unpacked)
Retrieving: grub2-2.02~beta2-76.1.x86_64.rpm ..................................................................................................[done (1,8 MiB/s)]
Checking for file conflicts: ..............................................................................................................................[done]
(1/7) Removing grub2-snapper-plugin-2.02~beta2-70.1 .......................................................................................................[done]
(2/7) Removing grub2-snapper-plugin-2.02~beta2-70.1 ......................................................................................................[error]
Removal of (35983)grub2-snapper-plugin-2.02~beta2-70.1.noarch(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package grub2-snapper-plugin-2.02~beta2-70.1.noarch is not installed
Abort, retry, ignore? [a/r/i] (a): i
(3/7) Removing grub2-x86_64-efi-2.02~beta2-70.1 ...........................................................................................................[done]
(4/7) Removing grub2-x86_64-efi-2.02~beta2-73.1 ...........................................................................................................[done]
Additional rpm output:
warning: file /usr/lib64/efi/grub.efi: remove failed: No such file or directory
warning: file /usr/lib64/efi/grub.der: remove failed: No such file or directory
warning: file /usr/lib/grub2/x86_64-efi/zfsinfo.module: remove failed: No such file or directory
(... etc with a hundred of files under /usr/lib/grub2/x86_64-efi/)
(5/7) Removing grub2-x86_64-efi-2.02~beta2-70.1 ..........................................................................................................[error]
Removal of (35987)grub2-x86_64-efi-2.02~beta2-70.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package grub2-x86_64-efi-2.02~beta2-70.1.x86_64 is not installed
Abort, retry, ignore? [a/r/i] (a):