-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
6.16.2
Description of problem:
Installing `katello-pull-transport-migrate` on a system that already had the package installed in past (and then removed), the postinstall script fails with `yggdrasild.service not found` error.
How reproducible:
100%
Is this issue a regression from an earlier version:
probably not
Steps to Reproduce:
1. dnf install katello-pull-transport-migrate -y
2. dnf remove katello-pull-transport-migrate y
3. dnf install katello-pull-transport-migrate -y
Actual behavior:
3. fails with:
Running transaction
Preparing : 1/1
Installing : yggdrasil-0.2.3-1.el8sat.x86_64 1/3
Installing : foreman_ygg_worker-0.2.2-1.el8sat.x86_64 2/3
Installing : katello-pull-transport-migrate-1.0.2-1.el8sat.noarch 3/3
Running scriptlet: katello-pull-transport-migrate-1.0.2-1.el8sat.noarch 3/3
Getting configuration from subscription-manager...
Starting yggdrasild...
Failed to try-restart yggdrasild.service: Unit yggdrasild.service not found.
warning: %post(katello-pull-transport-migrate-1.0.2-1.el8sat.noarch) scriptlet failed, exit status 5
Error in POSTIN scriptlet in rpm package katello-pull-transport-migrate
Verifying : foreman_ygg_worker-0.2.2-1.el8sat.x86_64 1/3
Verifying : katello-pull-transport-migrate-1.0.2-1.el8sat.noarch 2/3
Verifying : yggdrasil-0.2.3-1.el8sat.x86_64 3/3
Installed products updated.{nocode}
Expected behavior:
No failure.
Business Impact / Additional info: