Updating portage
-
- Novice
- Posts: 23
- Joined: Sun Aug 28, 2005 3:04 am
Updating portage
After I run emerge sync it says that there is an update for portage and they recommend I update portage at that moment. How do I update portage? Do I just run emerge sync again?
FlamingGooch said:
Easy, justHow do I update portage?
Code: Select all
emerge portage
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
-
- Novice
- Posts: 23
- Joined: Sun Aug 28, 2005 3:04 am
-
- Novice
- Posts: 23
- Joined: Sun Aug 28, 2005 3:04 am
if i remember right, i think when i ran magic it updated portage. But it was a while ago and I dont remember too well.
But run magic again, say yes to emerge sync and no to xfce,kde,mplayer (or whatever). If it asks question about portage (which i dont think it would) answer yes.
If you get the error again, post what you get. Keep it on this thread so we know the history of your case.
update: do you have enough space.. just wondering
update2: also, the error about econf failed would be the last error, there will be an error before that.. try to find that. (could be a simple error like some file not found or something). Below is a link to a similar problem but dont try anything that you dont understand, ask here before you try it.
sample thread: http://forums.gentoo.org/viewtopic-t-37 ... econf.html
But run magic again, say yes to emerge sync and no to xfce,kde,mplayer (or whatever). If it asks question about portage (which i dont think it would) answer yes.
If you get the error again, post what you get. Keep it on this thread so we know the history of your case.
update: do you have enough space.. just wondering
update2: also, the error about econf failed would be the last error, there will be an error before that.. try to find that. (could be a simple error like some file not found or something). Below is a link to a similar problem but dont try anything that you dont understand, ask here before you try it.
sample thread: http://forums.gentoo.org/viewtopic-t-37 ... econf.html
Box: XBOX ver 1.1
Mod: Xecutor 2.3 lite+
Hdd: WD 80GB
Dash: Evox, Ava, XBMC
Linux: Gentoox Pro 4.2
Mod: Xecutor 2.3 lite+
Hdd: WD 80GB
Dash: Evox, Ava, XBMC
Linux: Gentoox Pro 4.2
-
- Novice
- Posts: 23
- Joined: Sun Aug 28, 2005 3:04 am
-
- Novice
- Posts: 23
- Joined: Sun Aug 28, 2005 3:04 am
Ok a couple of things which may or may not help....
1) If you don't have a keyboard, then perhaps you could try to login via ssh, and work via a console [text based; no GUI].
Or via VNC if setup (won't be on Pro -- can't remember if you said you were using home or not)
Of course this requires some understanding of networking, which I assume you have. Do a search in the forums here for ssh, and 'putty' a PC-based ssh client if this is new to you.
2) Check that your date is set correctly.Use man date to find out how to set it if its not correct. You may also need to set your timezone if you don't live in Britain.
3) "Emerge --sync" updates your portage tree (ebuilds). It doesn't update your portage executable. So you need to do both! I did for Home 4, when I reinstalled about a month ago.
Magic will most likely do the "emerge --sync" for you [it asks you whether to do this, so you should know if it has ie you said yes]
1) If you don't have a keyboard, then perhaps you could try to login via ssh, and work via a console [text based; no GUI].
Or via VNC if setup (won't be on Pro -- can't remember if you said you were using home or not)
Of course this requires some understanding of networking, which I assume you have. Do a search in the forums here for ssh, and 'putty' a PC-based ssh client if this is new to you.
2) Check that your date is set correctly.
Code: Select all
date
3) "Emerge --sync" updates your portage tree (ebuilds). It doesn't update your portage executable. So you need to do both! I did for Home 4, when I reinstalled about a month ago.
Magic will most likely do the "emerge --sync" for you [it asks you whether to do this, so you should know if it has ie you said yes]
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
-
- Novice
- Posts: 23
- Joined: Sun Aug 28, 2005 3:04 am
When I installed it, I had 4.6 something gigs free on my E partition. I now have like 318 mb free. Is that too little space to run in?vplayer wrote:do you have enough space.. just wondering
I will check my time settings as soon as I can. Referring to number 3, I need to do both of what? Yes, magic does run emerge sync for me. I will post up my full error message asap. I haven't been around to get on GentooX in a while.Krazy wrote:2) Check that your date is set correctly.Use man date to find out how to set it if its not correct. You may also need to set your timezone if you don't live in Britain.Code: Select all
date
3) "Emerge --sync" updates your portage tree (ebuilds). It doesn't update your portage executable. So you need to do both! I did for Home 4, when I reinstalled about a month ago.
Magic will most likely do the "emerge --sync" for you [it asks you whether to do this, so you should know if it has ie you said yes]
Sorry, IMHO you need to "emerge --sync" and "emerge portage". However if your date is not set correctly(*), then the emerge sync may not be doing its thing?!? Even if magic did an emerge --sync for you, you can do one manually -- as long as you don't try and do 2 in the one day. There are warnings on portage's server M-O-T-D page saying they may temporarily ban you if you pester the server continually.FlamingGooch wrote:Referring to number 3, I need to do both of what?
Of course there is always the possibility that the portage ebuild is currently broken, but given the number of Gentoo users (ie on other platforms, not just xbox), there would an awful lot of complaints to the devs.... so this is unlikely.
No, you should be good, and BTW, vplayer would be talking about the free space inside the linux filesystem. The whole filesystem is represented by the fatx file E:\rootfs, and this file won't grow/shrink in size.FlamingGooch wrote:When I installed it, I had 4.6 something gigs free on my E partition. I now have like 318 mb free. Is that too little space to run in?
You can't check free space from the filesystem perspective from a dashboard. Once Linux is running, type
Code: Select all
df -k
Be aware that 'emerge --sync' creates the portage tree for you (its empty on a fresh Gentoox install), and this requires hundreds of megabytes of free filesystem space. But like I said, this shouldn't be an issue for you, I've still got hundreds left, and I've updated my portage tree, and installed a number of apps.
Finally, if you need a more permanent solution to setting the clock so that it gets setup again when you restart your xbox(#) after its been off for a while, then you need a ntp-client. I used "ntp" (emerge ntp). Search the forums for "clock" (or "ntp") to see how to set it up.
Of course, this assumes you have a functioning portage system
(*) to fix date for now, look at man page ie. "man date".
(#) Xbox does not have a battery backup for the clock, unlike PCs etc
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
Oh, and another thing... just re-reading over all the posts you say magic was giving you an error.
This may point to the root cause of your problem. What was it?
Important if you have a firewall: magic uses tcp port 2000.
This may point to the root cause of your problem. What was it?
Important if you have a firewall: magic uses tcp port 2000.
v1.1 xbox, stock HD, soft-modded [uxe+ dualboot: UnleashX/GentooX], with Pro2.0
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
v1.4 xbox, stock HD, Xecuter3 (X3 3294), running headless with Home 6.1
-
- Novice
- Posts: 27
- Joined: Mon Mar 20, 2006 6:20 am
I fixed this the other day
check out MY portage woe's
the only thing I can add is my symlink make.profile was not set correctly....
viewtopic.php?t=3461
the only thing I can add is my symlink make.profile was not set correctly....
viewtopic.php?t=3461