Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't find /etc/portage directory
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
pheniks
n00b
n00b


Joined: 28 May 2009
Posts: 19

PostPosted: Thu May 28, 2009 7:33 am    Post subject: can't find /etc/portage directory Reply with quote

I've finished an new installation of Gentoo (2.6.28-r5). When I tried to install mozilla-firefox, kmail en openoffice, nothing happened. Ther seemd to be a problem with cairo-1.8.6. After a bit of surfing on the net, I read somewhere this could be solved by downgrading cairo to cairo-1.8.2. So, I tried to add an entry in de package.mask file. This file didn't exist. So I wanted to check the /etc/portage directory, but there is no /etc/portage directory! Where has it gone to. Do I have to manually make the /etc/portage directory? I didn't have this problem with previous installations. Or did I make a mistake during the installation proces? All your suggestions are welcome!
Back to top
View user's profile Send private message
wiz
Tux's lil' helper
Tux's lil' helper


Joined: 15 Sep 2005
Posts: 121
Location: {€urope}

PostPosted: Thu May 28, 2009 8:06 am    Post subject: Reply with quote

I think you might have forgot to extract the portage snapshot you downloaded. It should say somewhere in the handbook where to download it and how to extract it.
Back to top
View user's profile Send private message
pheniks
n00b
n00b


Joined: 28 May 2009
Posts: 19

PostPosted: Thu May 28, 2009 8:31 am    Post subject: Reply with quote

I have extracted the portage snapshot. The /usr/portage directory is where it is supposed to be. Only /etc/portage is missing.
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Thu May 28, 2009 9:07 am    Post subject: Reply with quote

Just create it.
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Thu May 28, 2009 9:42 am    Post subject: Reply with quote

what problems did you have emerging those packages?
please post the relevant output.
Back to top
View user's profile Send private message
noisebleed
Apprentice
Apprentice


Joined: 03 Oct 2006
Posts: 177
Location: Porto, Portugal

PostPosted: Thu May 28, 2009 9:48 am    Post subject: Reply with quote

V-Li wrote:
Just create it.


V-Li, last time I've installed gentoo (using stage3-i686-20090514.tar.bz2), I've noticed that the /etc/portage directory was missing. I can't be sure but wasn't it available in the past? Why not included it in the present stages?
_________________
Please add [SOLVED] to the subject line if the posted issue is resolved.
Back to top
View user's profile Send private message
pheniks
n00b
n00b


Joined: 28 May 2009
Posts: 19

PostPosted: Thu May 28, 2009 9:51 am    Post subject: Reply with quote

Creating /etc/portage manually worked fine. But I don't understand why /etc/portage wasn't created during my last Gentoo installation, while it was during all my otherinstallations.

Thanks for the help, guys!
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Thu May 28, 2009 10:05 am    Post subject: Reply with quote

If I remember correctly, all my installations in the last three years had no /etc/portage in the stages.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu May 28, 2009 11:07 am    Post subject: Reply with quote

In fact, I had to create it also.

My last Gentoo installation was on october 18 2008, so at that time, I had to do this, so maybe it's still normal to don't have any /etc/portage during the installation process.
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Thu May 28, 2009 12:44 pm    Post subject: Reply with quote

even the gentoo handbook says:
Code:
...To accomplish this, you will need to create the /etc/portage directory (if it doesn't exist yet)...

so, i would not assume that /etc/portage is included in the stage tarballs.
Back to top
View user's profile Send private message
Captain Newbie
Apprentice
Apprentice


Joined: 22 Dec 2006
Posts: 182
Location: Socal

PostPosted: Thu May 28, 2009 9:53 pm    Post subject: Reply with quote

noisebleed wrote:
V-Li wrote:
Just create it.


V-Li, last time I've installed gentoo (using stage3-i686-20090514.tar.bz2), I've noticed that the /etc/portage directory was missing. I can't be sure but wasn't it available in the past? Why not included it in the present stages?

Catalyst is nuking /etc/portage when it automatically builds the stages. (yes, it's true :) )

Just create the directory for now.
_________________
/* Nobody will ever see this message :-) */
panic("Cannot initialize video hardware\n");
"As much as it pains me, we hope that developers know what they're doing." - wolf31o2
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Thu May 28, 2009 10:58 pm    Post subject: Reply with quote

d2_racing wrote:
In fact, I had to create it also.

My last Gentoo installation was on october 18 2008, so at that time, I had to do this, so maybe it's still normal to don't have any /etc/portage during the installation process.

I've done dozens of installs since then and I can confirm that none of them have had an /etc/portage, I seem to remember it being in older snapshots though, I think around late 2007
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri May 29, 2009 1:32 am    Post subject: Reply with quote

So, I was not crazy :P
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 888
Location: Germany

PostPosted: Fri May 29, 2009 5:33 am    Post subject: Reply with quote

Hm.. I think I had one of those.
And I installed Gentoo about 6 to 7 times this month - can't remember creating /etc/portage
Still, no worries. Seems creating it manually doesn't do any harm.
_________________
Kali Ma
Now it's autumn of the aeons
Dance with your sword
Now it's time for the harvest
Back to top
View user's profile Send private message
noisebleed
Apprentice
Apprentice


Joined: 03 Oct 2006
Posts: 177
Location: Porto, Portugal

PostPosted: Sun May 31, 2009 4:43 pm    Post subject: Reply with quote

I'm currently installing Gentoo on a AMD64 (amd64 stage3) and /etc/portage is here. But it wasn't included in the stage. Most likely it was created after some emerge (emerge --sync?).

These are the contents of /etc/portage:
Code:
# tree /etc/portage
/etc/portage/
|-- bin
|   `-- post_sync
`-- postsync.d
    `-- q-reinitialize

2 directories, 2 files


Anyone knows who create this files (equery returns nothing)? Just curious.
_________________
Please add [SOLVED] to the subject line if the posted issue is resolved.
Back to top
View user's profile Send private message
Raptor85
Apprentice
Apprentice


Joined: 29 Dec 2007
Posts: 208

PostPosted: Tue Jun 02, 2009 7:57 pm    Post subject: Reply with quote

noisebleed wrote:
I'm currently installing Gentoo on a AMD64 (amd64 stage3) and /etc/portage is here. But it wasn't included in the stage. Most likely it was created after some emerge (emerge --sync?).

These are the contents of /etc/portage:
Code:
# tree /etc/portage
/etc/portage/
|-- bin
|   `-- post_sync
`-- postsync.d
    `-- q-reinitialize

2 directories, 2 files


Anyone knows who create this files (equery returns nothing)? Just curious.

emerge --sync actually sounds plausible, I don't do that during my install (I'm behind a dial-up line, so I have a custom tree set up and I copy the packages off my portable drive) I'm actually getting ready to re-install my laptop (upgrading from a 10 gig to a 40 gig drive, figured might as well start from scratch, the gentoo install on it is very old) so I'll be sure to test it out :)
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