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

RPM fails to update, conflicts with ?itself?. Packaging failure... #6879

Closed
nmacgreg opened this issue Sep 17, 2019 · 15 comments · Fixed by #9108
Closed

RPM fails to update, conflicts with ?itself?. Packaging failure... #6879

nmacgreg opened this issue Sep 17, 2019 · 15 comments · Fixed by #9108
Assignees
Labels
area/packaging Packaging and operating systems support bug

Comments

@nmacgreg
Copy link

Bug report summary

On nightly "yum update", netdata failed to update via RPM.
In short, many files seem to have "conflicted with themselves", including the directory /etc/netdata/. Here's one error:

Transaction check error:
file /etc/netdata from install of netdata-1.17.1-1.el7.x86_64 conflicts with file from package netdata-conf-1.16.0-1.el7.noarch
... snip...
Full transcript attached,
netdataFailedUpdate.txt
(I suspect you've attempted to consolidate the existing "netdata-conf" & "netdata-data" RPMs into a single "netdata" RPM, without first uninstalling the other two? Ya, that's gonna end badly.)

OS / Environment

Under the latest CentOS, 7.6.1810 in a VM, under oVirt (eg KVM); patched nightly. We have a very limited installed base, just 6 machines for now: our Dev, Test, and Prod HAproxy servers. All were installed via Ansible. This is the first update we've ever installed; we only started using netdata Aug 1, 2019.

Netdata version (output of netdata -V)

Current version: 1.16.0
Trying to update to 1.17.1-1 via RPM, on EPEL

Component Name

netdata's RPM packages

Steps To Reproduce

This problem occurred consistently on all 6 machines on which we had it installed. I suggest, although I did not try:

  • install latest CentOS7 (c/w the EPEL repo)
  • yum install netdata-1.16.0
  • yum update -y
Expected behavior

"yum update -y" should update to the latest version, v1.17.1, without complaint.

Failed work-around:

I was initially not awake enough to realize that netdata consists of 3 separate RPM packages. I tried just removing the most obvious "yum remove netdata -y; yum update -y; yum install netdata", but I got the same errors - conflicts with netdata-data & netdata-conf (of course).

Work-around:

I tried to remove the entire thing, then re-install it again at the newest version:

  • yum remove netdata* -y
  • yum install netdata -y

Extra credit: I ran our ansible playbook against this, to get the haproxy plugin re-activated... but I see you've also changed the structure of the directories! /etc/netdata/conf.d/ no longer exists under v1.17.1. That's unexpected, seems undocumented.

More Extra credit: Under v1.16.0, I found that by setting:

[plugins]
haproxy = yes

...into /etc/netdata/netdata.conf, then restarting the netdata service, it would auto-populate /etc/netdata/conf.d/ with a tree of other (config) files. It no longer does this. That original feature seemed to be undocumented.

@nmacgreg nmacgreg added bug needs triage Issues which need to be manually labelled labels Sep 17, 2019
@nmacgreg
Copy link
Author

Just wanted to say, netdata is amazing! I'm blown away by this software. We've been using it for less than a month, and it's already saved my bacon.

@ilyam8
Copy link
Member

ilyam8 commented Sep 17, 2019

[plugins]
haproxy = yes

There is no haproxy plugin in netdata. Haproxy is python.d.plugin module

/collectors/python.d.plugin/haproxy

So haproxy = yes under [plugins] did and does nothing.

but I see you've also changed the structure of the directories

Actually no. Nothing was changed since 1.16.

/etc/netdata/conf.d/

The only conf.d i know is in /usr/lib. It is a dir for stock configs (defaults, shouldnt be modified by users).

my install

/opt/netdata/usr/lib/netdata/conf.d/

@paulkatsoulakis please take a look

@paulkatsoulakis
Copy link
Contributor

Good morning, thank you for reporting this @nmacgreg and i am sorry you bumped into issues.

Are you using our own package repository to install netdata?
Our own repositories are available if you follow these instructions: https://docs.netdata.cloud/packaging/installer/#binary-packages

The reason i am asking about this is because at netdata we have not provided such a package separation (not yet at least).
It may be a case of either package maintainers having an issue on the patches they use to provide netdata to the world OR when you add our repositories some kind of a conflict occurs between our packages and the ones our maintainers provide.

I will attempt to reproduce the issue until we get further feedback from your side.
Thanks again for reaching out!

@Saruspete
Copy link
Contributor

Saruspete commented Sep 18, 2019

Hello,

I had similar issues: EPEL repackages the standalone "netdata" package and splits it into 3 packages:

  • netdata (only the core binaries)
  • netdata-data (the web interface)
  • netdata-conf (configuration files)

This broke my setup too, and I had to use the official netdata spec (as before) rename it into a new one, and add flags Obsoletes: netdata netdata-data netdata-conf.

you can workaround it by issuing yum remove 'netdata*' or more explicitely yum remove netdata netdata-data netdata-conf.

This issue is clearly one created by EPEL by changng the official specfile. Maybe we should add by default an "Obsoletes: netdata-data netdata-conf" to avoid EPEL to come into the way if users starts using the official netdata repositories / packages.

@cakrit
Copy link
Contributor

cakrit commented Sep 18, 2019

Adding the Obsoletes sounds like a good idea. Care to do the PR?

@paulkatsoulakis
Copy link
Contributor

Adding the obsolete flag certainly helps clean up the extra packages added by EPEL, but doesn't entirely solve the problem i think.

Might worth adding some pre-install step to check whether EPEL packages are in place and remove them instead. I don't know if Obsoletes: netdata would do the trick for netdata package, like it does for the subpackages because the name conflicts with the actual package we want to install.

I recall i had used Obsoletes to deprecate stock version of a package in the past (wireshark specifically), but the new version of it was with a different name so that worked fine

@Saruspete
Copy link
Contributor

Not for the base netdata package, only for the 2 splits done by EPEL: netdata-conf and netdata-data + add these 2 to Provides in our package. That's because the files provided by -conf and -data are provided by our single netdata package.

It's a shame we have to do this upstream to handle a case done by a rpm provider, but EPEL should be "standard" enough to be worth the case.

Could also someone contact them on behalf of netdata to ask them why they did this, and if the solution suits them too ?

@cakrit
Copy link
Contributor

cakrit commented Sep 18, 2019

They are free to do anything they like, we have no say on the matter. It's one of the many reasons we opted for our own binary distros.

Our responsibility is to ensure that we don't leave a user's system in a broken state. There are only two options here, either detect the other installation and abort with a very clear message, or do what you suggested. The former is, of course, nicer. Can we do it?

@Saruspete
Copy link
Contributor

Yes, with a scriptlet in %pre section that should be doable.

@Saruspete
Copy link
Contributor

We can also add a conflict: netdata-data section, but that wouldn't allow us to explain in detail what to do and the procedure to fix it.

Also, if another package relies on an epel package (eg, a dashboard plugin or something like that), should we also add the Provides: netdata-data netdata-conf so it won't break it. Or should we consider the plugin createor shouldn't relay on something specific to epel, and instead depends on a file ?

@mfundul mfundul added area/packaging Packaging and operating systems support and removed needs triage Issues which need to be manually labelled labels Oct 14, 2019
@prologic
Copy link
Contributor

Hi @nmacgreg! Sorry for the late reply. Is this still an issue for you?

@janosmiko
Copy link

janosmiko commented May 14, 2020

@prologic I think this issue still exists:

[09:49:50] root@dev:~ # yum -q -y install netdata

