| Autor |
Mensaje |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Mar Oct 27, 2009 1:31 am |
|
enlace simbólico?? es esto??
Código: # ln -s /usr/portage/profiles/default-linux/x86/2007.0 /etc/make.profile
Y cómo se borra?? lo siento pero es que ni papa de lo que hice ni de lo que tengo que hacer... 
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Jue Oct 29, 2009 3:13 pm |
|
johpunk escribió: borra el enlace simbolico que has hecho, en caso de que persista instalare el gentoolkit y ejecutas revdep-rebuild. otra cosa que vale la pena resaltar es que este post es algo viejito osea del 2006 y me imagino que cuando eso las cosas se hacian como lo explico _osorio_
Gracias johpunk, me ha salido esto:
# emerge gentoolkit
!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink? !!! Is the symlink correct? Is your portage tree complete?
Estoy algo desesperado ya... :'(
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Jue Oct 29, 2009 8:49 pm |
|
|
antes de borrar algo muestra lo que tienes en /etc/make.profile. y otra cosa mira a ver si ya tienes instalado el eselect y trata de hacer lo que yo explique. ve probando tambien si puedes actualizar tu gentoo con emerge --sync y luego emerge -uavD world. saludos
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Vie Oct 30, 2009 12:09 am |
|
eselect no está instalado...
# eselect profile list
-bash: eselect: command not found
aunque sí hay una cartpeta dentro de /etc/eselect/compiler con estos archivos:
- i686-pc-linux-gnu-3.4.5.conf
- i686-pc-linux-gnu-3.4.6.conf
No tengo ningún archivo "make.profile" pero sí un profle que contiene lo siguiente:
Código: # /etc/profile: login shell setup # # That this file is used by any Bourne-shell derivative to setup the # environment for login shells. #
# Load environment settings from profile.env, which is created by # env-update from the files in /etc/env.d if [ -e /etc/profile.env ] ; then . /etc/profile.env fi
# 077 would be more secure, but 022 is generally quite realistic umask 022
# Set up PATH depending on whether we're root or a normal user. # There's no real reason to exclude sbin paths from the normal user, # but it can make tab-completion easier when they aren't in the # user's PATH to pollute the executable namespace. # # It is intentional in the following line to use || instead of -o. # This way the evaluation can be short-circuited and calling whoami is # avoided. if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}" else PATH="/usr/local/bin:/usr/bin:/bin:${PATH}" fi export PATH unset ROOTPATH
# Extract the value of EDITOR [ -z "$EDITOR" ] && EDITOR="`. /etc/rc.conf 2>/dev/null; echo $EDITOR`" [ -z "$EDITOR" ] && EDITOR="/bin/nano" export EDITOR
if [ -n "${BASH_VERSION}" ] ; then # Newer bash ebuilds include /etc/bash/bashrc which will setup PS1 # including color. We leave out color here because not all # terminals support it. if [ -f /etc/bash/bashrc ] ; then # Bash login shells run only /etc/profile # Bash non-login shells run only /etc/bash/bashrc # Since we want to run /etc/bash/bashrc regardless, we source it # from here. It is unfortunate that there is no way to do # this *after* the user's .bash_profile runs (without putting # it in the user's dot-files), but it shouldn't make any # difference. . /etc/bash/bashrc else PS1='\u@\h \w \$ ' fi else # Setup a bland default prompt. Since this prompt should be useable # on color and non-color terminals, as well as shells that don't # understand sequences such as \h, don't put anything special in it. PS1="`whoami`@`uname -n | cut -f1 -d.` \$ " fi
for sh in /etc/profile.d/*.sh ; do if [ -r "$sh" ] ; then . "$sh" fi done unset sh
No se si te refieres a esto... archivos make. tengo: make.conf, make.conf.example y make.globals
Gracias de nuevo.
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Vie Oct 30, 2009 7:43 pm |
|
pues ahi esta tu error
Citar: No tengo ningún archivo "make.profile" pero sí un profle que contiene lo siguiente:
de todas formas no lo elimines pasalo a tu home e intenta denuevo el procedimiento. hasta donde se no hay nada que se llama profle. creo que ese es tu error, saludos!
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Sab Oct 31, 2009 11:07 am |
|
|
perdona johpunk, a qué home lo he de mover?? a la carpeta /home ?? Plis que soy muy novato ^_^ explícamelo paso a paso porque no sé ni cómo moverlo... tego que renombrarlo??
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Dom Nov 01, 2009 3:49 pm |
|
|
muevelo con mv ejemplo mv /usr/share/xxx /home/xxxx/xxxx
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Lun Nov 02, 2009 4:23 am |
|
Muchas gracias johpunk!!! al final me arriesgué un poco, porque no sabía las consecuencias, y actualicé el perfil con:
Citar: # ln -s /usr/portage/profiles/default/linux/x86/2008.0/server/ aunque ahora me sale este error ya he podido instalar spamassesin!!! !!! Your current profile is deprecated and not supported anymore. !!! Please upgrade to the following profile if possible:default/linux/x86/10.0/serverCreo que le haré caso y actualizaré al perfil que me indica... he de hacer todo el proceso?? esto es: Citar: # emerge –sync
# rm -rf /etc/make.profile # ln -s /usr/portage/profiles/default/linux/x86/10.0/server/ /etc/make.profile
# emerge portage # emerge –update –ask world
Gracias por todo!!! La verdad es que Inet y el altruismo de la gente no deja de sorprenderme ^_^
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Lun Nov 02, 2009 7:50 pm |
|
de nada  aunque si lo haces con eselect es mas sencillo. saludos!
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Mar Nov 03, 2009 12:01 am |
|
|
Seguro, ahora que me lo he podido instalar utilizaré eselect... por cierto... será mejor que lo actualice a default/linux/x86/10.0/server, verdad??
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Mar Nov 03, 2009 7:25 pm |
|
pues te recomendaria que usaras el profile
Citar: [1] default/linux/amd64/10.0 * desde que uso gentoo siempre e usado ese y me va bien  en tu caso seria Citar: [1] default/linux/x86/10.0
ya que usas la arquitectura x86
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Mié Nov 04, 2009 2:40 am |
|
acabo de instalar gentoolkit y al finalizar me ha mostrado:
Citar: * IMPORTANT: 8 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files.
Luego he ejecutado la herramienta que comentas # revdep-rebuild -p Citar: * Configuring search environment for revdep-rebuild
* Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged.
* Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 100% ] * broken /usr/bin/rsync (no version information available) * Generated new 3_broken.rr * Assigning files to packages find: predicado inválido `-L' * !!! /usr/bin/rsync not owned by any package is broken !!! * /usr/bin/rsync -> (none) * Generated new 4_raw.rr and 4_owners.rr * Found some broken files, but none of them were associated with known packages * Unable to proceed with automatic repairs. * The broken files are listed in 4_owners.rr
Gracias por todo!!!!!!!! 
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Mié Nov 04, 2009 9:03 pm |
|
cuanto te salga
Citar: * IMPORTANT: 8 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files.
ejecuta etc-update luego elijes la opcion -3 y a todo le das que "si" por lo otro ahora te toca ejecutar revdep-rebuild sin la -p para que te repare lo que tienes roto. saludos!
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
X3Mdesign

Forista Nuevo
Registrado: Lun Oct 26, 2009 12:00 am Mensajes: 13
|
 Publicado: Jue Nov 05, 2009 1:26 am |
|
gracias, después de hacer etc-update, sobre 3 y sobreescribir el original con la actualización:
Citar: Showing differences between /etc/init.d/sshd and /etc/init.d/._cfg0000_sshd --- /etc/init.d/sshd 2008-02-26 16:00:45.000000000 +0100 +++ /etc/init.d/._cfg0000_sshd 2009-08-07 09:58:43.000000000 +0200 @@ -1,9 +1,9 @@ #!/sbin/runscript # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.23 2007/09/20 07:38:06 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/openssh/files/sshd.rc6,v 1.24 2009/04/12 20:12:49 robbat2 Exp $ me sale lo siguiente: Citar: The following is the list of files which need updating, each configuration file is followed by a list of possible replacement files. 1) /etc/dispatch-conf.conf (1) 2) /etc/ssh/moduli (1) 4) /etc/pam.d/sshd (1) 5) /etc/ssh/sshd_config (1) Please select a file to edit by entering the corresponding number. (don't use -3, -5, -7 or -9 if you're unsure what to do) (-1 to exit) (-3 to auto merge all remaining files) (-5 to auto-merge AND not use 'mv -i') (-7 to discard all updates) (-9 to discard all updates AND not use 'rm -i'): -1 Exiting: User termination! NOTE: 4 updates remaining
he salido y vuelto a ejecutar revdep-rebuild Citar: # revdep-rebuild * Configuring search environment for revdep-rebuild
* Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged.
* Collecting system binaries and libraries * Found existing 1_files.rr * Collecting complete LD_LIBRARY_PATH * Found existing 2_ldpath.rr. * Checking dynamic linking consistency * Found existing 3_broken.rr. * Assigning files to packages find: predicado inválido `-L' * !!! /usr/bin/rsync not owned by any package is broken !!! * /usr/bin/rsync -> (none) * Generated new 4_raw.rr and 4_owners.rr * Found some broken files, but none of them were associated with known packages * Unable to proceed with automatic repairs. * The broken files are listed in 4_owners.rr
espero que no la haya fastidiado...
|
|
|
|
 |
johpunk

Forista Ancestral
Registrado: Mar Ago 08, 2006 11:00 pm Mensajes: 4187 Ubicación: Táchira - Venezuela
|
 Publicado: Jue Nov 05, 2009 3:32 am |
|
|
si has ejecutado revdep-rebuild y luego de eso te pide lo del etc-update y elijes la opciones -3 y sobre escribes los ficheros de configuracion esta bien. eso es todo lo que tienes que hacer si has vuelto a ejecutar revdep-rebuild y no te compilo mas ningun paquete y tu gentoo anda bien esta ya esta todo listo.
_________________ Linux User #432922 | Linux Machine #390497| Gentoo 10.0 | ~amd64 | Wmii-hg irc.freenode.net | /join #gnu/linuxOS
|
|
|
|
 |
|
|
|