Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemas al actualizar el sistema
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
H
n00b
n00b


Joined: 21 Apr 2003
Posts: 13
Location: Spain

PostPosted: Sun Apr 27, 2003 9:46 am    Post subject: problemas al actualizar el sistema Reply with quote

Hola a todos.
Hace algunas semanas que no me funcionaba el emerge --update system.

Me decia que uno de los ficheros no tenia un checksum adecuado cuando lo intentaba y me recomendaba un remove el fichero y luego hacer un refresh.
Intente lo del remove simplemente borrándolo y lo del refresh pues volviendole a dar al emerge --update system.

Nunca funcionó, siempre volvia a salir el mensaje del checksum no valido.

Pasaron los días y aun siguo sin poder actualizar el sistema más que algunas cosas particulares si lo hago directamente.

Ahora me dice que no tengo un fichero llamado policy que creo que es el que tantas veces borré y reapareció. No estoy seguro. El problema es que ahora que no lo tiene tampoco va.

¿Alguien me puede echar una mano?

Code:

root@Qr h # emerge --update world
Calculating world dependencies ...done!
>>> emerge (1 of 41) sys-apps/selinux-small-2003011510-r3 to /
>>> md5 ;-) selinux-small-2003011510.tgz
>>> md5 ;-) selinux-small_2003011510-7.diff.gz
selinux
>>> Unpacking source...
>>> Unpacking selinux-small-2003011510.tgz to /var/tmp/portage/selinux-small-2003011510-r3/work
>>> Unpacking selinux-small_2003011510-7.diff.gz to /var/tmp/portage/selinux-small-2003011510-r3/work
>>> Source unpacked.
/usr/sbin/ebuild.sh: line 43: cd: /var/tmp/portage/selinux-small-2003011510-r3/work/policy: No existe el fichero o el directorio
 * Applying selinux-small_2003011510-7.diff...                                                                                                                  [ ok ]
 * Applying selinux-small-2003011510-bison.diff...                                                                                                              [ ok ]
 * Compiling checkpolicy
make -C checkpolicy LSMDIR=../../../lsm-2.4
make[1]: Entering directory `/var/tmp/portage/selinux-small-2003011510-r3/work/selinux/module/checkpolicy'
make[1]: *** No hay ninguna regla para construir el objetivo `ebitmap.o', necesario para `checkpolicy'.  Alto.
make[1]: Leaving directory `/var/tmp/portage/selinux-small-2003011510-r3/work/selinux/module/checkpolicy'
make: *** [all] Error 2

!!! ERROR: sys-apps/selinux-small-2003011510-r3 failed.
!!! Function src_compile, Line 54, Exitcode 2
!!! Checkpolicy compilation failed

root@Qr h # cd /var/tmp/portage/selinux-small-2003011510-r3/work/policy
bash: cd: /var/tmp/portage/selinux-small-2003011510-r3/work/policy: No existe el fichero o el directorio
root@Qr h # cd /var/tmp/portage/selinux-small-2003011510-r3/work
root@Qr work # ls
lsm-2.4  selinux  selinux-small_2003011510-7.diff


Gracias por el tiempo, auque sólo sea de lectura :) Si encuentro la solución yo mismo os la pasaré.
Un saludo
_________________
http://h.says.it/
GPG uid: AA8E6A57
Jabber: H@myjabber.net
Back to top
View user's profile Send private message
Hefistion
Guru
Guru


Joined: 09 Feb 2003
Posts: 327
Location: España

PostPosted: Sun Apr 27, 2003 10:16 am    Post subject: Reply with quote

has probado hacer antes
Code:

emerge rsync


[/code]
Back to top
View user's profile Send private message
H
n00b
n00b


Joined: 21 Apr 2003
Posts: 13
Location: Spain

PostPosted: Sun Apr 27, 2003 5:49 pm    Post subject: Reply with quote

Si, claro, multiples veces.

Y por si acaso lo he vuelto a hacer y acto seguido el emerge --update system y me ha dado el mismo fallo.

¿Basta con esperar a que haya una nueva versión/revision del programa que intenta instalar? ¿Cuánto tiempo suele tardar eso, un par de semanas? ¿Meses?

Un saludo y gracias por responder Hefistion.
_________________
http://h.says.it/
GPG uid: AA8E6A57
Jabber: H@myjabber.net
Back to top
View user's profile Send private message
BaSS
Retired Dev
Retired Dev


Joined: 11 Jun 2002
Posts: 173
Location: Seville (Spain)

PostPosted: Sun Apr 27, 2003 6:03 pm    Post subject: Reply with quote

Prueba borrando tu portage y re-syncronizandolo
_________________
JabberID: bass@im.gentoo.org
Back to top
View user's profile Send private message
H
n00b
n00b


Joined: 21 Apr 2003
Posts: 13
Location: Spain

PostPosted: Sun Apr 27, 2003 9:17 pm    Post subject: Reply with quote

Acabo de probarlo.
No ha dado resultado, da el mismo error.

Aparece de nuevo el directorio ese selin... y todo vuelve a fallar igual.

Gracias por intentarlo.

Sobre el tiempo en que tardan en salir las versiones mirad esto:

Code:

root@Q portageold # ls -l |grep selin
drwxr-xr-x    3 portage  portage        72 2003-04-25 18:05 selinux-base-policy-20030419
drwxr-xr-x    3 portage  portage        72 2003-04-18 05:28 selinux-small-2003011510-r2
drwxr-xr-x    4 portage  portage       128 2003-04-27 22:44 selinux-small-2003011510-r3
drwxr-xr-x    3 portage  portage        72 2003-04-18 05:27 selinux-sources-2.4.20-r2
drwxr-xr-x    3 portage  portage        72 2003-04-25 18:05 selinux-sources-2.4.20-r4



¿Eso puede significar que en 10 días podría estar pululando la siguiente?
¿Lo que hemos hecho es borrar los fuentes para que se los vuelva a bajar y pruebe de funcionar? ¿Están esos fuentes mal? ¿convendría hacerles el report?

Un saludo y gracias
_________________
http://h.says.it/
GPG uid: AA8E6A57
Jabber: H@myjabber.net
Back to top
View user's profile Send private message
SpOeK
Apprentice
Apprentice


Joined: 07 Jan 2003
Posts: 164
Location: Getafe - Madrid (España)

PostPosted: Mon Apr 28, 2003 12:31 am    Post subject: Reply with quote

Hola, mira a ver si estos hilos te sirven:
https://forums.gentoo.org/viewtopic.php?t=47348
https://forums.gentoo.org/viewtopic.php?t=45624

¡Suerte! 8)
Back to top
View user's profile Send private message
H
n00b
n00b


Joined: 21 Apr 2003
Posts: 13
Location: Spain

PostPosted: Tue Apr 29, 2003 2:18 am    Post subject: Reply with quote

¡Hombre!

Pues sí :D

Allí estaba la respuesta. Y ahora entiendo un poco más el problema.
Se trata de he estado compilando el kernel con algún errorcillo por mi parte.

La solución: He compilado el kernel de nuevo (de hecho la selinux) y me he fijado que el secure linux options. El NSA selinux suport. También supongo que poniendolas bien y recompilando deberían funcionar.

Quitándolas me ha hecho el emerge --update system sin problemas. No me fio demasiado de quien se cree en el deber de urgar en lo ageno sin permiso y está claro que la NSA sí lo hace. ¿Olvidan el articulo 12 de la declaración universal de los derechos humanos?

Por si acaso compilais recordad que debéis coger el bzImage y el System.map y traerlos al boot. Y redireccionar el enlace de /usr/src/linux hacia el directorio donde compilasteis el kernel si es que es otro.

Un saludo y gracias por la ayuda recibida.
_________________
http://h.says.it/
GPG uid: AA8E6A57
Jabber: H@myjabber.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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