Red Hat Bugzilla – Bug 611486
valgrind.x86_64 1:3.5.0-17.fc13 yum install fails unpacking archive
Last modified: 2010-07-05 09:34:05 EDT
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:220.127.116.11) Gecko/20100622 Fedora/3.6.4-1.fc13 Firefox/3.6.4
Valgrind won't install using yum on my Thinkpad T61. I tried yum install valgrind and it doesn't work. Also note that I tried yum install valgrind.i686 and this doesn;t work for the same error message - although it is the 64 bit version that I need.
tom@localhost ~]$ sudo yum install valgrind
Loaded plugins: presto, refresh-packagekit
Setting up Install Process
--> Running transaction check
---> Package valgrind.x86_64 1:3.5.0-17.fc13 set to be updated
--> Finished Dependency Resolution
Package Arch Version Repository Size
valgrind x86_64 1:3.5.0-17.fc13 fedora 19 M
Install 1 Package(s)
Upgrade 0 Package(s)
Total download size: 19 M
Installed size: 72 M
Is this ok [y/N]: y
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 19 M
valgrind-3.5.0-17.fc13.x86_64.rpm | 19 MB 01:09
Running Transaction Test
Transaction Test Succeeded
Installing : 1:valgrind-3.5.0-17.fc13.x86_64 1/1
Error unpacking rpm package 1:valgrind-3.5.0-17.fc13.x86_64
error: unpacking of archive failed on file /usr/bin/callgrind_annotate;4c31cbc8: cpio: open
Steps to Reproduce:
1. sudo yum install valgrind
Install fails due to cpio error
It should have installed valgrind
Perhaps full disk or some I/O error?
Works just fine here...
(In reply to comment #1)
> Perhaps full disk or some I/O error?
> Works just fine here...
The disk isn't full:
Filesystem 1K-blocks Used Available Use% Mounted on
46283768 40751320 3181344 93% /
tmpfs 1541388 476 1540912 1% /dev/shm
/dev/sda1 495844 46001 424243 10% /boot
44252296 17251320 24753092 42% /home
I decided to try to build the source for valgrind but that doesn't work as the GLIBC version is not supported. Looking through bugzilla it appears we are using a patched version of valgrind in our repo though?
Anyway, do you have further ideas on possible I/O error causes? I have tried this command several times now and consistently get the same error....
Look at dmesg output, audit messages, etc.
You can also strace -f yum (or rpm) to see what error has been given on what syscall.
In any case, this isn't a bug in the rpm itself...
This bug can be closed.
I did dmesg which showed nothing so I then tried strace which I needed to be installed. I then tried to install this and got the same error!
I rebooted the laptop and now can yum install them both.
Strange but true...
Thanks for looking into this for me,