Re: Yum segmentation fault updating from 5.6 to 5.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 15 Sep 2011 05:57:02 -0700, Craig White wrote:
> sounds like someone did some manual mucking in /etc/yum.repos.d
>
> You probably want to start disabling some of the configured repo's
> in /etc/yum.repos.d... 'enabled = 0' - I'd probably start by making 
> sure
> that all non-CentOS repo's were disabled though it does seem like you
> don't get very far through the repo list.
>
> At the point where you stop getting the segfault, you will be able to
> identify which repo has a configuration issue.

That was a very good idea, I have tried it:

- if I disable all repositories I get no errors but no updates (which 
is normal)
- if I enable [base] only I get the segmentation fault
- if I enable [updates] only I get the following output, which confirms 
that yum at least partially works: the missing package is in the [base] 
repository, which is the one that gives the error

[root@picard yum.repos.d]# yum update
Loaded plugins: downloadonly, fastestmirror, priorities
Determining fastest mirrors
  * updates: mirror.opendoc.net
updates                                                                 
                                        | 1.9 kB     00:00
updates/primary_db                                                      
                                        | 134 kB     00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package curl.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package curl-devel.i386 0:7.15.5-9.el5_7.4 set to be updated
---> Package dbus.i386 0:1.1.2-16.el5_7 set to be updated
---> Package dbus-libs.i386 0:1.1.2-16.el5_7 set to be updated
---> Package device-mapper-multipath.i386 0:0.4.7-46.el5_7.1 set to be 
updated
---> Package dhclient.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package dhcp.i386 12:3.0.5-29.el5_7.1 set to be updated
---> Package kernel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-devel.i686 0:2.6.18-274.3.1.el5 set to be installed
---> Package kernel-headers.i386 0:2.6.18-274.3.1.el5 set to be updated
---> Package kpartx.i386 0:0.4.7-46.el5_7.1 set to be updated
---> Package libXfont.i386 0:1.2.2-1.0.4.el5_7 set to be updated
---> Package libpng.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package libpng-devel.i386 2:1.2.10-7.1.el5_7.5 set to be updated
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
--> Processing Dependency: device-mapper >= 1.02.63-2 for package: lvm2
---> Package nspr.i386 0:4.8.8-1.el5_7 set to be updated
---> Package nss.i386 0:3.12.10-4.el5.centos set to be updated
---> Package openssh.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-clients.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package openssh-server.i386 0:4.3p2-72.el5_7.5 set to be updated
---> Package rsync.i386 0:3.0.6-4.el5_7.1 set to be updated
---> Package tzdata.i386 0:2011h-2.el5 set to be updated
--> Finished Dependency Resolution
lvm2-2.02.84-6.el5_7.1.i386 from updates has depsolving problems
   --> Missing Dependency: device-mapper >= 1.02.63-2 is needed by 
package lvm2-2.02.84-6.el5_7.1.i386 (updates)
--> Running transaction check
---> Package kernel.i686 0:2.6.18-194.32.1.el5 set to be erased
---> Package kernel-devel.i686 0:2.6.18-194.32.1.el5 set to be erased
---> Package lvm2.i386 0:2.02.84-6.el5_7.1 set to be updated
--> Processing Dependency: device-mapper >= 1.02.63-2 for package: lvm2
--> Finished Dependency Resolution
lvm2-2.02.84-6.el5_7.1.i386 from updates has depsolving problems
   --> Missing Dependency: device-mapper >= 1.02.63-2 is needed by 
package lvm2-2.02.84-6.el5_7.1.i386 (updates)
Error: Missing Dependency: device-mapper >= 1.02.63-2 is needed by 
package lvm2-2.02.84-6.el5_7.1.i386 (updates)
  You could try using --skip-broken to work around the problem
  You could try running: package-cleanup --problems
                         package-cleanup --dupes
                         rpm -Va --nofiles --nodigest

I'm gonna try to download and install the missing package manually, 
then try the yum update again.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux