Remco Barendse
2005-Oct-21 07:35 UTC
[CentOS] Yum update crashed, now I have lots of missing deps
During yum update my box crashed (I frequently have this on Centos 4 x86_64 boxes) ---> Package kdebase.x86_64 6:3.3.1-5.8 set to be updated --> Running transaction check --> Processing Dependency: system-config-printer = 0.6.116-1.centos4.1 for package: system-config-printer-gui --> Processing Dependency: glibc-devel = 2.3.4-2.9 for package: nptl-devel --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-objc --> Processing Dependency: openssh = 3.9p1-8.RHEL4.4 for package: openssh-clients --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-gnat --> Processing Dependency: gcc4 = 4.0.0-0.14.EL4 for package: libmudflap-devel --> Processing Dependency: kdebase = 6:3.3.1-5.5 for package: kdebase-devel --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-g77 --> Processing Dependency: openoffice.org = 1.1.2-24.6.0.EL4 for package: openoffice.org-i18n --> Processing Dependency: gcc4 = 4.0.0-0.14.EL4 for package: gcc4-c++ --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-c++ --> Processing Dependency: gcc4 = 4.0.0-0.14.EL4 for package: gcc4-gfortran --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-java --> Processing Conflict: initscripts conflicts diskdumputils < 1.1.0 --> Finished Dependency Resolution Error: Missing Dependency: system-config-printer = 0.6.116-1.centos4.1 is needed by package system-config-printer-gui Error: Missing Dependency: glibc-devel = 2.3.4-2.9 is needed by package nptl-devel Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-objc Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.4 is needed by package openssh-clients Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-gnat Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package libmudflap-devel Error: Missing Dependency: kdebase = 6:3.3.1-5.5 is needed by package kdebase-devel Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-g77 Error: Missing Dependency: openoffice.org = 1.1.2-24.6.0.EL4 is needed by package openoffice.org-i18n Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package gcc4-c++ Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-c++ Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package gcc4-gfortran Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-java Error: initscripts conflicts with diskdumputils < 1.1.0 I already tried rpm --rebuilddb Anyone have an idea how to fix this or how to reverse the update? Thanks a 1,000,000 :)
Remco Barendse
2005-Oct-21 09:03 UTC
[CentOS] Yum update crashed, now I have lots of missing deps
Grrrrrr, I solved the problem below, it turned out that there were all sirts of packages installed twice now (new and old version or even same version no.) Now I am re-runing yum update and again crash: Finished Transaction Test Transaction Test Succeeded Running Transaction Updating: gcc 100 % done 1/194 Updating: apr-util-devel 100 % done 2/194 Updating: gcc4 100 % done 3/194 Updating: xorg-x11-devel 100 % done 4/194 Updating: gcc-c++ 100 % done 5/194 Updating: gcc4-c++ 100 % done 6/194 Updating: libmudflap-devel 100 % done 7/194 Updating: gcc4-gfortran 100 % done 8/194 Updating: subversion-devel 100 % done 9/194 Updating: httpd-devel 100 % done 10/194 Updating: kernel-doc 100 % done 11/194 Updating: gcc-objc 100 % done 12/194 Updating: gcc-gnat 100 % done 13/194 Updating: gcc-java 100 % done 14/194 Updating: gcc-g77 100 % done 15/194 Updating: xorg-x11-Xnest 100 % done 16/194 Updating: gdm 100 % done 17/194 Updating: xorg-x11-Mesa-libGLU 100 % done 18/194 Updating: anaconda 100 % done 19/194 Updating: evolution-connector 100 % done 20/194 Updating: mysql-server 100 % done 21/194 Updating: iiimf-gtk 100 % done 22/194 Updating: pam-devel 100 % done 23/194 Updating: pdksh 100 % done 24/194 Updating: iiimf-le-canna 100 % done 25/194 Updating: xorg-x11-deprecated-libs 100 % done 26/194 Updating: iiimf-gtk 100 % done 27/194 Updating: libwnck 100 % done 28/194 Updating: createrepo 100 % done 29/194 Updating: urw-fonts 100 % done 30/194 Updating: gtk2-engines 100 % done 31/194 Updating: nss_ldap 100 % done 32/194 Updating: irb 100 % done 33/194 Updating: xorg-x11-Xvfb 100 % done 34/194 Updating: gnome-desktop-devel 100 % done 35/194 Updating: ruby-tcltk 100 % done 36/194 Updating: zsh 100 % done 37/194 Updating: evolution-webcal 100 % done 38/194 Updating: anaconda-runtime 100 % done 39/194 Updating: system-config-printer-gui 100 % done 40/194 Updating: kernel-smp-devel 100 % done 41/194 Updating: autofs 100 % done 42/194 Updating: iiimf-le-sun-thai 100 % done 43/194 Updating: gnome-terminal 100 % done 44/194 Updating: slocate 100 % done 45/194 Updating: up2date-gnome 100 % done 46/194 Updating: dbus-x11 100 % done 47/194 Updating: samba-client 100 % done 48/194 Updating: nss_ldap 100 % done 49/194 Installing: kernel-devel 28 % done 50/194 and then nothing........ Why is this *&^@*&^$(&*^!!! update not behaving but crashing the box? I never see these problems on my x86 boxes?? On Fri, 21 Oct 2005, Remco Barendse wrote:> During yum update my box crashed (I frequently have this on Centos 4 x86_64 > boxes) > > ---> Package kdebase.x86_64 6:3.3.1-5.8 set to be updated > --> Running transaction check > --> Processing Dependency: system-config-printer = 0.6.116-1.centos4.1 for > package: system-config-printer-gui > --> Processing Dependency: glibc-devel = 2.3.4-2.9 for package: nptl-devel > --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-objc > --> Processing Dependency: openssh = 3.9p1-8.RHEL4.4 for package: > openssh-clients > --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-gnat > --> Processing Dependency: gcc4 = 4.0.0-0.14.EL4 for package: > libmudflap-devel > --> Processing Dependency: kdebase = 6:3.3.1-5.5 for package: kdebase-devel > --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-g77 > --> Processing Dependency: openoffice.org = 1.1.2-24.6.0.EL4 for package: > openoffice.org-i18n > --> Processing Dependency: gcc4 = 4.0.0-0.14.EL4 for package: gcc4-c++ > --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-c++ > --> Processing Dependency: gcc4 = 4.0.0-0.14.EL4 for package: gcc4-gfortran > --> Processing Dependency: gcc = 3.4.3-22.1 for package: gcc-java > --> Processing Conflict: initscripts conflicts diskdumputils < 1.1.0 > --> Finished Dependency Resolution > Error: Missing Dependency: system-config-printer = 0.6.116-1.centos4.1 is > needed by package system-config-printer-gui > Error: Missing Dependency: glibc-devel = 2.3.4-2.9 is needed by package > nptl-devel > Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-objc > Error: Missing Dependency: openssh = 3.9p1-8.RHEL4.4 is needed by package > openssh-clients > Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-gnat > Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package > libmudflap-devel > Error: Missing Dependency: kdebase = 6:3.3.1-5.5 is needed by package > kdebase-devel > Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-g77 > Error: Missing Dependency: openoffice.org = 1.1.2-24.6.0.EL4 is needed by > package openoffice.org-i18n > Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package > gcc4-c++ > Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-c++ > Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package > gcc4-gfortran > Error: Missing Dependency: gcc = 3.4.3-22.1 is needed by package gcc-java > Error: initscripts conflicts with diskdumputils < 1.1.0 > > > I already tried rpm --rebuilddb > > Anyone have an idea how to fix this or how to reverse the update? > > Thanks a 1,000,000 :) > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >
Karanbir Singh
2005-Oct-21 09:42 UTC
[CentOS] Yum update crashed, now I have lots of missing deps
Remco Barendse wrote:> Error: Missing Dependency: gcc4 = 4.0.0-0.14.EL4 is needed by package > libmudflap-devel > Error: Missing Dependency: kdebase = 6:3.3.1-5.5 is needed by package( this issue along with the 'existance of more than 1 instance of the same pkg name' has been discussed previously a few times, look through the recent archieves for the relevant .rpmmacros etc ) firstly, check what mirror you are using in /etc/yum.repos.d/CentOS-Base.repo - make sure that is responsivle ( and local to you - check http://www.centos.org/mirrors for a list of mirrors ) Then remove all files from the /var/lib/rpm/ directory except the Packages file, and run rpm -v --rebuilddb yum clean all yum update yum yum update kernel* audit* reboot yum -y update Let us know how you get along. - K PS: is it just me or are lots of people on the list TopPosting :( -- Karanbir Singh : http://www.karan.org/ : 2522219 at icq
Reasonably Related Threads
- corrupt rpm problem
- ocfs2 can not mount for nodes. first time installation
- CESA-2005:xxx None CentOS 4 ia64 U1 - all of updated packages
- CentOS-announce Digest, Vol 4, Issue 5
- Missing Dependency problem while upgraing a pure (?) whitebox 4 install to Centos 4.2