FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 08-21-2011, 03:40 PM
Joe Zeff
 
Default F15 perl-libs 5.12.4-160 problem (/usr/local)

On 08/21/2011 08:15 AM, Mark Hittinger wrote:
> some systems will have /usr/local nfs mounted read only so the perl install
> will complain.

Why would anybody want to mount /usr/local read only?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-21-2011, 09:19 PM
Alan Cox
 
Default F15 perl-libs 5.12.4-160 problem (/usr/local)

On Sun, 21 Aug 2011 08:40:26 -0700
Joe Zeff <joe@zeff.us> wrote:

> On 08/21/2011 08:15 AM, Mark Hittinger wrote:
> > some systems will have /usr/local nfs mounted read only so the perl install
> > will complain.
>
> Why would anybody want to mount /usr/local read only?

NFS and for security. It's a standard way to configure NFS and explicitly
permitted by the FHS.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 08-21-2011, 11:34 PM
Panu Matilainen
 
Default F15 perl-libs 5.12.4-160 problem (/usr/local)

On 08/21/2011 06:15 PM, Mark Hittinger wrote:
>
> Hey guys
>
> Running Transaction
> Updating : 4erl-libs-5.12.4-160.fc15.i686 1/4
> Error unpacking rpm package 4erl-libs-5.12.4-160.fc15.i686
> error: unpacking of archive failed on file /usr/local/lib/perl5: cpio: mkdir
> Updating : 4erl-5.12.4-160.fc15.i686 2/4
> Error unpacking rpm package 4erl-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
> 4erl-5.12.4-159.fc15.i686 was supposed to be removed but is not!
> 4erl-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@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 01:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org