CentOS 6.9 faild to install httpd

General support questions
Tehranshop
Posts: 7
Joined: 2018/01/17 23:59:05

CentOS 6.9 faild to install httpd

Postby Tehranshop » 2018/01/18 00:03:26

Hi Everybody
I have a VPS and i want to install httpd
when i type "yum install httpd" show the errors on root

Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:

1. You have an upgrade for apr which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of apr of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude apr.otherarch ... this should give you an error
message showing the root cause of the problem.

2. You have multiple architectures of apr installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.

3. You have duplicate versions of apr installed already.
You can use "yum check" to get yum show these errors.

...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).

Protected multilib versions: apr-1.3.9-5.el6_9.1.i686 != apr-1.6.2-1.x86_64
Error: Protected multilib versions: apr-util-1.3.9-3.el6_0.1.i686 != apr-util-1.6.0-1.x86_64


please help me how to fix this problem and install latest version of "httpd"
and upgrade from CentOS 6.9 to latest CentOS

I try anything from all the web but ....
this is so important

Thanks

Whoever
Posts: 1004
Joined: 2013/09/06 03:12:10

Re: CentOS 6.9 faild to install httpd

Postby Whoever » 2018/01/18 04:04:05

Start with

Code: Select all

yum update

first.

User avatar
avij
Forum Moderator
Posts: 2453
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: CentOS 6.9 faild to install httpd

Postby avij » 2018/01/18 09:30:22

The real problem is that apr-1.6.2-1.x86_64. That is not a CentOS package at all. You should contact your hosting provider or "control panel" vendor for further assistance.

User avatar
TrevorH
Forum Moderator
Posts: 22591
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 faild to install httpd

Postby TrevorH » 2018/01/18 09:47:00

Post the output from yum list apr and yum repolist and grep -ir exclud /etc/yum.*
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Tehranshop
Posts: 7
Joined: 2018/01/17 23:59:05

Re: CentOS 6.9 faild to install httpd

Postby Tehranshop » 2018/01/18 10:47:05

Hi again
I try anything like
yum -y update
yum upgrade
yum -y upgrade
the issue is persist

the repolist
yum repolist
base | 3.7 kB 00:00
cwp | 2.9 kB 00:00
epel | 4.7 kB 00:00
epel/primary_db | 6.0 MB 00:00
extras | 3.4 kB 00:00
mariadb | 2.9 kB 00:00
updates | 3.4 kB 00:00
repo id repo name status
base CentOS-6 - Base 6,706
cwp CentOS Web Panel repo for Linux 7 - x86_64 54
epel Extra Packages for Enterprise Linux 6 - x86_64 12,450
extras CentOS-6 - Extras 47
mariadb MariaDB 16
updates CentOS-6 - Updates 859
repolist: 20,132

yum list apr
Available Packages
apr.i686 1.3.9-5.el6_9.1 updates
apr.x86_64 1.6.2-1 cwp

yum grep -ir exclud /etc/yum.*
check Check for problems in the rpmdb
check-update Check for available package updates
clean Remove cached data
deplist List a package's dependencies
distribution-synchronization Synchronize installed packages to the latest available versions
downgrade downgrade a package
erase Remove a package or packages from your system
groupinfo Display details about a package group
groupinstall Install the packages in a group on your system
grouplist List available package groups
groupremove Remove the packages in a group from your system
help Display a helpful usage message
history Display, or use, the transaction history
info Display details about a package or group of packages
install Install a package or packages on your system
list List a package or groups of packages
load-transaction load a saved transaction from filename
makecache Generate the metadata cache
provides Find what package provides the given value
reinstall reinstall a package
repolist Display the configured software repositories
resolvedep Determine which package provides the given dependency
search Search package details for the given string
shell Run an interactive yum shell
update Update a package or packages on your system
update-minimal Works like update, but goes to the 'newest' package match which fixes a problem that affects your system
updateinfo Acts on repository update information
upgrade Update packages taking obsoletes into account
version Display a version for the machine and/or available repos.

Thanks

User avatar
TrevorH
Forum Moderator
Posts: 22591
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 faild to install httpd

Postby TrevorH » 2018/01/18 11:26:30

yum repolist
base | 3.7 kB 00:00
cwp | 2.9 kB 00:00
epel | 4.7 kB 00:00
epel/primary_db | 6.0 MB 00:00
extras | 3.4 kB 00:00
mariadb | 2.9 kB 00:00
updates | 3.4 kB 00:00


The product known as 'CentOS Web Panel' is not associated with the CentOS Project, nor is it recommended for use by this channel or the CentOS Project. Additionally there is a concern of possible Rights Infringement by the non-authorized use of the CentOS Marks. Users are strongly cautioned against the use of the product. You need to ask CWP for support for this system as it's now no longer CentOS.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Tehranshop
Posts: 7
Joined: 2018/01/17 23:59:05

Re: CentOS 6.9 faild to install httpd

Postby Tehranshop » 2018/01/18 13:17:58

yes
i find it


CWP has no uninstaller, since you are installing it on the clean “CentOS 6 minimal version” it completely modifies your system and installs tons of packages.

The only way to remove CWP is to reinstall your server to the original state, like you had it before cwp installation.

so, i must be reset my VPS

Thanks everybody

User avatar
TrevorH
Forum Moderator
Posts: 22591
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 6.9 faild to install httpd

Postby TrevorH » 2018/01/18 13:22:00

Again, be aware that the "CentOS Web Panel" has nothing at all to do with the CentOS Project.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke