Spyke

Replies

Comment on

[SOLVED] Tumbleweed update

Reply in thread

The failed zypper dup could have been from a day or week ago. It only recompiles the policy binary in the post transaction hooks.

If you want to track it down take a look in /var/log

There will be zypper logs and in zypp/history you can see all your transactions.

Comment on

[SOLVED] Tumbleweed update

Reply in thread

I'm not 100% sure because I don't use that package manager, but from the looks of it what happened was:

  • you ran an upgrade that failed or you aborted an upgrade
  • that update added a new selinux policy
  • because it failed/aborted it didn't run the post-transaction hooks that reload your selinux policies
  • you ran the upgrade that you posted about
  • this upgrade failed because it relies on the selinux policy that didn't get loaded

Comment on

[SOLVED] Tumbleweed update

Reply in thread

I would start by grepping /var/log/zypper.log for aborted or posttrans, seeing where the previous installation failed to run the post transaction hook. Then check the timestamp and see if it makes more sense what happened.

I don't use opensuse, or zypper, (arch btw) so I'm sorry I can't give more detailed help.

The good news is I've seen multiple broken Ubuntu/Debian/etc systems from aborted upgrades too. So I don't think your situation is unique to your distro. It's more about learning what you system is actually doing when you update and how catch when something has gone wrong.