Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do i update what "emerge system" does
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pedrux
n00b
n00b


Joined: 22 Oct 2003
Posts: 13
Location: Boston, Mass

PostPosted: Mon Oct 27, 2003 4:57 pm    Post subject: How do i update what "emerge system" does Reply with quote

Hi all,

Do i have any control over what "emerge system" does?

When i do an "emerge -p system" it gives me a list ebuild that i do not have and the firrst one is sys-apps/file-4.02 and i know for sure that they are at file-4.06 by now. So, how do i update this?

I've tried "emerge regen" but i still got that same file-4.02 afterwards. The problem is that if i do an "emerge system" as is it gives me an error which says that file-4.02 cannot be found. That's why i want to update it somehow so that it picks file-4.06 instead.

Thanks for your help.

Pedro
Back to top
View user's profile Send private message
jat850
n00b
n00b


Joined: 17 Oct 2003
Posts: 43
Location: Canada

PostPosted: Mon Oct 27, 2003 5:25 pm    Post subject: Reply with quote

Have you tried an "emerge sync"?
Back to top
View user's profile Send private message
gren
n00b
n00b


Joined: 20 Apr 2002
Posts: 48
Location: Fargo, ND, USA

PostPosted: Mon Oct 27, 2003 5:30 pm    Post subject: Reply with quote

I'm not sure why you'd be getting an error message, but try doing an "emerge sync".

You might find the Portage User Guide helpful.
Back to top
View user's profile Send private message
GentooBox
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1168
Location: Denmark

PostPosted: Mon Oct 27, 2003 5:30 pm    Post subject: Reply with quote

Thats because you chose the stable tree.

if you want to run the unstable tree, then you have to edit your /etc/make.conf file.

find the line that says:
Code:
#ACCEPT_KEYWORDS="~arch"


then uncomment it and change it to:

Code:
ACCEPT_KEYWORDS="~x86"


or if you only want one package to be unstable (ex file) then you have to do this:

Code:
ACCEPT_KEYWORDS="~x86" emerge file -p


ACCEPT_KEYWORDS="" is set to ACCEPT_KEYWORDS="x86" by default. x86 without the "~" means stable.
_________________
Encrypt, lock up everything and duct tape the rest
Back to top
View user's profile Send private message
pedrux
n00b
n00b


Joined: 22 Oct 2003
Posts: 13
Location: Boston, Mass

PostPosted: Mon Oct 27, 2003 6:23 pm    Post subject: Reply with quote

Thank you all for responding.

Yes i did an "emerge sync" prior but "emerge -p system" was still looking for file-4.02.

I changed to using the unstable portage, as one of you suggested, and it's working now (or should i say, so far).

Thanks again,

Pedro
Back to top
View user's profile Send private message
pedrux
n00b
n00b


Joined: 22 Oct 2003
Posts: 13
Location: Boston, Mass

PostPosted: Tue Oct 28, 2003 3:15 pm    Post subject: Reply with quote

Ok guys.

Now that i've changed ACCEPT_KEYWORD to ~x86 to avoid having "emerge system" looking for file-4.02 it works for a while and then stops with another error that it could not find protector-3.3-4.tar.gz.

I'm running emerge -u system

Any hints?

Thanks,

Pedro
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Tue Oct 28, 2003 4:25 pm    Post subject: Reply with quote

Unless you REALLY know what you do, you should not run with ACCEPT_KEYWORD="~x86" as default, because it will try to emerge all the unstable version of each package....

If you want to try just one unstable package (eg. file), do :
Code:
ACCEPT_KEYWORD="~x86" emerge -u file

Then for later upgrade of your system, use :
Code:
emerge -uU system

_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
pedrux
n00b
n00b


Joined: 22 Oct 2003
Posts: 13
Location: Boston, Mass

PostPosted: Tue Oct 28, 2003 4:27 pm    Post subject: Reply with quote

...and if i use just "emerge system" (with ACCEPT_KEYWORD set to ~x86) then it can't find util-linux-2.12.tar.gz.

In brief:
ACCEPT_KEYWORD not set in make.conf
- emerge system --- error: cannot find file-4.02
- emerge -u system --- error: cannot find file-4.02

ACCEPT_KEYWORD set to ~x86
- emerge system --- error: cannot find util-linux-2.12.tar.gz
- emerge -u system --- error: cannot find protector-3.3-4.tar.gz

How do i get out of this vicious circle?

Thank you for your help.

Pedro
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Tue Oct 28, 2003 4:38 pm    Post subject: Reply with quote

The "cannot find file" errors sound to me more like there is problem with your distfiles directory. Did you check that you have space left on device ?
If you do, try :
Code:
cd /usr/portage/sys-apps/file
ebuild file-4.02.ebuild fetch

That should download the missing file... you will see what happen...
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
pedrux
n00b
n00b


Joined: 22 Oct 2003
Posts: 13
Location: Boston, Mass

PostPosted: Tue Oct 28, 2003 4:48 pm    Post subject: Reply with quote

Thanks ikshaar,

At the moment i'm trying your previous suggestion, i.e. i'm running:
ACCEPT_KEYWORDS="~x86" emerge file
This has been going for about 20 mins now.

I don't think that it's a space issue since i have something like 40G on my harddrive. But when i get the error cannot find file-4.02 at location blah i actually can go at that location and confirm that this file is not there. The files that i can see are file-4.05 and file-4.06. This is why i think it's probably because i need to upgrade my system somehow, hence the use of -u. but then i pass the file-4.02 problem only to hit another one. It seems like i'm stuck in this cycle...

Oops my ACCEPT_KEYWORDS="~x86" emerge file just failed with the error: Couldn't not download protector-3.3-4.tar.gz (same as before). I'd appreciate if you can help me out.

I've been at it for more than a week now with no luck. My last resort would be to reformat the whole thing and restart from scratch but i'm hoping someone can sort me out from this stage.

Thank you for your help.

Pedro
Back to top
View user's profile Send private message
tdombrow
n00b
n00b


Joined: 28 Oct 2003
Posts: 12
Location: Texas

PostPosted: Tue Oct 28, 2003 4:50 pm    Post subject: Reply with quote

I've found that switching to a different distfile mirror improves my chances of locating files. Usually the best mirrors are gatech and oregon state, but the following usually does the trick.

Run
Code:
mirrorselect -a -s5

This will automatically select the 5 best mirrors for your location (by updating /etc/make.conf). This causes emerge to try each mirror in turn until all are exhausted. Chances are the file is new and hasn't propigated to all mirrors yet.

If you don't already have mirrorselect, you'll need to emerge it
Code:
emerge mirrorselect


Todd Dombrowski
Back to top
View user's profile Send private message
ikshaar
Veteran
Veteran


Joined: 23 Jul 2002
Posts: 1339
Location: Baltimore, MD

PostPosted: Tue Oct 28, 2003 6:12 pm    Post subject: Reply with quote

Well I just downloaded the file-4.02.tar.gz from a mirror, so perhaps as said tdombrow you have a problem with your mirror... and by the way 4.02 is the stable version, so do you really need 4.06 ?

Otherwise just put here the whole output of
Code:
emerge info
it lists your emerge options. And then of
Code:
emerge file
.
_________________
"May God stands between you and harm in all the empty places where you must walk" - Babylon 5
Back to top
View user's profile Send private message
pedrux
n00b
n00b


Joined: 22 Oct 2003
Posts: 13
Location: Boston, Mass

PostPosted: Tue Oct 28, 2003 7:06 pm    Post subject: Reply with quote

Yes i do want the stable version. I only went unstable because i could not find file-4.02. However, i've changed my mirror, as suggested, and so far(it's been more than an hour now) it's looking good :lol:

Thank you all for your help. Hope it works this time.

Pedro
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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