On Friday 04 May 2001 08:18 pm, John Aldrich wrote:
>
> Ahh..did you see the output of the strace I posted earlier?
> John
I did, and it looks to me like it is checking the file size just before it
dies. I'd guess that the file size doesn't match, and RPM bails, assuming the
file is corrupt. Keep in mind, that like you, I've been using Linux for only
2 years or so. I figure I learn something new about every 30 seconds. :)
Here's the relevant portion of your strace, followed by one I ran using a
command line for just installing the src.rpm
Your strace:
fstat64(3, {st_mode=S_IFREG|0664, st_size=730600, ...}) = 0
gettimeofday({989010283, 944084}, NULL) = 0
close(3) = 0
gettimeofday({989010283, 944441}, NULL) = 0
gettimeofday({989010283, 944738}, NULL) = 0
gettimeofday({989010283, 944920}, NULL) = 0
write(1, "Installing everybuddy-0.2.1beta3-1.src.rpm\n", 43Installing
everybuddy-0.2.1beta3-1.src.rpm
) = 43
munmap(0x40028000, 4096) = 0
_exit(2) = ?
And mine:
# strace -s 300 -F rpm -ivvh everybuddy-0.2.1beta3-1.src.rpm
fstat64(3, {st_mode=S_IFREG|0664, st_size=730600, ...}) = 0
brk(0x81c4000) = 0x81c4000
write(2, "error: ", 7error: ) = 7
write(2, "everybuddy-0.2.1beta3-1.src.rpm cannot be installed\n",
52everybuddy-0.2.1beta3-1.src.rpm cannot be installed
) = 52
_exit(1) = ?
-D
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list