Transaction check error:
  file /etc/netdata/netdata.conf from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-conf-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/console.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-3.3.7.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-slate-flat-3.3.7.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-slider-10.0.0.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-theme-3.3.7.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-toggle-2.2.2.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/c3-0.4.18.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.slate.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/morris-0.5.1.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dash-example.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard_info.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard_info_custom_example.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demo.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demo2.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demosites.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demosites2.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/favicon.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.eot from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.ttf from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.woff from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.woff2 from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/goto-host-from-alarm.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-128-orange.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-128-red.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-multi-size-orange.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-multi-size-red.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-192x192.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-36x36.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-48x48.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-72x72.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-96x96.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/animated.gif from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-114x114.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-120x120.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-152x152.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-180x180.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-57x57.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-60x60.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-72x72.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-76x76.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-precomposed.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/banner-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/check-mark-2-128-green.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/check-mark-2-multi-size-green.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon-16x16.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon-32x32.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon-96x96.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-150x150.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-310x310.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-70x70.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/netdata-logomark.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/static/img/netdata-logomark.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/netdata.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/post.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/index.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/infographic.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-3.3.7.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-slider-10.0.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-table-1.11.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-table-export-1.11.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-toggle-2.2.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/clipboard-polyfill-be05dad.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/d3-4.12.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/d3pie-0.2.1-netdata-3.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/dygraph-c91c859.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/dygraph-smooth-plotter-c91c859.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/fontawesome-all-5.0.1.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/gauge-1.3.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery-2.2.4.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery.easypiechart-97b5824.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery.peity-3.2.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery.sparkline-2.1.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/lz-string-1.4.4.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/pako-1.0.6.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/perfect-scrollbar-0.6.15.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/tableExport-1.6.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/main.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/main.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/netdata-swagger.json from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/netdata-swagger.yaml from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/refresh-badges.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/robots.txt from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/sitemap.xml from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/static from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/static/img from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/tv.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/version.txt from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch

Note: the netdata-data and netdata-conf packages are currently installed from EPEL.
If I remove these, I can successfully install netdata from netdata repo.

@prologic
Copy link
Contributor

@mixe3y Can you please confirm:

  • Your System OS/Version
  • Your Yum repositories enabled

Thanks!

@janosmiko
Copy link

I'm using CentOS 7
It's easily reproducible using docker.

Steps:

  • install epel
  • install netdata from epel
  • remove netdata
  • install netdata repo from packagecloud
  • install netdata

The cause of the issue is that netdata-data and netdata-conf is installed even after removing netdata from epel.

docker run --rm -it centos:7 bash
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]# yum install --assumeyes epel-release
Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: centos.lonyai.com
 * extras: centos.lonyai.com
 * updates: centos.lonyai.com
base                                                                                                                          | 3.6 kB  00:00:00
extras                                                                                                                        | 2.9 kB  00:00:00
updates                                                                                                                       | 2.9 kB  00:00:00
(1/4): base/7/x86_64/group_gz                                                                                                 | 153 kB  00:00:00
(2/4): extras/7/x86_64/primary_db                                                                                             | 190 kB  00:00:00
(3/4): base/7/x86_64/primary_db                                                                                               | 6.1 MB  00:00:00
(4/4): updates/7/x86_64/primary_db                                                                                            | 1.3 MB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-11 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
 Package                                 Arch                              Version                           Repository                         Size
=====================================================================================================================================================
Installing:
 epel-release                            noarch                            7-11                              extras                             15 k

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

Total download size: 15 k
Installed size: 24 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-11.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Public key for epel-release-7-11.noarch.rpm is not installed
epel-release-7-11.noarch.rpm                                                                                                  |  15 kB  00:00:00
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) <security@centos.org>"
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-7.1908.0.el7.centos.x86_64 (@CentOS)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : epel-release-7-11.noarch                                                                                                          1/1
  Verifying  : epel-release-7-11.noarch                                                                                                          1/1

Installed:
  epel-release.noarch 0:7-11

Complete!
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]# yum install --assumeyes netdata
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                                          |  20 kB  00:00:00
 * base: centos.lonyai.com
 * epel: centos.anexia.at
 * extras: centos.lonyai.com
 * updates: centos.lonyai.com
epel                                                                                                                          | 4.7 kB  00:00:00
(1/3): epel/x86_64/group_gz                                                                                                   |  95 kB  00:00:00
(2/3): epel/x86_64/updateinfo                                                                                                 | 1.0 MB  00:00:00
(3/3): epel/x86_64/primary_db                                                                                                 | 6.8 MB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package netdata.x86_64 0:1.21.1-1.el7 will be installed
--> Processing Dependency: netdata-conf = 1.21.1-1.el7 for package: netdata-1.21.1-1.el7.x86_64
--> Processing Dependency: netdata-data = 1.21.1-1.el7 for package: netdata-1.21.1-1.el7.x86_64
--> Processing Dependency: nc for package: netdata-1.21.1-1.el7.x86_64
--> Processing Dependency: nodejs for package: netdata-1.21.1-1.el7.x86_64
--> Processing Dependency: libJudy.so.1()(64bit) for package: netdata-1.21.1-1.el7.x86_64
--> Processing Dependency: libuv.so.1()(64bit) for package: netdata-1.21.1-1.el7.x86_64
--> Running transaction check
---> Package Judy.x86_64 0:1.0.5-8.el7 will be installed
---> Package libuv.x86_64 1:1.37.0-1.el7 will be installed
---> Package netdata-conf.noarch 0:1.21.1-1.el7 will be installed
---> Package netdata-data.noarch 0:1.21.1-1.el7 will be installed
---> Package nmap-ncat.x86_64 2:6.40-19.el7 will be installed
--> Processing Dependency: libpcap.so.1()(64bit) for package: 2:nmap-ncat-6.40-19.el7.x86_64
---> Package nodejs.x86_64 1:6.17.1-1.el7 will be installed
--> Processing Dependency: npm = 1:3.10.10-1.6.17.1.1.el7 for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libicudata.so.50()(64bit) for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libicui18n.so.50()(64bit) for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Processing Dependency: libicuuc.so.50()(64bit) for package: 1:nodejs-6.17.1-1.el7.x86_64
--> Running transaction check
---> Package libicu.x86_64 0:50.2-4.el7_7 will be installed
---> Package libpcap.x86_64 14:1.5.3-12.el7 will be installed
---> Package npm.x86_64 1:3.10.10-1.6.17.1.1.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
 Package                            Arch                         Version                                         Repository                     Size
=====================================================================================================================================================
Installing:
 netdata                            x86_64                       1.21.1-1.el7                                    epel                          945 k
Installing for dependencies:
 Judy                               x86_64                       1.0.5-8.el7                                     epel                          116 k
 libicu                             x86_64                       50.2-4.el7_7                                    updates                       6.9 M
 libpcap                            x86_64                       14:1.5.3-12.el7                                 base                          139 k
 libuv                              x86_64                       1:1.37.0-1.el7                                  epel                          147 k
 netdata-conf                       noarch                       1.21.1-1.el7                                    epel                          107 k
 netdata-data                       noarch                       1.21.1-1.el7                                    epel                          1.2 M
 nmap-ncat                          x86_64                       2:6.40-19.el7                                   base                          206 k
 nodejs                             x86_64                       1:6.17.1-1.el7                                  epel                          4.7 M
 npm                                x86_64                       1:3.10.10-1.6.17.1.1.el7                        epel                          2.5 M

Transaction Summary
=====================================================================================================================================================
Install  1 Package (+9 Dependent packages)

Total download size: 17 M
Installed size: 60 M
Downloading packages:
(1/10): libpcap-1.5.3-12.el7.x86_64.rpm                                                                                       | 139 kB  00:00:00
warning: /var/cache/yum/x86_64/7/epel/packages/Judy-1.0.5-8.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for Judy-1.0.5-8.el7.x86_64.rpm is not installed
(2/10): Judy-1.0.5-8.el7.x86_64.rpm                                                                                           | 116 kB  00:00:00
(3/10): libuv-1.37.0-1.el7.x86_64.rpm                                                                                         | 147 kB  00:00:00
(4/10): libicu-50.2-4.el7_7.x86_64.rpm                                                                                        | 6.9 MB  00:00:00
(5/10): netdata-1.21.1-1.el7.x86_64.rpm                                                                                       | 945 kB  00:00:00
(6/10): netdata-conf-1.21.1-1.el7.noarch.rpm                                                                                  | 107 kB  00:00:00
(7/10): nmap-ncat-6.40-19.el7.x86_64.rpm                                                                                      | 206 kB  00:00:00
(8/10): netdata-data-1.21.1-1.el7.noarch.rpm                                                                                  | 1.2 MB  00:00:00
(9/10): nodejs-6.17.1-1.el7.x86_64.rpm                                                                                        | 4.7 MB  00:00:00
(10/10): npm-3.10.10-1.6.17.1.1.el7.x86_64.rpm                                                                                | 2.5 MB  00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                8.8 MB/s |  17 MB  00:00:01
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) <epel@fedoraproject.org>"
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-11.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:libuv-1.37.0-1.el7.x86_64                                                                                                      1/10
  Installing : netdata-conf-1.21.1-1.el7.noarch                                                                                                 2/10
  Installing : libicu-50.2-4.el7_7.x86_64                                                                                                       3/10
  Installing : 1:npm-3.10.10-1.6.17.1.1.el7.x86_64                                                                                              4/10
  Installing : 1:nodejs-6.17.1-1.el7.x86_64                                                                                                     5/10
  Installing : 14:libpcap-1.5.3-12.el7.x86_64                                                                                                   6/10
  Installing : 2:nmap-ncat-6.40-19.el7.x86_64                                                                                                   7/10
  Installing : Judy-1.0.5-8.el7.x86_64                                                                                                          8/10
  Installing : netdata-data-1.21.1-1.el7.noarch                                                                                                 9/10
  Installing : netdata-1.21.1-1.el7.x86_64                                                                                                     10/10
The current config file can be downloaded with the following command
curl -o /etc/netdata/netdata.conf http://localhost:19999/netdata.conf
  Verifying  : 1:nodejs-6.17.1-1.el7.x86_64                                                                                                     1/10
  Verifying  : netdata-data-1.21.1-1.el7.noarch                                                                                                 2/10
  Verifying  : Judy-1.0.5-8.el7.x86_64                                                                                                          3/10
  Verifying  : 1:libuv-1.37.0-1.el7.x86_64                                                                                                      4/10
  Verifying  : netdata-1.21.1-1.el7.x86_64                                                                                                      5/10
  Verifying  : 2:nmap-ncat-6.40-19.el7.x86_64                                                                                                   6/10
  Verifying  : 14:libpcap-1.5.3-12.el7.x86_64                                                                                                   7/10
  Verifying  : libicu-50.2-4.el7_7.x86_64                                                                                                       8/10
  Verifying  : netdata-conf-1.21.1-1.el7.noarch                                                                                                 9/10
  Verifying  : 1:npm-3.10.10-1.6.17.1.1.el7.x86_64                                                                                             10/10

Installed:
  netdata.x86_64 0:1.21.1-1.el7

Dependency Installed:
  Judy.x86_64 0:1.0.5-8.el7               libicu.x86_64 0:50.2-4.el7_7           libpcap.x86_64 14:1.5.3-12.el7     libuv.x86_64 1:1.37.0-1.el7
  netdata-conf.noarch 0:1.21.1-1.el7      netdata-data.noarch 0:1.21.1-1.el7     nmap-ncat.x86_64 2:6.40-19.el7     nodejs.x86_64 1:6.17.1-1.el7
  npm.x86_64 1:3.10.10-1.6.17.1.1.el7

Complete!
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]# yum remove --assumeyes netdata
Loaded plugins: fastestmirror, ovl
Resolving Dependencies
--> Running transaction check
---> Package netdata.x86_64 0:1.21.1-1.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
 Package                            Arch                              Version                                 Repository                        Size
=====================================================================================================================================================
Removing:
 netdata                            x86_64                            1.21.1-1.el7                            @epel                            3.5 M

Transaction Summary
=====================================================================================================================================================
Remove  1 Package

Installed size: 3.5 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : netdata-1.21.1-1.el7.x86_64                                                                                                       1/1
  Verifying  : netdata-1.21.1-1.el7.x86_64                                                                                                       1/1

Removed:
  netdata.x86_64 0:1.21.1-1.el7

Complete!
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]# curl -s https://packagecloud.io/install/repositories/netdata/netdata/script.rpm.sh | bash
Detected operating system as centos/7.
Checking for curl...
Detected curl...
Downloading repository file: https://packagecloud.io/install/repositories/netdata/netdata/config_file.repo?os=centos&dist=7&source=script
done.
Installing pygpgme to verify GPG signatures...
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.lonyai.com
 * epel: pkg.adfinis-sygroup.ch
 * extras: centos.lonyai.com
 * updates: centos.lonyai.com
