Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't emerge -u world, Access Violation
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 4:27 pm    Post subject: Can't emerge -u world, Access Violation Reply with quote

Somebody please..............

When I emerge -u world

it downloads and tried to compile gcc-3.2.1, about 39min later
I get Access Violation Summary
chown: /var/cache/edb
chown: /var/cache/edb/dep

Most of the errors are in the /var/cache dir.

I thought it was my CFLAGS causing the problem so i tried again with the default CFLAGS and same problem.

What do I do? I can't even install Xfree!

Thanks for your help,
G
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Fri Jan 31, 2003 5:52 pm    Post subject: Reply with quote

Try "emerge regen"
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 6:52 pm    Post subject: Reply with quote

What does that do? I search this site and the user docs and I don't see a definition of regen?

I recreates the tree? How is that different from
emerge rsync

I'm compiling now so I have to wait an hour until the error comes back to see if it worked or not :)

Out of curiousity what made you think I needed emerge regen because I was having access violation errors? I'm just trying to figure out how you debug something like this.

Thanks for your time,

G
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 7:13 pm    Post subject: Reply with quote

Hi,

It didn't work :( I just got the same error.

I remembered something that might be helpful.
These errors started when I compiled my kernel. So I'm assuming that I'm missing something in my kernel? Any thoughts on what I could be missing that would generate access violation errors in the kernel?

Thanks

G
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Fri Jan 31, 2003 7:16 pm    Post subject: Reply with quote

I read that emerge regen recreates the cache, it's more a guess then anything but it's simple enough to try.
"emerge rsync" only updates the cache.

You can see all the commands (documented or not) by loading /usr/lib/portage/bin/emerge into a text editor.

You could try posting the first 20 lines or so centered on where it first generates an error.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jan 31, 2003 7:34 pm    Post subject: Reply with quote

What does "emerge -V" say?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 8:25 pm    Post subject: Reply with quote

I just tried emerge -e -v world

I'll post back withing 45-60 min as that's when the damn errors like to come up.

Thanks!

G
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 8:42 pm    Post subject: Reply with quote

To add to my notes and hopefully this might help you in helping me.

I did a stage 3 tarball install.
According to the documents...it says to

nano -w /etc/make.conf and ajust my USE and CFLAGS
emerge -u world
download kernel source.

Well the thing is....in my USE I have gnome, kde, qt, xmms, etc......

so when it got to emerge -u world it was downloading XFREE and then the same Access Violations happend when i tried to compile it. So I thought maybe this is a problem since i haven't done my kernel yet so I commented out my USE and CFLAGS and again emerge -u world. All i downloaded was gcc which complied fine at the time. After I compiled my kernel (6 times now), every single emerge I do generates an Access Violation with the same path /var/cache. ????wtf?

So my notes in an earlier post are incorrect, I had this problem before I installed the kernel.

If you would like me to post my USE and CFLAGS let me know.

Thanks again for your time.

G
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 9:13 pm    Post subject: Reply with quote

just finished compiling and same errors as before posted above in my first post. I didn't see nothing new with verbose on?

Anyone? I have started over about 3 times so I don't know what's going on, there's gotta be somewhere where it tells me why access is denied.

I checked the /var/log/emerge.log and everything is kosher in there, doesn't list any errors?

Thanks,

G
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jan 31, 2003 9:50 pm    Post subject: Reply with quote

rac wrote:
What does "emerge -V" say?

_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 9:52 pm    Post subject: Reply with quote

My bad, I was typing in lower case

When I type

emerge -V

I get:

Portage 2.0.44 (default-x86-1.4, gcc-sh: /usr/bin/gcc: No such file or directory, glibc-2.3.1-rc2)

So what does this mean? Was I supposed to create the above directory before I did my first emerge?

Thanks,

G


Last edited by GrandMasterG on Fri Jan 31, 2003 10:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jan 31, 2003 9:57 pm    Post subject: Reply with quote

GrandMasterG wrote:
When I type emerge -V It lists all of the options available for emerge with their definitions?
Really? Maybe your shift key is broken ;)
I'm trying to find out what version of Portage you have installed.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 10:04 pm    Post subject: Reply with quote

I just fixed my shift key and corrected my post :)
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jan 31, 2003 10:12 pm    Post subject: Reply with quote

OK, two things are going on here. First, somehow your PATH is messed up. The short answer is "source /etc/profile". That will solve "gcc not found". Now, does "emerge -u portage" complete successfully?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 10:25 pm    Post subject: Reply with quote

Here's what I did

source /etc/profile
emerge -V
Still the same deal as before gcc not found

I tried env-update and the above same problem gcc not found

I tired emerge -u portage and it downloads 3 of 18 files and dies
Access Denied chown: /var/cache/edb

??
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jan 31, 2003 10:32 pm    Post subject: Reply with quote

Yuck. What does "gcc-config --get-bin-path" say?
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 10:35 pm    Post subject: Reply with quote

/usr/i686-pc-linux-gnu/gcc-bin/3.2
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Jan 31, 2003 10:46 pm    Post subject: Reply with quote

OK, well, that's good - now I'm assuming that directory is in your path. If so, then "which gcc" will not fail. If gcc is findable, try "emerge --nodeps -u portage".
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Fri Jan 31, 2003 11:10 pm    Post subject: Reply with quote

WORKED! YES!

Thank you! I tried emerge -V and it found gcc!!!!

now I will

emerge -u world and then take a nap and then

emerge -u system and eat dinner and then

emerge kde and go on vacation.

Thank you for your help and your time,

G
Back to top
View user's profile Send private message
in4mation
n00b
n00b


Joined: 01 Feb 2003
Posts: 15

PostPosted: Sat Feb 01, 2003 1:07 am    Post subject: same problem here Reply with quote

Hi,

I'm having the same problem here. Everytime I try to emerge a package I get:
---------------------------------------
ACCESS VIOLATION
LOG FILE = "/tmp/sandbox-knetfilter-3.0.2-19411.log"
chown: /var/cache/edb
chown: /var/cache/edb/dep
open_wr: /var/cache/edb/mtimedb
----------------------------------------

I tried emerge regen and still nothing. How did you get rid of the access violation?

Thanks
Back to top
View user's profile Send private message
GrandMasterG
n00b
n00b


Joined: 28 Jan 2003
Posts: 63

PostPosted: Sat Feb 01, 2003 4:32 am    Post subject: Reply with quote

Hello,

I just did what rac suggested.


emerge --nodeps -u portage

after it was done I:

env-update

source /etc/profile

everything works now! Looks like my portage was out of date which was causing problems.

I hope this works for you.

G
Back to top
View user's profile Send private message
in4mation
n00b
n00b


Joined: 01 Feb 2003
Posts: 15

PostPosted: Sat Feb 01, 2003 9:45 pm    Post subject: thanks Reply with quote

works like a charm thanks.
Back to top
View user's profile Send private message
boyo
n00b
n00b


Joined: 02 Nov 2002
Posts: 53
Location: MI

PostPosted: Wed Feb 05, 2003 1:09 am    Post subject: Reply with quote

That's great information rac. It worked for me as well. Thanks. One question though, why the --nodeps the -u also seems redundant if your portage tree is current. All it took for me was emerge portage. It automatically took care of the upgrade and cleaned my cache up as well. Fill me in if there's a reason that I'm missing for the --nodeps.
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Wed Feb 05, 2003 1:37 am    Post subject: Reply with quote

boyo wrote:
Fill me in if there's a reason that I'm missing for the --nodeps.
If Portage is broken, but it would attempt to merge dependencies first, they will fail. --nodeps ensures that it doesn't try to do that. If you omitted the --nodeps and it worked, that's great - just means there weren't any dependencies waiting to trip you up.
_________________
For every higher wall, there is a taller ladder
Back to top
View user's profile Send private message
H-Dragon
Guru
Guru


Joined: 22 Oct 2002
Posts: 547

PostPosted: Tue Dec 12, 2006 5:13 pm    Post subject: Reply with quote

well... for me it is the new 2.6.19 kernel! it creates those sandbox violations all the time....

i did a FEATURES="-sandbox" module-rebuild rebuild to get it working again
_________________
WEBSITE
Do not meddle with the affairs of Dragons, for you are crunchy and tasty with ketchup!
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
Goto page 1, 2  Next
Page 1 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