LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Yum list yields segmentation fault (https://www.linuxquestions.org/questions/linux-software-2/yum-list-yields-segmentation-fault-4175459591/)

brownwrap 04-25-2013 04:11 PM

Yum list yields segmentation fault
 
I am not sure when this problem cropped up, but it has. Doing something as simple as a yum list gives me a segmentation fault on Redhat 6.
Code:

    yum list
Loaded plugins: refresh-packagekit, rhnplugin
This system is receiving updates from RHN Classic or RHN Satellite.
Segmentation fault (core dumped)


brownwrap 04-25-2013 04:57 PM

I did do a little beforehand resesearch
 
Before posting I did do some research. Solutions involved zlib, but that appears to be correct. Here is the tail end of an strace:
Code:

read(5, "\0\0\0\10\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
fcntl(5, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
futex(0x3bb4951b60, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/var/cache/yum/x86_64/6Workstation/rhel-x86_64-workstation-6/primary.xml.gz", {st_mode=S_IFREG|0600, st_size=14175642, ...}) = 0
stat("/var/cache/yum/x86_64/6Workstation/rhel-x86_64-workstation-6/primary.xml.gz", {st_mode=S_IFREG|0600, st_size=14175642, ...}) = 0
stat("/var/cache/yum/x86_64/6Workstation/rhel-x86_64-workstation-6/primary.xml.gz", {st_mode=S_IFREG|0600, st_size=14175642, ...}) = 0
open("/var/cache/yum/x86_64/6Workstation/rhel-x86_64-workstation-6/primary.xml.gz", O_RDONLY) = 6
lseek(6, 0, SEEK_CUR)                  = 0
read(6, "\37\213\10\0\0\0\0\0\0\0\354\275k\223\3336\266.\374]\277\202\345\367\303vj[j\202wN"..., 8192) = 8192
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)


chrism01 04-25-2013 08:20 PM

For something as serious as that and given this is RHEL6, I'd phone RH.
I assume this system is registered with RH, otherwise you'd be wasting your time with yum.

John VV 04-25-2013 10:37 PM

can you look at the last things installed with yum
in the log
/var/loc/yum.log

at the bottom is the last things , it is sorted by date

or

did you install something bypassing yum using "rpm"
or
build something from source


All times are GMT -5. The time now is 06:23 PM.