View previous topic :: View next topic |
Author |
Message |
tb5342 n00b
Joined: 29 Aug 2009 Posts: 17
|
Posted: Sat Aug 29, 2009 3:36 pm Post subject: /etc/portage dir not present after install [Solved] |
|
|
After install on a new laptop, I wanted to add something to /etc/portage/package.use but discovered I have no /etc/portage directory. Is this install doomed or can I 'mkdir /etc/portage' and soldier on?
Code: |
iba ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-i686-Intel-R-_Celeron-R-_CPU_900_@_2.20GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 29 Aug 2009 13:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-lang/python: 2.6.2-r1
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.63-r1
sys-devel/automake: 1.10.2
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://mirror.usu.edu/mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="a52 aac acl acpi bash-completion berkdb bzip2 cli cracklib crypt css cups dri dvd ffmpeg fortran gdbm gpm iconv ipv6 isdnlog joystick mad mmx mudflap ncurses nls nptl nptlonly openmp oss pam pcre perl pppd python readline reflection session spl sse ssl sysfs tcpd theora truetype-fonts type1-fonts unicode vorbis win32codecs x264 x86 xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
Last edited by tb5342 on Sat Aug 29, 2009 7:51 pm; edited 1 time in total |
|
Back to top |
|
|
Quick23t n00b
Joined: 07 Aug 2009 Posts: 66 Location: Phoenix, AZ
|
Posted: Sat Aug 29, 2009 4:13 pm Post subject: |
|
|
You can make the directory and soldier on |
|
Back to top |
|
|
tb5342 n00b
Joined: 29 Aug 2009 Posts: 17
|
Posted: Sat Aug 29, 2009 5:06 pm Post subject: |
|
|
I listed my /etc/portage directory from another machine I have. So...I don't need to worry about those other directories (bin,postsync.d,savedconfig) in my new install?
Code: |
livecd portage # ls -al
total 32
drwxr-xr-x 5 root root 4096 Aug 22 13:24 .
drwxr-xr-x 91 root root 4096 Aug 24 15:04 ..
-rw-r--r-- 1 root root 0 Sep 14 2006 .keep
-rw-r--r-- 1 root root 0 Jun 18 14:36 .keep_sys-apps_portage-0
drwxr-xr-x 2 root root 4096 Aug 22 2006 bin
-rw-r--r-- 1 root root 650 Aug 13 22:53 package.keywords
-rw-r--r-- 1 root root 224 Jul 12 16:18 package.mask
-rw-r--r-- 1 root root 618 Aug 22 13:24 package.use
drwxr-xr-x 2 root root 4096 Aug 22 2006 postsync.d
drwxr-xr-x 3 root root 4096 Sep 6 2007 savedconfig
|
|
|
Back to top |
|
|
Mousee Apprentice
Joined: 29 Mar 2004 Posts: 291 Location: Illinois, USA
|
Posted: Sat Aug 29, 2009 7:10 pm Post subject: |
|
|
That directory and the files therein aren't, in my many experiences installing Gentoo, created by default.
Once you create the /etc/portage directory you go about creating or copying over old files (ie. package.*).
I imagine there's some package in portage that may create files in /etc/portage (??)... I'm looking at a /etc/portage/savedconfig/sys-apps/busybox-1.13.4 file in my Vmware's Gentoo install atm, but otherwise I'm certain those files aren't there after a stage3 install or created in any other way other than by yourself. |
|
Back to top |
|
|
tb5342 n00b
Joined: 29 Aug 2009 Posts: 17
|
Posted: Sat Aug 29, 2009 7:51 pm Post subject: /etc/portage dir not present after install [solved] |
|
|
I'll accept that answer. Thank you. |
|
Back to top |
|
|
d2_racing Bodhisattva
Joined: 25 Apr 2005 Posts: 13047 Location: Ste-Foy,Canada
|
Posted: Sat Aug 29, 2009 9:00 pm Post subject: |
|
|
Quick23t wrote: | You can make the directory and soldier on |
In fact, /etc/portage must be create when you install your box. |
|
Back to top |
|
|
|