Yum issue with update or any other instalation

General support questions including new installations
Post Reply
Amartinez4513
Posts: 4
Joined: 2016/11/13 02:21:49

Yum issue with update or any other instalation

Post by Amartinez4513 » 2016/11/14 15:08:29

I keep receiving these errors when I try to use yum update , yum install php, yum install zsh, and etc.

Code: Select all

[root@cts4348-node-x ~]# yum install php
Loaded plugins: security
xrdp/primary_db                                          | 1.6 MB     00:00
http://li.nux.ro/download/nux/dextop/el7/x86_64/repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.                                                                      bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2 from xrdp: [Errno 256] No mo                                                                      re mirrors to try.
and this error when I update

Code: Select all

[root@cts4348-node-x ~]# yum update
Loaded plugins: security
base                                                                                                                                                                                    | 1.1 kB     00:00
base/primary                                                                                                                                                                            | 1.3 MB     00:00
base                                                                                                                                                                                                 3667/3667
epel                                                                                                                                                                                    | 3.6 kB     00:00
epel/primary_db                                                                                                                                                                         | 2.8 MB     00:00
extras                                                                                                                                                                                  | 2.1 kB     00:00
extras/primary_db                                                                                                                                                                       | 173 kB     00:00
updates                                                                                                                                                                                 | 1.9 kB     00:00
updates/primary_db                                                                                                                                                                      | 897 kB     00:00
xrdp                                                                                                                                                                                    | 2.9 kB     00:00
xrdp/primary_db                                                                                                                                                                         | 1.6 MB     00:01
http://li.nux.ro/download/nux/dextop/el7/x86_64/repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
xrdp/primary_db                                                                                                                                                                         | 1.6 MB     00:01
http://li.nux.ro/download/nux/dextop/el7/x86_64/repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2 from xrdp: [Errno 256] No more mirrors to try.
[root@cts4348-node-x ~]# [root@cts4348-node-x ~]# yum install php
-bash: [root@cts4348-node-x: command not found
[root@cts4348-node-x ~]# Loaded plugins: security
extras                                                                                                                                                                                  | 2.1 kB     00:00
extras/primary_db                                                                                                                                                                       | 173 kB     00:00
updates                                                                                                                                                                                 | 1.9 kB     00:00
updates/primary_db                                                                                                                                                                      | 897 kB     00:00
xrdp                                                                                                                                                                                    | 2.9 kB     00:00
xrdp/primary_db                                                                                                                                                                         | 1.6 MB     00:01
http://li.nux.ro/download/nux/dextop/el7/x86_64/repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
xrdp/primary_db                                                                                                                                                                         | 1.6 MB     00:01
http://li.nux.ro/download/nux/dextop/el7/x86_64/repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
Error: failure: repodata/f0cc724f3df4596f4a1ebdc53b0550ae2872760e76a5fa3e5fcd9bbb4a16fa79-primary.sqlite.bz2 from xrdp: [Errno 256] No more mirrors to try.
[root@cts4348-node-x ~]#
I thought this could be an issue with in the yum.repos.d directory so heres what inside of it:

Code: Select all

[root@cts4348-node-x yum.repos.d]# ls -a
.  ..  CentOS-Base.repo  CentOS-Debuginfo.repo  CentOS-fasttrack.repo  CentOS-Media.repo  CentOS-Sources.repo  CentOS-Vault.repo  epel.repo  epel-testing.repo  xrdp.repo


and here is my yum.conf

Code: Select all


[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/yum5bug

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d




Anything can help thank you in advance

owl102
Posts: 413
Joined: 2014/06/10 19:13:41

Re: Yum issue with update or any other instalation

Post by owl102 » 2016/11/14 15:24:56

You have installed the nux-destop repository for CentOS 7, but you have CentOS 5 running. So disable this repository (I assume it's enabled inside /etc/yum.repos.d/xrdp.repo), do a "yum clean all", and try again.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum issue with update or any other instalation

Post by TrevorH » 2016/11/14 16:25:56

Please don't make duplicate posts - I moved your other one to the CentOS 7 forums since I assumed that you were running el7 given that you had nux for el7 installed. Either you're posting in the wrong forum or you're trying to use a CentOS 7 repo on a CentOS 5 system and that will not work.

If you are running CentOS 5 then please see the sticky post about it's imminent demise and start planning to migrate to something newer.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Amartinez4513
Posts: 4
Joined: 2016/11/13 02:21:49

Re: Yum issue with update or any other instalation

Post by Amartinez4513 » 2016/11/15 00:02:01

I'm running centOS 5.11

How can I disable this repository?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum issue with update or any other instalation

Post by TrevorH » 2016/11/15 11:04:01

yum remove nux-dextop-release --disablerepo=\*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Amartinez4513
Posts: 4
Joined: 2016/11/13 02:21:49

Re: Yum issue with update or any other instalation

Post by Amartinez4513 » 2016/11/15 12:47:10

Thank you for your help it is greatly appreciated! :mrgreen:

Post Reply