netdata_netdata-source/signature                                                                                              |  819 B  00:00:00
Retrieving key from https://packagecloud.io/netdata/netdata/gpgkey
Importing GPG key 0xF6FB8FD3:
 Userid     : "https://packagecloud.io/firehol/netdata (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>"
 Fingerprint: a799 ab70 2ea6 dee3 e21a a716 b418 8b90 f6fb 8fd3
 From       : https://packagecloud.io/netdata/netdata/gpgkey
netdata_netdata-source/signature                                                                                              |  951 B  00:00:04 !!!
netdata_netdata-source/primary                                                                                                |  175 B  00:00:02
Package pygpgme-0.3-9.el7.x86_64 already installed and latest version
Nothing to do
Installing yum-utils...
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.lonyai.com
 * epel: centos.anexia.at
 * extras: centos.lonyai.com
 * updates: centos.lonyai.com
Resolving Dependencies
--> Running transaction check
---> Package yum-utils.noarch 0:1.1.31-52.el7 will be updated
---> Package yum-utils.noarch 0:1.1.31-54.el7_8 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
 Package                            Arch                            Version                                   Repository                        Size
=====================================================================================================================================================
Updating:
 yum-utils                          noarch                          1.1.31-54.el7_8                           updates                          122 k

Transaction Summary
=====================================================================================================================================================
Upgrade  1 Package

Total download size: 122 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
yum-utils-1.1.31-54.el7_8.noarch.rpm                                                                                          | 122 kB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : yum-utils-1.1.31-54.el7_8.noarch                                                                                                  1/2
  Cleanup    : yum-utils-1.1.31-52.el7.noarch                                                                                                    2/2
  Verifying  : yum-utils-1.1.31-54.el7_8.noarch                                                                                                  1/2
  Verifying  : yum-utils-1.1.31-52.el7.noarch                                                                                                    2/2

Updated:
  yum-utils.noarch 0:1.1.31-54.el7_8

Complete!
Generating yum cache for netdata_netdata...
Importing GPG key 0xF6FB8FD3:
 Userid     : "https://packagecloud.io/firehol/netdata (https://packagecloud.io/docs#gpg_signing) <support@packagecloud.io>"
 Fingerprint: a799 ab70 2ea6 dee3 e21a a716 b418 8b90 f6fb 8fd3
 From       : https://packagecloud.io/netdata/netdata/gpgkey
Generating yum cache for netdata_netdata-source...

The repository is setup! You can now install packages.
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]# yum install --assumeyes netdata
Loaded plugins: fastestmirror, ovl
Loading mirror speeds from cached hostfile
 * base: centos.lonyai.com
 * epel: centos.anexia.at
 * extras: centos.lonyai.com
 * updates: centos.lonyai.com
Resolving Dependencies
--> Running transaction check
---> Package netdata.x86_64 0:1.22.1-1.el7 will be installed
--> Processing Dependency: snappy for package: netdata-1.22.1-1.el7.x86_64
--> Processing Dependency: protobuf-c for package: netdata-1.22.1-1.el7.x86_64
--> Processing Dependency: protobuf for package: netdata-1.22.1-1.el7.x86_64
--> Processing Dependency: openssl for package: netdata-1.22.1-1.el7.x86_64
--> Processing Dependency: libmnl for package: netdata-1.22.1-1.el7.x86_64
--> Running transaction check
---> Package libmnl.x86_64 0:1.0.3-7.el7 will be installed
---> Package openssl.x86_64 1:1.0.2k-19.el7 will be installed
--> Processing Dependency: make for package: 1:openssl-1.0.2k-19.el7.x86_64
---> Package protobuf.x86_64 0:2.5.0-8.el7 will be installed
---> Package protobuf-c.x86_64 0:1.0.2-3.el7 will be installed
---> Package snappy.x86_64 0:1.1.0-3.el7 will be installed
--> Running transaction check
---> Package make.x86_64 1:3.82-24.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================
 Package                           Arch                          Version                                Repository                              Size
=====================================================================================================================================================
Installing:
 netdata                           x86_64                        1.22.1-1.el7                           netdata_netdata                        9.7 M
