F15 perl-libs 5.12.4-160 problem (/usr/local)
Panu Matilainen
pmatilai at laiskiainen.org
Sun Aug 21 23:34:04 UTC 2011
On 08/21/2011 06:15 PM, Mark Hittinger wrote:
>
> Hey guys
>
> Running Transaction
> Updating : 4:perl-libs-5.12.4-160.fc15.i686 1/4
> Error unpacking rpm package 4:perl-libs-5.12.4-160.fc15.i686
> error: unpacking of archive failed on file /usr/local/lib/perl5: cpio: mkdir
> Updating : 4:perl-5.12.4-160.fc15.i686 2/4
> Error unpacking rpm package 4:perl-5.12.4-160.fc15.i686
> error: perl-libs-4:5.12.4-160.fc15.i686: install failed
> error: unpacking of archive failed on file /usr/local/share/perl5: cpio: mkdir
> 4:perl-5.12.4-159.fc15.i686 was supposed to be removed but is not!
> 4:perl-libs-5.12.4-159.fc15.i686 was supposed to be removed but is not!
>
> perl-lib attempts to extract something into /usr/local
>
> this is probably the wrong spot for it
>
> some systems will have /usr/local nfs mounted read only so the perl install
> will complain.
You'll want to tell rpm about read-only NFS-mounts, eg:
# echo "%_netsharedpath /usr/local" > /etc/rpm/macros.nfs
That works with pretty much every ancient rpm version. Alternatively,
rpm >= 4.9.1 currently in F15 updates-testing should deal with this kind
of situation transparently unless you've changed the permissions on the
affected directories.
- Panu -
More information about the users
mailing list