View previous topic :: View next topic |
Author |
Message |
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Fri Feb 20, 2004 12:45 am Post subject: a warning |
|
|
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 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 |
|
|
shakti Guru
Joined: 15 May 2002 Posts: 358 Location: omnipresent
|
Posted: Fri Feb 20, 2004 2:08 am Post subject: |
|
|
using an older (47) portage rescue tar ball solved my problem _________________ Using Gentoo since 2002. |
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Mon Mar 01, 2004 8:50 pm Post subject: |
|
|
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 |
|
|
Ymerej n00b
Joined: 17 Oct 2002 Posts: 10
|
|
Back to top |
|
|
arkane l33t
Joined: 30 Apr 2002 Posts: 918 Location: Phoenix, AZ
|
Posted: Sat Jun 26, 2004 4:50 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|