Installing for dependencies:
 libmnl                            x86_64                        1.0.3-7.el7                            base                                    23 k
 make                              x86_64                        1:3.82-24.el7                          base                                   421 k
 openssl                           x86_64                        1:1.0.2k-19.el7                        base                                   493 k
 protobuf                          x86_64                        2.5.0-8.el7                            base                                   338 k
 protobuf-c                        x86_64                        1.0.2-3.el7                            base                                    28 k
 snappy                            x86_64                        1.1.0-3.el7                            base                                    40 k

Transaction Summary
=====================================================================================================================================================
Install  1 Package (+6 Dependent packages)

Total download size: 11 M
Installed size: 43 M
Downloading packages:
(1/7): libmnl-1.0.3-7.el7.x86_64.rpm                                                                                          |  23 kB  00:00:00
(2/7): make-3.82-24.el7.x86_64.rpm                                                                                            | 421 kB  00:00:00
(3/7): openssl-1.0.2k-19.el7.x86_64.rpm                                                                                       | 493 kB  00:00:00
(4/7): protobuf-c-1.0.2-3.el7.x86_64.rpm                                                                                      |  28 kB  00:00:00
(5/7): protobuf-2.5.0-8.el7.x86_64.rpm                                                                                        | 338 kB  00:00:00
(6/7): snappy-1.1.0-3.el7.x86_64.rpm                                                                                          |  40 kB  00:00:00
(7/7): netdata-1.22.1-1.el7.x86_64.rpm                                                                                        | 9.7 MB  00:00:01
-----------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                7.4 MB/s |  11 MB  00:00:01
Running transaction check
Running transaction test


Transaction check error:
  file /etc/netdata/netdata.conf from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-conf-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/console.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-3.3.7.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-slate-flat-3.3.7.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-slider-10.0.0.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-theme-3.3.7.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/bootstrap-toggle-2.2.2.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/c3-0.4.18.min.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.slate.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/css/morris-0.5.1.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dash-example.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard_info.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/dashboard_info_custom_example.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demo.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demo2.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demosites.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/demosites2.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/favicon.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.eot from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.ttf from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.woff from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/fonts/glyphicons-halflings-regular.woff2 from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/goto-host-from-alarm.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-128-orange.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-128-red.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-multi-size-orange.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/alert-multi-size-red.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-192x192.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-36x36.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-48x48.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-72x72.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/android-icon-96x96.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/animated.gif from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-114x114.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-120x120.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-152x152.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-180x180.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-57x57.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-60x60.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-72x72.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-76x76.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon-precomposed.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/apple-icon.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/banner-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/check-mark-2-128-green.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/check-mark-2-multi-size-green.ico from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon-16x16.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon-32x32.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/favicon-96x96.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-144x144.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-150x150.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-310x310.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/ms-icon-70x70.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/netdata-logomark.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/static/img/netdata-logomark.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/netdata.svg from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/images/post.png from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/index.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/infographic.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-3.3.7.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-slider-10.0.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-table-1.11.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-table-export-1.11.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/bootstrap-toggle-2.2.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/clipboard-polyfill-be05dad.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/d3-4.12.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/d3pie-0.2.1-netdata-3.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/dygraph-c91c859.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/dygraph-smooth-plotter-c91c859.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/fontawesome-all-5.0.1.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/gauge-1.3.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery-2.2.4.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery.easypiechart-97b5824.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery.peity-3.2.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/jquery.sparkline-2.1.2.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/lz-string-1.4.4.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/pako-1.0.6.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/perfect-scrollbar-0.6.15.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/lib/tableExport-1.6.0.min.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/main.css from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/main.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/netdata-swagger.json from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/netdata-swagger.yaml from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/refresh-badges.js from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/robots.txt from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/sitemap.xml from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/static from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/static/img from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/tv.html from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch
  file /usr/share/netdata/web/version.txt from install of netdata-1.22.1-1.el7.x86_64 conflicts with file from package netdata-data-1.21.1-1.el7.noarch

Error Summary
-------------

[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]#
[root@12e9169af1b0 /]# yum list installed | grep netdata
netdata-conf.noarch                      1.21.1-1.el7                   @epel
netdata-data.noarch                      1.21.1-1.el7                   @epel

@prologic
Copy link
Contributor

Looks like #9108 might solve this! Thanks @Saruspete !

I will review the associated PR(s) soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/packaging Packaging and operating systems support bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants