View previous topic :: View next topic |
Author |
Message |
pedrux n00b
Joined: 22 Oct 2003 Posts: 13 Location: Boston, Mass
|
Posted: Mon Oct 27, 2003 4:57 pm Post subject: How do i update what "emerge system" does |
|
|
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 |
|
|
jat850 n00b
Joined: 17 Oct 2003 Posts: 43 Location: Canada
|
Posted: Mon Oct 27, 2003 5:25 pm Post subject: |
|
|
Have you tried an "emerge sync"? |
|
Back to top |
|
|
gren n00b
Joined: 20 Apr 2002 Posts: 48 Location: Fargo, ND, USA
|
Posted: Mon Oct 27, 2003 5:30 pm Post subject: |
|
|
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 |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Mon Oct 27, 2003 5:30 pm Post subject: |
|
|
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 |
|
|
pedrux n00b
Joined: 22 Oct 2003 Posts: 13 Location: Boston, Mass
|
Posted: Mon Oct 27, 2003 6:23 pm Post subject: |
|
|
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 |
|
|
pedrux n00b
Joined: 22 Oct 2003 Posts: 13 Location: Boston, Mass
|
Posted: Tue Oct 28, 2003 3:15 pm Post subject: |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Oct 28, 2003 4:25 pm Post subject: |
|
|
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 :
_________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
pedrux n00b
Joined: 22 Oct 2003 Posts: 13 Location: Boston, Mass
|
Posted: Tue Oct 28, 2003 4:27 pm Post subject: |
|
|
...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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Oct 28, 2003 4:38 pm Post subject: |
|
|
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 |
|
|
pedrux n00b
Joined: 22 Oct 2003 Posts: 13 Location: Boston, Mass
|
Posted: Tue Oct 28, 2003 4:48 pm Post subject: |
|
|
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 |
|
|
tdombrow n00b
Joined: 28 Oct 2003 Posts: 12 Location: Texas
|
Posted: Tue Oct 28, 2003 4:50 pm Post subject: |
|
|
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 |
|
|
ikshaar Veteran
Joined: 23 Jul 2002 Posts: 1339 Location: Baltimore, MD
|
Posted: Tue Oct 28, 2003 6:12 pm Post subject: |
|
|
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 it lists your emerge options. And then of . _________________ "May God stands between you and harm in all the empty places where you must walk" - Babylon 5 |
|
Back to top |
|
|
pedrux n00b
Joined: 22 Oct 2003 Posts: 13 Location: Boston, Mass
|
Posted: Tue Oct 28, 2003 7:06 pm Post subject: |
|
|
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
Thank you all for your help. Hope it works this time.
Pedro |
|
Back to top |
|
|
|