Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NFS-sharing /usr/portage?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Fri Feb 20, 2004 12:45 am    Post subject: a warning Reply with quote

i tried to be smart and deleted my /usr/portage after mounting it on /mnt/portage but some links like /etc/make.profile and make.defaults point to files in /usr/portage/profiles... this causes portage to stop working :roll: so i try to fix it with rescue tarball but now get this error when i try to emerge sync...:

Code:
Performing Global Updates: /usr/portage/profiles/updates/4Q-2002
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
  s='/var/db SLOT move' S='binary SLOT move'
............................................................................Traceback (most recent call last):
  File "/usr/bin/emerge", line 14, in ?
    import portage
  File "/usr/lib/portage/pym/portage.py", line 6343, in ?
    do_upgrade(mykey)
  File "/usr/lib/portage/pym/portage.py", line 6263, in do_upgrade
    db["/"]["vartree"].dbapi.move_ent(mysplit)
  File "/usr/lib/portage/pym/portage.py", line 4017, in move_ent
    origmatches=self.match(origcp,use_cache=0)
  File "/usr/lib/portage/pym/portage.py", line 4145, in match
    return match_from_list(mydep,self.cp_list(mykey,use_cache=use_cache))
  File "/usr/lib/portage/pym/portage.py", line 3539, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (kde-base/arts-1.1.0.3) (try adding an '=')"


any ideas on how to go about this one?
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
shakti
Guru
Guru


Joined: 15 May 2002
Posts: 358
Location: omnipresent

PostPosted: Fri Feb 20, 2004 2:08 am    Post subject: Reply with quote

using an older (47) portage rescue tar ball solved my problem
_________________
Using Gentoo since 2002.
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Mon Mar 01, 2004 8:50 pm    Post subject: Reply with quote

Hmmm, all that I did in order to share out my /usr/portage directory was put this into my /etc/exports on the serving machine:
Code:

/usr/portage    *(ro,all_squash)


and put this in the /etc/make.conf on the client machine:
Code:

PORTDIR=/mnt/portage


of course, if something isn't there, the client system will try to snag it from the net, still. It's unavoidable, really, unless you have a custom script to catch a reply, compile something, and toss it back on request. (or compile everything) What I do is if I find that the client's trying to snag something that isn't there, I make it on the server machine. (through distcc it's very fast)
Back to top
View user's profile Send private message
Ymerej
n00b
n00b


Joined: 17 Oct 2002
Posts: 10

PostPosted: Thu Jun 24, 2004 2:12 am    Post subject: Reply with quote

A more elegant solution is to:

1. Have one machine be a local rsync mirror for your LAN: https://forums.gentoo.org/viewtopic.php?t=59134&highlight=rsync

and

2. Also have that machine be a proxy cache for your packages: https://forums.gentoo.org/viewtopic.php?t=173226
_________________
-Gentoo newbie
Back to top
View user's profile Send private message
arkane
l33t
l33t


Joined: 30 Apr 2002
Posts: 918
Location: Phoenix, AZ

PostPosted: Sat Jun 26, 2004 4:50 pm    Post subject: Reply with quote

Ymerej wrote:
A more elegant solution is to:

1. Have one machine be a local rsync mirror for your LAN: https://forums.gentoo.org/viewtopic.php?t=59134&highlight=rsync

and

2. Also have that machine be a proxy cache for your packages: https://forums.gentoo.org/viewtopic.php?t=173226


Great idea for a small lan, but when you get bigger than a few machines you'll want to have more control over what packages are allowed on the machines.

But yes.. that's the best way to go for all-out access.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum