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

Re: apt-get note



	I'm not sure how useful this will be :( since I ended up uninstalling
xterm as part of my fix (although that didn't help, since once I did I
got an error on tetex-base).

heidi:~# dpkg -s xterm
Package: xterm
Status: deinstall ok config-files
Priority: optional
Section: x11
Installed-Size: 580
Maintainer: Branden Robinson <branden@debian.org>
Source: xfree86-1
Version: 3.3.6-11potato32
Config-Version: 3.3.6-11potato32
Replaces: xbase (<< 3.3.2.3a-2)
Provides: x-terminal-emulator
Depends: libc6 (>= 2.1.2), libncurses5, xlib6g (>= 3.3.6-4)
Conflicts: xbase (<< 3.3.2.3a-2)
Conffiles:
 /etc/X11/Xresources/xterm 972de5f944e4e74a6ea71e77fb0e8446
Description: X terminal emulator
 xterm is a terminal emulator for the X Window System.  It provides DEC VT102
 and Tektronix 4014 compatible terminals for programs that cannot use the
 window system directly.  This version implements ISO/ANSI colors and most of
 the control sequences used by DEC VT220 terminals.

--

Here's the results from when i tried to fix it by removing xterm:

heidi:/var/cache/apt/archives# dpkg -i xlibs_4.2.1-12.1_i386.deb
(Reading database ... 38923 files and directories currently installed.)
Preparing to replace xlibs 4.1.0-13 (using xlibs_4.2.1-12.1_i386.deb) ...
Unpacking replacement xlibs ...
dpkg: error processing xlibs_4.2.1-12.1_i386.deb (--install):
 trying to overwrite `/usr/X11R6/lib/X11/app-defaults', which is also in package xterm
Errors were encountered while processing:
 xlibs_4.2.1-12.1_i386.deb
heidi:/var/cache/apt/archives# dpkg -i xlibs_4.2.1-12.1_i386.deb
heidi:/var/cache/apt/archives# dpkg -r xterm
(Reading database ... 38921 files and directories currently installed.)
Removing xterm ...
heidi:/var/cache/apt/archives# dpkg -i xlibs_4.2.1-12.1_i386.deb
(Reading database ... 38899 files and directories currently installed.)
Preparing to replace xlibs 4.1.0-13 (using xlibs_4.2.1-12.1_i386.deb) ...
Unpacking replacement xlibs ...
dpkg: error processing xlibs_4.2.1-12.1_i386.deb (--install):
 trying to overwrite `/usr/X11R6/lib/X11/app-defaults', which is also in package tetex-base
Errors were encountered while processing:
 xlibs_4.2.1-12.1_i386.deb

--

And what I did that finally fixed the problem (although I'm still somewhat
confused as to how):

[attached - it turns out it's a bit long. It's my scren buffer and there's
some stuff that goes further back then the buffer - should have used
script...  in case the list drops the attachment you can get to it at
http://www.cosby.dhs.org/~michael/debian-x/fix_log.txt]

But basically I did a dpkg --force-overwrite, which gave me depedancy problems
that were easy to fix w/apt-get. The interesting this is that the fact that
the directory needed overwriting was all based on dpkg's knowledge,
not the actual state of affairs since dpkg (possibly apt-get, but I'm
pretty sure it was dpkg from apt-get) moved the directory out of the
way when it first encountered it!

When I looked in the directory I had this directory, and no app-defaults
directory:

/usr/X11R6/lib/X11/app-defaults.moved-by-preinst/

Unfortuantely (well, probably fortunately for me) that's all been cleaned
up now so I can't give you an ls.

- Michael

On Tue, 28 Oct 2003, Branden Robinson wrote:

> On Mon, Oct 27, 2003 at 03:28:48PM -0500, Michael P. Cosby wrote:
> > 	got a message to send this to this e-mail address, so like any
> > 	good human i'm doing what I'm told :-) I know my system state is
> > 	a bit weird since I don't update as often as I should. Anyway,
> > 	if this helps then here it is:
> [...]
> > dpkg: error processing /var/cache/apt/archives/xlibs_4.2.1-12.1_i386.deb (--unpack):
> >  trying to overwrite `/usr/X11R6/lib/X11/app-defaults', which is also in package xterm
> > Analyzing /usr/X11R6/lib/X11/app-defaults:
> > drwxr-xr-x   15 root     root         4096 Mar 27  2001 /usr
> > drwxr-xr-x    6 root     root         4096 Oct 27 15:11 /usr/X11R6
> > drwxr-xr-x    3 root     root         4096 Oct 27 15:11 /usr/X11R6/lib
> > drwxr-xr-x    6 root     root         4096 Oct 27 15:11 /usr/X11R6/lib/X11
> > drwxr-xr-x    2 root     root         4096 Oct 27 15:11 /usr/X11R6/lib/X11/app-defaults
> > ERROR: /usr/X11R6/lib/X11/app-defaults is not a symbolic link.  The package
> > preinst script should have failed.
> > Please report the package name, version, and the text of the above error
> > message(s) to <debian-x@lists.debian.org>.
> > dpkg: error while cleaning up:
> >  subprocess post-installation script returned error exit status 1
>
> Can you tell us what version of xterm you have installed?
>
> $ dpkg -s xterm
>
> --
> G. Branden Robinson                |      There's no trick to being a
> Debian GNU/Linux                   |      humorist when you have the whole
> branden@debian.org                 |      government working for you.
> http://people.debian.org/~branden/ |      -- Will Rogers
>



Reply to: