General support questions
-
klinux
- Posts: 2
- Joined: 2018/03/22 10:39:43
Post
by klinux » 2018/03/22 10:49:49
Hello,
I followed instructions on this site:
https://www.pickysysadmin.ca/2014/07/15 ... entos-6-x/
The last step yum upgrade or yum update is showing dependency errors:
https://pastebin.com/NFr1fLTM
Code: Select all
--> Finished Dependency Resolution
Error: Package: glibc-headers-2.12-1.25.el6.x86_64 (base_install-Server)
Requires: glibc = 2.12-1.25.el6
Installed: glibc-2.12-1.149.el6_6.5.i686 (@rhel-x86_64-server-6/6Server)
glibc = 2.12-1.149.el6_6.5
Available: glibc-2.12-1.25.el6.i686 (base_install-Server)
glibc = 2.12-1.25.el6
Error: Package: glibc-devel-2.12-1.25.el6.x86_64 (base_install-Server)
Requires: glibc = 2.12-1.25.el6
Installed: glibc-2.12-1.149.el6_6.5.i686 (@rhel-x86_64-server-6/6Server)
glibc = 2.12-1.149.el6_6.5
Available: glibc-2.12-1.25.el6.i686 (base_install-Server)
glibc = 2.12-1.25.el6
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
firefox-31.4.0-1.el6_6.x86_64 has missing requires of redhat-indexhtml
initscripts-9.03.38-1.el6_4.1.x86_64 has missing requires of /etc/system-release
-
TrevorH
- Site Admin
- Posts: 33216
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2018/03/22 11:27:00
Your installed system appears to be 6.6 judging by the glibc version involved but the CentOS repos you're pointing to appear to be for 6.1. Neither 6.1 nor 6.6 is a supported version - only 6.9 gets fixes and is the only CentOS 6 version that is supported.
You need at the very least to point your CentOS repos to 6.6 to match your currently installed system. Once that's done you need to update to 6.9.
-
klinux
- Posts: 2
- Joined: 2018/03/22 10:39:43
Post
by klinux » 2018/03/22 15:40:30
Hi Trevor,
The RPMs I downloaded from:
http://mirror.centos.org/centos/6/os/x86_64/Packages/
Code: Select all
[root@server01]# cd /temp/centos
[root@server01 centos]# ls -la
total 1184
drwxr-xr-x. 2 root root 4096 Mar 22 09:13 .
drwxr-xr-x. 3 root root 4096 Mar 22 09:06 ..
-rw-r--r--. 1 root root 93552 Oct 24 2014 centos-indexhtml-6-2.el6.centos.noarch.rpm
-rw-r--r--. 1 root root 22064 Mar 28 2017 centos-release-6-9.el6.12.3.x86_64.rpm
-rw-r--r--. 1 root root 1706 Nov 27 2013 RPM-GPG-KEY-CentOS-6
-rw-r--r--. 1 root root 1042364 Mar 23 2017 yum-3.2.29-81.el6.centos.noarch.rpm
-rw-r--r--. 1 root root 33524 Mar 23 2017 yum-plugin-fastestmirror-1.1.30-40.el6.noarch.rpm
I did "yum clean all" then reinstalled the rpms without
centos-indexhtml-6-2.el6.centos.noarch.rpm and its updating now.
thanks you
-
TrevorH
- Site Admin
- Posts: 33216
- Joined: 2009/09/24 10:40:56
- Location: Brighton, UK
Post
by TrevorH » 2018/03/22 16:51:48
Rather than following an unknown page on the internet, I'd be using the one on the CentOS wiki -
https://wiki.centos.org/HowTos/MigrationGuide - though even that should be treated with caution and you get to keep all the pieces if it breaks!