-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[upgrade] Deb package leaves stale symlink to elastic-agent #3784
Comments
Pinging @elastic/elastic-agent (Team:Elastic-Agent) |
Just tried it and it is indeed an issue, started of with 8.10.0, installed fine
the problem is that the upgrade already cleans up the destination of the symlink:
so the readlink -f will fail (running here with an -vf):
|
Just to clarify, what upgrade command is used to trigger this? |
the initial command was a |
here is the full purge:
after that:
and the target is not there:
so manually remove the leftbehind:
purge again just to be sure:
then install eg. 8.10.0:
and then the upgrade fails again:
this is ubuntu 22.04.3 |
It looks like just 8.10.X has this issue. upgrading to 8.11.1 worked fine in my testing. |
I tried 2 new scenarios
neither of these work as expected, both produce the same symptons as mentioned above:
|
After upgrade symlink to elastic-agent is wrong
symlink should point to:
looks like
elastic-agent.postinst
is to blame.The text was updated successfully, but these errors were encountered: