<snip> > Preparing to replace xlibs 4.1.0-14 (using .../xlibs_4.2.1-6_i386.deb) ... > Unpacking replacement xlibs ... > dpkg: error processing /var/cache/apt/archives/xlibs_4.2.1-6_i386.deb (--unpack): > trying to overwrite `/usr/X11R6/lib/X11/app-defaults', which is also in package wordnet <snip> -- Errors were encountered while processing: > /var/cache/apt/archives/xlibs_4.2.1-6_i386.deb > E: Sub-process /usr/bin/dpkg returned an error code (1) > -- > Hi This is what is in my /usr/X11R6/lib/X11 directories. > root@box:~# ls /usr/X11R6/lib/X11/ > app-defaults Cards-v3 etc fs lbxproxy Options rgb.txt tgif x11perfcomp xedit xinit XKeysymDB xserver xtel > Cards config fonts gv locale proxymngr rstart twm xdm XErrorDB xkb xman.help xsm > root@box:~# /bin/ls /usr/X11R6/lib/X11/app-defaults > app-defaults Clock-color GV UXTerm XCalc-color Xditview-chrtr Xfd XLogo Xmessage-color XSm XTerm-color > Beforelight Editres GXditview Viewres XClipboard XDvi XFontSel XLogo-color XPICsim XTel-color Xvidtune > Bitmap Editres-color NetHack X3270 XClock Xedit Xgc Xmag XPlaymidi XTelm Xvncviewer > Bitmap-color Fig Rosegarden Xawtv XConsole Xedit-color XISDNLoad Xman XScreenSaver XTelm-msg > Chooser Fig-color Tgif XCalc Xditview XF86Cfg XLoad Xmessage XScreenSaver-nogl XTerm > root@box:~# exit > > So it looks like there are important files. > But it seems the package wants to overrite them and when it cant, it > bombs. > The info says you have downloaded the packages. So you just need to > install them. > Here is my suggestion But there may be a better way. > I'd do: > mv /usr/X11R6/lib/X11/app-defaults /usr/X11R6/lib/X11/app-defaults.old > then run the apt-get -f install again. > If it succeeds, you then copy/move the settings/directories back. > if it fails, post the errors and move the app-defaults back. > > -Kev > Kevin Mark <kmark@pipeline.com>
Attachment:
signature.asc
Description: This is a digitally signed message part