6 posts / 0 new
Last post
mcampbell@1poin...
mcampbell@1pointcom.com's picture
Joined: 2015/05/20
Points: 0

Hello,

I attempted to update our system this evening via yum update (we are currently running MT 9.1.4.14 and the system was last updated around July 2019.)

Unfortunately the update is a no-go as I receive the following errors & things will not proceed any further:

Transaction Check Error:
file /etc/nginx/conf.d/default.conf from install of nginx-1.10.3-1.el6.x86_64 conflicts with file from package nginx-config-1.10.2-100.el6.x86_64
file /etc/nginx/conf.d/ssl.conf from install of nginx-1.10.3-1.el6.x86_64 conflicts with file from package nginx-config-1.10.2-100.el6.x86_64

I tried manually removing nginx-1.10.2-100 and nginx-config-1.10.2.100 and reinstalling with the latest versions 1.10.3-1. This lets the yum-update proceed with upgrading everything else; however the gui stops working and nginx will not start and throws an error when you try manually to start it. Additionally fail2ban complains about things not being right. I ended up restoring a server snapshot taken just before the failed upgrade attempt and all is well, just unable to update my system.

Any suggestions for a graceful way to get past this issue and not break the system? I've access to plenty of log files from the botched attempt for reference.

Thanks in advance,

--Matt

volodya
volodya's picture
Joined: 2017/01/05
Points: 250

Hello Matt,

Nginx version 1.10.3-1 must be from different repository. You should downgrade it with yum downgrade nginx command to version 1.10.2 from our repository.

Make sure not to update conflicting packages from third party repositories.

mcampbell@1poin...
mcampbell@1pointcom.com's picture
Joined: 2015/05/20
Points: 0

Hi Volodya,

Thank you for the reply. Currently the system has the tl-repository nginx 1.10.2 version installed.

I run 'yum clean all' then 'yum update' as I have in the past. That's when I get the "Transaction Check Error:" followed by the 2 conflict messages.

Is there something I can do to prevent the system from trying to download nginx from a third-party repository? What bothers me is - we have not performed an upgrade on the system since July 2019 (when we upgraded based on the following post from Alex: https://www.thirdlane.com/forum/thirdlane-unified-communications-platfor...) so I'm really not sure what changed between then and now.

Best regards,

--Matt

volodya
volodya's picture
Joined: 2017/01/05
Points: 250

Please run yum repolist command. You should only see the following list of repositories:

  • base CentOS-6 - Base
  • extras CentOS-6 - Extras
  • thirdlane CentOS / Red Hat Enterprise Linux - thirdlane.com
  • updates CentOS-6 - Updates

You should check configuration files under /etc/yum.repos.d/ directory. In case if you have any third party repository, you will need to either remove them or disable by setting enabled=0.

mcampbell@1poin...
mcampbell@1pointcom.com's picture
Joined: 2015/05/20
Points: 0

Hi Volodya,

I checked config files and found the epel repo enabled & have since disabled it. Will schedule a time to attempt the upgrade again in the near future during a maintenance window.

Thank you for the advice.

--Matt

mcampbell@1poin...
mcampbell@1pointcom.com's picture
Joined: 2015/05/20
Points: 0

Upgrade completed without a hitch. Thanks Volodya for your advice!

--Matt