Opened 9 years ago

Closed 9 years ago

#95 closed defect (invalid)

Can't install Perl

Reported by: David McKenna Owned by:
Priority: major Milestone:
Component: *none Version:
Severity: medium Keywords:
Cc:

Description

Tried to install Perl (yum install perl) with both the ANPM and command line, but get this message:

Error unpacking rpm package perl-5.16.1-1.oc00.pentium4
error: unpacking of archive failed: cpio: Bad magic

Change History (11)

comment:1 by dmik, 9 years ago

Smells like a mixture of libc DLLs to me. Please check that there is only libc066 and its forwarders, nothing more.

comment:2 by David McKenna, 9 years ago

Result of dir libc0* /s:

The volume label in drive C is eCS.
The Volume Serial Number is 7C9A:990C.

Directory of C:\ecs\dll

4-14-04 4:37p 356,330 219 a--- libc05.dll

1 file(s) 356,330 bytes used

Directory of C:\OS2\DLL

2-01-05 10:21a 562,710 219 a--- libc06b4.dll

1 file(s) 562,710 bytes used

Directory of C:\usr\lib

10-26-14 3:17p 48,179 339 a--- libc06.dll
10-26-14 3:17p 48,179 124 a--- libc061.dll
10-26-14 3:17p 157,161 339 a--- libc062.dll
10-26-14 3:17p 157,161 124 a--- libc063.dll
10-26-14 3:17p 157,213 124 a--- libc064.dll
10-26-14 3:17p 157,213 124 a--- libc065.dll
10-26-14 3:16p 1,361,666 124 a--- libc066.dll

7 file(s) 2,086,772 bytes used

Total files listed:

9 file(s) 3,005,812 bytes used

25,771,159 K bytes free

comment:3 by dmik, 9 years ago

Looks correct. Ok, are you sure the package is not corrupted? You can cause yum to redownload by deleting all downloaded packages and clear caches with yum clean all and then trying to install perl again.

comment:4 by David McKenna, 9 years ago

Tried yum clean all, then yum install perl and get the exact same error as listed above...

Error unpacking rpm package perl-5.16.1-1.oc00.pentium4
error: unpacking of archive failed: cpio: Bad magic

Failed:
perl.pentium4 0:5.16.1-1.oc00

Zippy has no problem extracting the package.

comment:5 by Yuri Dario, 9 years ago

Check that X:/usr/lib is first in your LIBPATH. You have some outdated dll (e.g. mostly happens with stdcpp.dll) that comes before in path.

comment:6 by Yuri Dario, 9 years ago

Or you have some broken package from experimental repository. Be sure to update all packages.

comment:7 by David McKenna, 9 years ago

It was RPM. I downgraded the 4.13 version to the latest 4.8.1 and now Perl installs. Strange, Perl was the only thing I had any trouble installing. All other packages were current. Thanks for the insight.

comment:8 by Yuri Dario, 9 years ago

Resolution: fixed
Status: newclosed

initial rpm 4.13 builds were broken. Could you upgrade rpm again?

comment:9 by Yuri Dario, 9 years ago

ok, fails here too ...

comment:10 by Yuri Dario, 9 years ago

Resolution: fixed
Status: closedreopened

comment:11 by Yuri Dario, 9 years ago

Resolution: invalid
Status: reopenedclosed

Since the rpm package is not corrupted, this is a RPM bug, not a perl bug. Moving to

http://trac.netlabs.org/rpm/ticket/172

Note: See TracTickets for help on using tickets.