[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[LARGO] apt-get Segmentation fault



Saludos, Uso Debian sarge, recientemente despues de
hacer un apt-get dist-upgrade el programa apt termina
con señal "Segmentation fault".
Cuando trato de buscar una aplicacion:
------------------------------------
visnu:~# apt-cache search php4
Segmentation fault
visnu:~#
------------------------------------

El mismo caso sucede si voy a instalar una aplicacion:
------------------------------------
visnu:~# apt-get install mozilla-thunderbird
Reading Package Lists... Done
Segmentation faulty Tree... 50%
visnu:~#
------------------------------------

entonces fue cuando use dselect probando a instalar el
paquete apt-move:

visnu:~# dselect
Reading Package Lists... Done
/usr/lib/dpkg/methods/apt/install: line 57:  4018
Segmentation fault   $APTGET $OPTS "$APT_OPT0"
"$APT_OPT1" dselect-upgrade
Some errors occurred while unpacking. I'm going to
configure the
packages that were installed. This may result in
duplicate errors
or errors caused by missing dependencies. This is OK,
only the errors
above this message are important. Please fix them and
run [I]nstall again
Press enter to continue.
------------------------------------

Me advierte que pueden haber dependencias faltantes o
errores duplicados, sospecho de mi apt local asi que
lo deshabilito:
mi source.list:

visnu:~# cat /etc/apt/sources.list
#deb http://localhost/debian/ testing main non-free
contrib
deb http://ftp.us.debian.org/debian/ testing main
non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main
non-free contrib
deb http://non-us.debian.org/debian-non-US
testing/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US
testing/non-US main contrib non-free
visnu:~#
------------------------------------

Yo nunca modifique tal archivo
voy a listar Algunas lineas antes y despues de la
linea 57:
------------------------------------
salida: /usr/lib/dpkg/methods/apt/install

49 if [ x$WAIT = "xtrue" ]; then
50   $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" -d
dselect-upgrade
51   echo $"Press enter to continue." && read RES
52   $APTGET $OPTS "$APT_OPT0" "$APT_OPT1"
dselect-upgrade
53   RES=$?
54 else
55   $APTGET $OPTS "$APT_OPT0" "$APT_OPT1"
dselect-upgrade
56   RES=$?
57 fi
58
59 # 1 means the user choose no at the prompt
60 if [ $RES -eq 1 ]; then
61  exit 0
62 fi
63
64 # Finished OK
65 if [ $RES -eq 0 ]; then
-----------------------------------------------





-- 
Wilmer Jaramillo.
San Cristóbal - Venezuela
Linux User: 278.161 -- irc.undernet.org #velug
GPG Key Fingerprint = 0666 D0D3 24CE 8935 9C24 BBF1
87DD BEA2 A4B2 1E8A 

_________________________________________________________
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



Reply to: