I have an ec2 instance and I'm trying to update all packages.
But the problem is when I execute "yum update" it shows the message:
Transaction Check Error:
file /usr/lib64/perl5/vendor_perl/Cwd.pm conflicts between attempted installs of perl-Cwd-2.21-1.2.el6.rf.x86_64 and perl-PathTools-3.40-3.4.amzn1.x86_64
file /usr/lib64/perl5/vendor_perl/auto/Cwd/Cwd.so conflicts between attempted installs of perl-Cwd-2.21-1.2.el6.rf.x86_64 and perl-PathTools-3.40-3.4.amzn1.x86_64
file /usr/share/man/man3/Cwd.3pm.gz conflicts between attempted installs of perl-Cwd-2.21-1.2.el6.rf.x86_64 and perl-PathTools-3.40-3.4.amzn1.x86_64
My Linux version is: 3.4.48-45.46.amzn1.x86_64 Red Hat 4.6.3-2
I tried to exclude "perl" from the updates, but the problem is that nginx need this perl update.
Any help how to handle this? Thanks in advance!