Page 1 of 1

(SOLVED) yum-complete-transaction --cleanup-only & duplicate

Posted: 2020/11/18 05:58:35
by kdpatil
Hi
I did "yum update " , with my internal yum repo .. & it was stuck at below, so i did ctrl + C :(


#######################################
Cleanup : nss-softokn-freebl-3.28.3-8.el7_4 1041/1874
Cleanup : glibc-2.17-196.el7 1042/1874
Cleanup : abrt-console-notification-2.1.11-48.el7.centos.x86_64 1043/1874
Cleanup : abrt-cli-2.1.11-48.el7.centos.x86_64 1044/1874
Cleanup : abrt-addon-vmcore-2.1.11-48.el7.centos.x86_64 1045/1874

#######################################

post that i did yum clean all & tried again ... now i see errors only for repo --- xxxxxxx-updates
#######################################

--> Finished Dependency Resolution
Error: Package: xorg-x11-drv-v4l-0.2.0-47.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: xorg-x11-drv-dummy-0.3.7-1.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: 1:xorg-x11-drv-nouveau-1.0.13-3.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: xorg-x11-drv-vmware-13.2.1-1.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: xorg-x11-drv-intel-2.99.917-26.20160929.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: xorg-x11-drv-vesa-2.3.2-25.1.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: xorg-x11-drv-fbdev-0.4.3-25.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
Error: Package: xorg-x11-drv-qxl-0.1.5-3.el7.x86_64 (@base)
Requires: xserver-abi(videodrv-23) >= 0
Removing: xorg-x11-server-Xorg-1.19.3-11.el7.x86_64 (@base)
xserver-abi(videodrv-23) = 0
Updated By: xorg-x11-server-Xorg-1.20.4-12.el7_9.x86_64 (xxxxx-updates)
~xserver-abi(videodrv-24) = 0
You could try using --skip-broken to work around the problem
** Found 782 pre-existing rpmdb problem(s), 'yum check' output follows:

and also
#######################################
** Found 782 pre-existing rpmdb problem(s), 'yum check' output follows:
GeoIP-1.5.0-14.el7.x86_64 is a duplicate with GeoIP-1.5.0-11.el7.x86_64
ModemManager-1.6.10-4.el7.x86_64 is a duplicate with ModemManager-1.6.0-2.el7.x86_64
..

#######################################

did
yum-complete-transaction
gave error of duplicate ...

#######################################

did
yum-complete-transaction –cleanup-only

#######################################


i am little worried to reboot the box now.

Anyone has seen such issues & how to fix this without breaking stuff. Will it be safe to reboot ?

Thanks

Re: yum-complete-transaction --cleanup-only & duplicate

Posted: 2020/11/18 06:30:28
by TrevorH
Next time it happens, don't kill yum, switch to another session and run `ps fax` and see what yum is running that is stuck. If all else fails then killing that process will not kill yum and it will finish, even if with errors.

https://wiki.centos.org/HowTos/Cleaning ... tePackages

Re: yum-complete-transaction --cleanup-only & duplicate

Posted: 2020/11/19 02:46:58
by kdpatil
TrevorH wrote:
2020/11/18 06:30:28
Next time it happens, don't kill yum, switch to another session and run `ps fax` and see what yum is running that is stuck. If all else fails then killing that process will not kill yum and it will finish, even if with errors.

https://wiki.centos.org/HowTos/Cleaning ... tePackages


Thank You !