Conflict With local software, How can I resolve this?


#1

Hi, guys. I’m try to install Kong in another machine, but there are so many conflicts with the machine, how can I resolve this?
file /usr/local/openresty/COPYRIGHT from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/cjson.so from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/html/index.html from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/websocket/client.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/websocket/server.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/bin/luajit-2.1.0-beta3 from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/include/luajit-2.1/lauxlib.h from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/include/luajit-2.1/lua.h from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/include/luajit-2.1/lua.hpp from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/include/luajit-2.1/luaconf.h from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/include/luajit-2.1/luajit.h from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/include/luajit-2.1/lualib.h from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/lib/libluajit-5.1.so.2.1.0 from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/lib/pkgconfig/luajit.pc from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/bc.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/bcsave.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_arm.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_arm64.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_arm64be.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mips.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mips64.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mips64el.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_mipsel.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_ppc.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_x64.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dis_x86.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/dump.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/p.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/v.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/vmdef.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/luajit/share/luajit-2.1.0-beta3/jit/zone.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/balancer.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/base64.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/base64.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/errlog.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/ocsp.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/process.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/re.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/resp.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/semaphore.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/ssl.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/ngx/ssl/session.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/redis/parser.so from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/aes.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/base.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/ctx.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/exit.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/hash.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/misc.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/phase.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/regex.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/request.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/response.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/shdict.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/time.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/uri.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/var.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/core/worker.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/dns/resolver.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/limit/conn.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/limit/count.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/limit/req.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/limit/traffic.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/lock.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/lrucache.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/lrucache/pureffi.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/md5.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/memcached.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/mysql.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/random.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/redis.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/sha.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/sha1.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/sha224.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/sha256.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/sha384.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/sha512.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/string.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/upload.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/upstream/healthcheck.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/lualib/resty/websocket/protocol.lua from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/fastcgi.conf from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/fastcgi.conf.default from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/fastcgi_params from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/fastcgi_params.default from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/koi-utf from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/koi-win from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/mime.types from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/mime.types.default from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/nginx.conf from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/nginx.conf.default from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/scgi_params from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/scgi_params.default from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/uwsgi_params from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/uwsgi_params.default from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/conf/win-utf from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/html/50x.html from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64
file /usr/local/openresty/nginx/sbin/nginx from install of kong-community-edition-0.14.1-1.noarch conflicts with file from package openresty-1.13.6.2-1.el7.centos.x86_64


#2

Hi,

It looks like Kong tries to overwrite openresty files with kong’s openresty files themselves. Is it possible to uninstall the previous openresty and use the one kong provides?

If not, you can try installing them in different paths. Look at your distribution’s package manager options for that.


#3

Thank you.
Problem solved after i remove it from CentOS.