Skip to content
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

cannot install sensu-go-(backend/agent/cli) with sensu 1.x installed - centos 7 #2506

Closed
craigpfeiffer opened this issue Dec 7, 2018 · 3 comments
Labels
bug component:packaging Sensu packaging improvements

Comments

@craigpfeiffer
Copy link

installing sensu-go from stable repo will error because of a conflict with sensu 1.x

Expected Behavior

yum install sensu-go-agent should complete successfully as it did with beta releases

Current Behavior

yum install sensu-go-agent
Dependencies Resolved

==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
 Package                                                                                                                Arch                                                                                                           Version                                                                                                         Repository                                                                                                            Size
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
Installing:
 sensu-go-agent                                                                                                         x86_64                                                                                                         5.0.0-1                                                                                                         sensu_stable                                                                                                         7.8 M

Transaction Summary
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
Install  1 Package

Total download size: 7.8 M
Installed size: 29 M
Is this ok [y/d/N]: y
Downloading packages:
sensu-go-agent-5.0.0-1.x86_64.rpm                                                                                                                                                                                                                                                                                                                                                                                                                          | 7.8 MB  00:00:00
Running transaction check
Running transaction test


Transaction check error:
  file /var/log/sensu from install of sensu-go-agent-5.0.0-1.x86_64 conflicts with file from package sensu-1:0.26.5-2.x86_64

Context

cannot install new sensu-go packages

Your Environment

  • Sensu version used (sensuctl, sensu-backend, and/or sensu-agent):5.0.0-1
  • Installation method (packages, binaries, docker etc.):rpm via yum repo
  • Operating System and version (e.g. Ubuntu 14.04): centos 7
@craigpfeiffer
Copy link
Author

another update... it looks like i cannot install over/update sensu-backend/agent/cli from beta 8 either. same error. i'm guessing it has to do with shared paths across all the different version (1.x, beta 8, and 5.0.0)... just not sure why it didn't happen with the beta versions.

@echlebek echlebek added the component:packaging Sensu packaging improvements label Dec 7, 2018
@echlebek
Copy link
Contributor

echlebek commented Dec 7, 2018

I think we changed the paths we are using in our packaging. Thanks for reporting this. @amdprophet or @preed could you comment on this?

@palourde
Copy link
Contributor

I believe some work was made around this to support both versions of Sensu. Feel free to re-open an issue @craigpfeiffer if you still face any issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug component:packaging Sensu packaging improvements
Projects
None yet
Development

No branches or pull requests

4 participants