linux - Conflicts with file from package filesystem-3.2 -
after repeated attempts , trying google issue i'm stuck , looking fellow stackers.
following wiki tcadmin have run following commands
wget http://www.tcadmin.com/installer/mono-2.11.4-i386.rpm yum -y install mono-2.11.4-i386.rpm --nogpgcheck /opt/mono-2.11.4/bin/mozroots --import --sync --quiet /opt/mono-2.11.4/bin/mono --aot -o=all /opt/mono-2.11.4/lib/mono/2.0/mscorlib.dll in /opt/mono-2.11.4/lib/mono/gac/*/*/*.dll; /opt/mono-2.11.4/bin/mono --aot -o=all $i; done
when yum part fails , outputs error.
file / install of mono-2.11.4-bi.x86_64 conflicts file package filesystem-3.2-18.el7.x86_64
most sites , places suggest using override or force command sounds stupid , cause issues down road myself , system.
i have flagged ticket company supplies wiki issue i'm yet have reply.
another suggestion extract rpm , move files 1 one quite time consuming..
the ticket responed following;
it safe force install because files placed in /opt/mono-2.11.4 there bug mono on centos 7 prevents tcadmin working correctly.
i had same issue trying install fluentd agent on centos 7:
(venv)[user@machine01 tmp]$ sudo rpm -ivh td-agent-2.1.1-0.x86_64.rpm warning: td-agent-2.1.1-0.x86_64.rpm: header v4 dsa/sha1 signature, key id a12e206f: nokey preparing... ################################# [100%] file /opt install of td-agent-2.1.1-0.x86_64 conflicts file package filesystem-3.2-18.el7.x86_64
i wouldn't downgrading whole os solution. maybe elegant workaround rebuild .rpm file in order avoid file systems making conflicts. can modifying spec file rpmrebuild command.
however, if trust software install or want try if works no matter what, easier (and faster) workaround force rpm installation. that's did ...
(venv)[user@machine01 tmp]$ sudo rpm -ivh --force td-agent-2.1.1-0.x86_64.rpm warning: td-agent-2.1.1-0.x86_64.rpm: header v4 dsa/sha1 signature, key id a12e206f: nokey preparing... ################################# [100%] updating / installing... 1:td-agent-2.1.1-0 ################################# [100%] adding 'td-agent' group... adding 'td-agent' user... installing default conffile... prelink detected. installing /etc/prelink.conf.d/td-agent-ruby.conf ... configure td-agent start, when booting os...
...and worked me
(venv)[user@machine01 tmp]$ sudo systemctl start td-agent.service (venv)[user@machine01 tmp]$ sudo systemctl status td-agent.service td-agent.service - lsb: td-agent's init script loaded: loaded (/etc/rc.d/init.d/td-agent) active: active (running) since vie 2014-12-12 09:34:09 cet; 4s ago process: 17178 execstart=/etc/rc.d/init.d/td-agent start (code=exited, status=0/success) ...
hope helps
Comments
Post a Comment