View previous topic :: View next topic |
Author |
Message |
pheniks n00b
Joined: 28 May 2009 Posts: 19
|
Posted: Thu May 28, 2009 7:33 am Post subject: can't find /etc/portage directory |
|
|
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 |
|
|
wiz Tux's lil' helper
Joined: 15 Sep 2005 Posts: 121 Location: {€urope}
|
Posted: Thu May 28, 2009 8:06 am Post subject: |
|
|
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 |
|
|
pheniks n00b
Joined: 28 May 2009 Posts: 19
|
Posted: Thu May 28, 2009 8:31 am Post subject: |
|
|
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 |
|
|
V-Li Retired Dev
Joined: 03 Jan 2006 Posts: 613
|
Posted: Thu May 28, 2009 9:07 am Post subject: |
|
|
Just create it. |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Thu May 28, 2009 9:42 am Post subject: |
|
|
what problems did you have emerging those packages?
please post the relevant output. |
|
Back to top |
|
|
noisebleed Apprentice
Joined: 03 Oct 2006 Posts: 177 Location: Porto, Portugal
|
Posted: Thu May 28, 2009 9:48 am Post subject: |
|
|
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 |
|
|
pheniks n00b
Joined: 28 May 2009 Posts: 19
|
Posted: Thu May 28, 2009 9:51 am Post subject: |
|
|
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 |
|
|
V-Li Retired Dev
Joined: 03 Jan 2006 Posts: 613
|
Posted: Thu May 28, 2009 10:05 am Post subject: |
|
|
If I remember correctly, all my installations in the last three years had no /etc/portage in the stages. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Thu May 28, 2009 11:07 am Post subject: |
|
|
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 |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Thu May 28, 2009 12:44 pm Post subject: |
|
|
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 |
|
|
Captain Newbie Apprentice
Joined: 22 Dec 2006 Posts: 182 Location: Socal
|
Posted: Thu May 28, 2009 9:53 pm Post subject: |
|
|
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 |
|
|
Raptor85 Apprentice
Joined: 29 Dec 2007 Posts: 208
|
Posted: Thu May 28, 2009 10:58 pm Post subject: |
|
|
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 |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Fri May 29, 2009 1:32 am Post subject: |
|
|
So, I was not crazy |
|
Back to top |
|
|
Clad in Sky l33t
Joined: 04 May 2007 Posts: 888 Location: Germany
|
Posted: Fri May 29, 2009 5:33 am Post subject: |
|
|
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 |
|
|
noisebleed Apprentice
Joined: 03 Oct 2006 Posts: 177 Location: Porto, Portugal
|
Posted: Sun May 31, 2009 4:43 pm Post subject: |
|
|
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 |
|
|
Raptor85 Apprentice
Joined: 29 Dec 2007 Posts: 208
|
Posted: Tue Jun 02, 2009 7:57 pm Post subject: |
|
|
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 |
|
|
|