Unable to update owncloud-httpd in CentOS

centos
9.1.x

#1

Hi all,

Today I was doing regular updates (yum update) for my ownCloud install on a CentOS machine, but the installation failed with error:
Transaction check error:
file /etc/httpd/conf.d/owncloud.conf from install of owncloud-httpd-9.1.4-3.el7.noarch conflicts with file from package owncloud-deps-php5-9.1.4-2.1.noarch

I'm sure that I haven't touched owncloud.conf, and I have never installed httpd from other repo. Is there anything that I can do to resolve this issue? Thanks!


#2

Hi,

owncloud-httpd is a package of your native distro repository where owncloud-deps-php5 is the one of the official ownCloud repo. You can't mix both so choose to install ownCloud either via your distros repository or via the official ownCloud repository.


#3

Oh okay, I didn't notice that. Thanks for pointing that out


#4

In case anyone wonders it can be solved by excluding offending package from being updated, in my case:
sudo yum update --exclude=owncloud-httpd-9.1.4*