Re: F15 perl-libs 5.12.4-160 problem (/usr/local)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux