El dom, día 14 de oct de 2001, a las 09:35:16 +0200, Santiago Vila decía: > Fermín Manzanedo: > > dpkg: error al procesar /var/cache/apt/archives/xlibs_4.1.0-6_i386.deb (--unpack): > > intentando sobreescribir `/usr/X11R6/lib/X11/app-defaults', que está también en el paquete ghostview > > Se encontraron errores al procesar: > > /var/cache/apt/archives/xlibs_4.1.0-6_i386.deb > > E: Sub-process /usr/bin/dpkg returned an error code (1) > > Este mensaje es el que da dpkg cuando intenta instalar un paquete que > contiene un fichero que pertenece a otro paquete ya instalado. > > Lo extraño es que lo diga para un directorio. En teoría los > directorios se solapan sin problemas y no "pertenecen" a ningún > paquete ni hay disputas de propiedad entre ellos. Parece un bicho en dpkg. > > Pregunta tonta: ¿Existe el directorio /usr/X11R6/lib/X11/app-defaults? > [ A lo mejor no existe y al crearlo a mano deja de dar error ]. > Respuesta a la pregunta: Si existe. Este es su contenido: -rw-r--r-- 1 root 10325 jul 6 00:56 Ghostview -rw-r--r-- 1 root 3437 mar 27 2000 GV -rw-r--r-- 1 root 1903 ago 5 23:37 GXditview -rw-r--r-- 1 root 1438 dic 13 1999 XCruise -rw-r--r-- 1 root 126 feb 13 1999 XDvi lrwxrwxrwx 1 root 17 ago 21 01:52 XScreenSaver -> XScr eenSaver-nogl -rw-r--r-- 1 root 49481 ene 29 2000 XScreenSaver-nogl Y estas son las primeras líneas de cada archivo. Por cierto, he intentado mover todos a la extensión .xlibs-old, pero no sirve para nada porque apt y dselect me los renombran de nuevo a .xlibs-old con lo que aparece el nombre_archivo.xlibs-old.xlibs-old y vuelve a cascar. No se, pero esto tiene mu mala pinta :( ¿Pasaría algo si muevo todos los archivos a algún sitio diferente? No se, voy a intentarlo. Ya os cuento lo que sea. Ghostview ==> ! Ghostview.ad -- Application defaults file for ghostview. ! Copyright (C) 1992 Timothy O. Theisen ! [Cosas sobre la GPL y el autor] ! All of the button labels and actions are determined in this file. ! It should be easy to adapt to any language. ! To use a different version of ghostscript, you can add the resource ! *Ghostview.interpreter: /my/very/own/gs [...] GV ==> ! ! gv_user.ad ! User specific application defaults for gv ! Copyright (C) 1995, 1996, 1997 Johannes Plass ! !########## gv_user_res.dat !##### Application specific Resources [...] GXditview ==> GXditview.height: 840 GXditview.paned.allowResize: true GXditview.paned.viewport.allowVert: true GXditview.paned.viewport.allowHoriz: true [...] XCruise ==> !! XCruise.ad !! ! stars color ! inner [...] XDvi ==> XDvi*mfMode: ljfour XDvi*pixelsPerInch: 600 XDvi*shrinkFactor: 8 XDvi*paper: a4 XDvi*wwwBrowser: netscape XDvi*thorough: true XScreenSaver ==> ! ! XScreenSaver ! ! a screen saver and locker for the X window system [Sobre el autor y el programa] ! These resources, when placed in the system-wide app-defaults directory ! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default ! settings for new users. However, if you have a ".xscreensaver" file in ! your home directory, the settings in that file take precedence. Muchas gracias -- Fermín Manzanedo Guzmán | Badajoz - Spain http://www.terra.es/personal/fmg4647/home.html | Usuario Linux #184967 COMENTARIOS SOBRE LA LEY DE UNIVERSIDADES: Sigue el enlace en mi home. Desde Toshiba2140CDS | Debian GNU/Linux 3.0 "Woody" mail -s "gpg public key" fmangu@teleline.es < /dev/null
Attachment:
pgpc2wvG7t6zo.pgp
Description: PGP signature