www.centos.org Forum Index CentOS 6 - General Support Centos 6.0 upgrade to 6.2 broken?
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread |
|---|
|
Re: Centos 6.0 upgrade to 6.2 broken? | #2 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2009/9/24
From Brighton, UK
Posts: 6370
|
Did you try `yum-complete-transaction` yet? Part of the yum-utils package.
|
||
|
_________________
Linux/VoIP Systems Administrator |
|||
Posted on: 2012/2/25 23:57
|
|||
|
Re: Centos 6.0 upgrade to 6.2 broken? | #3 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2009/10/19
From
Posts: 23
|
Sure, I did that already and it says:
No unfinished transactions left. The server says 6.2 as well and I donīt see anything wrong with it, but im sure it's not completely updated as running yum lists like 400 duplicated packages after the error (which probably are installed already) but before the error mentioned it lists packages with "will be updated" It seems yum is not robust enough to resume the update even when no connectivity was lost at all, this was not a power failure, a system reboot, nothing but I just lost SSH connection for 2 seconds. I dont remember this happening ever with prior Centos 6 version, not in 4, neither in 5, they always resumed the update or started from scratch. Sadly with Centos 6 so far I see nothing but problems, to the point I will skip it completely for most servers running 5 and wait for version 7. Maybe its me but 6 is not a lucky number, also the GUI there are allot of tools missing in version 6. Now this failed update...well Im just with very bad luck with this new release. |
||
Posted on: 2012/2/26 2:49
|
|||
|
Re: Centos 6.0 upgrade to 6.2 broken? | #4 |
|
|---|---|---|---|
|
Moderator
![]()
Joined: 2006/12/13
From Tidewater, Virginia, North America
Posts: 18773
|
To fix that, please download the rpmdup_remover.sh script, chmod 755 rpmdup_remover.sh and then, as root, execute it. Note that it runs in test mode by default.
Now do: It is important that the yum update be done immediately after the script has been run in notest mode. |
||
|
_________________
Phil Recommended reading: FAQ & Readme first ; Search hint: google "your topic site:centos.org"; Smart Questions |
|||
Posted on: 2012/2/26 22:10
|
|||
|
Re: Centos 6.0 upgrade to 6.2 broken? | #5 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2009/10/19
From
Posts: 23
|
Quote:
Thanks but I think that did more harm then good. Instead of the duplicate packages I think it completely broke the systems as now it shows udisks-1.0.1-2.el6.x86_64 has missing requires of libpthread.so.0()(64bit) udisks-1.0.1-2.el6.x86_64 has missing requires of libpthread.so.0(GLIBC_2.2.5)(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of libc.so.6()(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of libc.so.6(GLIBC_2.2.5)(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of libc.so.6(GLIBC_2.3.4)(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of libc.so.6(GLIBC_2.4)(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of libpthread.so.0()(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of libpthread.so.0(GLIBC_2.2.5)(64bit) unique-1.1.4-2.el6.x86_64 has missing requires of librt.so.1()(64bit) This are just a few ones, the list is long I could not possible paste them here. Everything is missing. Yes. I did run "yum update" inmeditately after the script. So now running yum update will always give the same results when it tries to update. I guess thats it, I have to reinstall the whole server now correct? |
||
Posted on: 2012/2/28 14:59
|
|||
|
Re: Centos 6.0 upgrade to 6.2 broken? | #6 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2009/10/19
From
Posts: 23
|
I noticed that most where complaining about "glibc" so I installed manually and it installed it with 12 other packages.
Now yum is more or less in the same error we where before, except with allot of missing dependencies. In particulart it starts with errors here: -> Running transaction check ---> Package abrt.x86_64 0:1.1.13-4.el6 will be updated --> Processing Dependency: abrt = 1.1.13-4.el6 for package: abrt-plugin-logger-1.1.13-4.el6.x86_64 --> Processing Dependency: abrt = 1.1.13-4.el6 for package: abrt-plugin-rhtsupport-1.1.13-4.el6.x86_64 ---> Package libgcc.x86_64 0:4.4.6-3.el6 will be installed --> Finished Dependency Resolution Error: Package: abrt-plugin-rhtsupport-1.1.13-4.el6.x86_64 (@anaconda-CentOS-201106060106.x86_64/6.0) Requires: abrt = 1.1.13-4.el6 Removing: abrt-1.1.13-4.el6.x86_64 (@anaconda-CentOS-201106060106.x86_64/6.0) abrt = 1.1.13-4.el6 Updated By: abrt-2.0.4-14.el6.centos.x86_64 (base) abrt = 2.0.4-14.el6.centos Error: Package: abrt-plugin-logger-1.1.13-4.el6.x86_64 (@anaconda-CentOS-201106060106.x86_64/6.0) Requires: abrt = 1.1.13-4.el6 Removing: abrt-1.1.13-4.el6.x86_64 (@anaconda-CentOS-201106060106.x86_64/6.0) abrt = 1.1.13-4.el6 Updated By: abrt-2.0.4-14.el6.centos.x86_64 (base) abrt = 2.0.4-14.el6.centos You could try using --skip-broken to work around the problem ** Found 168 pre-existing rpmdb problem(s), 'yum check' output follows: abrt-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1()(64bit) abrt-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1(GCC_3.0)(64bit) abrt-addon-ccpp-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1()(64bit) abrt-addon-ccpp-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1(GCC_3.0)(64bit) abrt-addon-kerneloops-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1()(64bit) abrt-addon-kerneloops-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1(GCC_3.0)(64bit) abrt-addon-python-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1()(64bit) Now before the script they where problems with duplicates. Now they are with missing. But the rpmdb problems are still here as far as I can see. And when I try to install also the missing libgcc I get: [root@altair download]# yun install libgcc.x86_64 -bash: yun: command not found [root@altair download]# yum install libgcc.x86_64 Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: mirror.ubiquityservers.com * extras: mirror.raystedman.net * updates: dist1.800hosting.com Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package libgcc.x86_64 0:4.4.6-3.el6 will be installed --> Finished Dependency Resolution Error: Protected multilib versions: libgcc-4.4.6-3.el6.x86_64 != libgcc-4.4.4-13.el6.i686 You could try using --skip-broken to work around the problem ** Found 168 pre-existing rpmdb problem(s), 'yum check' output follows: abrt-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1()(64bit) abrt-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1(GCC_3.0)(64bit) abrt-addon-ccpp-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1()(64bit) abrt-addon-ccpp-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.so.1(GCC_3.0)(64bit) abrt-addon-kerneloops-1.1.13-4.el6.x86_64 has missing requires of libgcc_s.s ......continues. Of course --skip-broken will have 0 effect either. If you ask me personally, an update should be reverted inmediatelly when something goes wrong or stop. Losing SSH connection is not something critical and can happen to anyone. Updating shoud be more robust, specially when we are talking this is supposed to be a new and more advanced version compared to 5x. Sure most people donīt upgrade via a SSH console, but my guess is that with CentOS the case is allot of them do, as CentOS just like Red Hat is a datacenter OS so its used mostly and servers and said this its updated mostly remotely. I think I should be aware of this and next time update via the KVM or direct console vs trying it via a SSH connection again. I never imagined that closing the session would cause such troubles. |
||
Posted on: 2012/2/28 15:08
|
|||
|
Re: Centos 6.0 upgrade to 6.2 broken? | #7 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2005/8/5
From Northern Illinois, USA
Posts: 6184
|
When updating via ssh, use screen or tmux.
|
||
Posted on: 2012/2/28 15:23
|
|||
|
Re: Centos 6.0 upgrade to 6.2 broken? | #8 |
|
|---|---|---|---|
|
Peeking in the Member Window
![]()
Joined: 2009/10/19
From
Posts: 23
|
I think its fixed now.
There where mixed glib i686 packages installed which is wrong. I manually remove them, then reinstalled glib again and other packages, after that it was only complaining about arb packages which I again installed missing dependencies manually. Now running yum update shows no error anymore and it gives me a list of 800+ packages to update. I guess its fixed and I just need to update it now. Is there something I can do to make sure that all packages are indeed Centos 6.2 after it? I donīt use screen since years. I used it for a very long scrip job which had to be executed for 72 hours or so, for indexing a database, it was years ago and I remember losing SSH connection all the time so screen was the only solution. Thats when I learned about it ;) Yes. That would prevent this indeed, but since it never happen to me before I never took that precautions to run it over screen. |
||
Posted on: 2012/2/28 15:44
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
nibb





You cannot start a new topic.
You can view topic.