[Spacewalk-list] centos update and broken yum

Vipul Sharma (GDC) sharma.vipul at in.g4s.com
Fri Jul 7 15:53:25 UTC 2017


Please try --

yum clean packages

yum clean metadata
yum clean dbcache
yum clean all

Then try --

yum update enablerepo=Centos-Base -y



On Fri, Jul 7, 2017 at 8:30 PM, Robin Beardsley <RBeardsley at nedelta.com>
wrote:

> I was trying to do an update on one of our Centos 7 servers and something
>
> went horribly wrong.  I scheduled just one package to update (I was
>
> testing how updating through the web interface was going to work).
>
> There were more than 500 package updates available, but I only wanted
>
> to update just the one.
>
>
>
> I saw the job pending under the Schedule tab and then noticed that it was
> going
>
> to update all the packages.  I cancelled the job but it looks like it had
>
> already started updating.  Now it looks like I have many duplicate
> packages and I
>
> get errors when running yum update.
>
>
>
> I tried to do a yum history undo 147  but that doesn't work.  I get more
> errors
>
> Below is just a partial listing of the errors from yum update.
>
> Any ideas on how to clean up this mess would be greatly appreciated
>
>
>
>
>
> --> Processing Dependency: libutil_reg.so()(64bit) for package:
> samba-common-4.1.12-23.el7_1.x86_64
>
> --> Processing Dependency: libutil_reg.so(SAMBA_4.1.12)(64bit) for
> package: samba-common-4.1.12-23.el7_1.x86_64
>
> --> Processing Dependency: libutil_tdb.so()(64bit) for package:
> samba-common-4.1.12-23.el7_1.x86_64
>
> --> Processing Dependency: libutil_tdb.so(SAMBA_4.1.12)(64bit) for
> package: samba-common-4.1.12-23.el7_1.x86_64
>
> --> Processing Conflict: avahi-glib-0.6.31-14.el7.x86_64 conflicts avahi
> > 0.6.31-14.el7
>
> --> Processing Conflict: avahi-gobject-0.6.31-14.el7.x86_64 conflicts
> avahi > 0.6.31-14.el7
>
> --> Processing Conflict: kernel-3.10.0-514.26.2.el7.x86_64 conflicts kmod
> < 20-9
>
> --> Processing Conflict: libX11-1.6.3-3.el7.x86_64 conflicts libxcb <
> 1.11-4
>
> --> Processing Conflict: firewalld-0.4.3.2-8.1.el7_3.3.noarch conflicts
> NetworkManager < 1:1.4.0-3.el7
>
> --> Processing Conflict: firewalld-0.4.3.2-8.1.el7_3.3.noarch conflicts
> selinux-policy < 3.13.1-89
>
> --> Finished Dependency Resolution
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libutil_cmdline.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libutil_cmdline.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libcli_spoolss.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libcli_spoolss.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: liberrors.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                liberrors.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libcliauth.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libcliauth.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libdbwrap.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libdbwrap.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libsmbd_base.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libsmbd_base.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libcliauth.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libcliauth.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: libsmbclient-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libsmbregistry.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libsmbregistry.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libads.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libads.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libsecrets3.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libsecrets3.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: liblibcli_lsa3.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                liblibcli_lsa3.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libauth.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libauth.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libreplace.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libreplace.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: libsmbclient-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libsamba-security.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libsamba-security.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libkrb5samba.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libkrb5samba.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libserver-role.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libserver-role.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: libsmbclient-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libgse.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libgse.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libgse.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libgse.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libaddns.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libaddns.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libdcerpc-samba.so(SAMBA_4.1.12)(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libdcerpc-samba.so(SAMBA_4.1.12)(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>               ~libdcerpc-samba4.so(SAMBA_4.4.4)(64bit)
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: liblibsmb.so()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                liblibsmb.so()(64bit)
>
>            Updated By: samba-libs-4.4.4-14.el7_3.x86_64 (centos7x86_64)
>
>                Not found
>
> Error: Package: samba-common-4.1.12-23.el7_1.x86_64 (@updates)
>
>            Requires: libpdb.so.0()(64bit)
>
>            Removing: samba-libs-4.1.12-23.el7_1.x86_64 (@updates)
>
>                libpdb.so.0()(64bit)
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

-- 

Please consider the environment before printing this email.
*********************************************************************
This communication may contain information which is confidential, personal 
and/or privileged. It is for the exclusive use of the intended recipient(s).
If you are not the intended recipient(s), please note that any 
distribution, forwarding, copying or use of this communication or the 
information in it is strictly prohibited. If you have received it in error 
please contact the sender immediately by return e-mail. Please then delete 
the e-mail and any copies of it and do not use or disclose its contents to 
any person.
Any personal views expressed in this e-mail are those of the individual 
sender and the company does not endorse or accept responsibility for them. 
Prior to taking any action based upon this e-mail message, you should seek 
appropriate confirmation of its authenticity.
This message has been checked for viruses on behalf of the company.
*********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170707/a14c220c/attachment.htm>


More information about the Spacewalk-list mailing list