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

Re: apt-get install -f fail, please help

>>>>> "eric" == eric  <fsshl@centurytel.net> writes:

eric> after no-debsig
eric> it still have error :

But at least it's a different error now. ;-)

eric> Calling dpkg with the following arguments...
eric> /usr/bin/dpkg --unpack /var/cache/apt/archives/xlibs_4.2.1-3_i386.deb
eric> (Reading database ... 53728 files and directories currently installed.)
eric> Preparing to replace xlibs 4.0.2-11progeny1 (using .../xlibs_4.2.1-3_i386.deb)
eric> ...
eric> Unpacking replacement xlibs ...
eric> dpkg: error processing /var/cache/apt/archives/xlibs_4.2.1-3_i386.deb
eric> (--unpack):
eric>  trying to overwrite `/usr/X11R6/lib/X11/app-defaults', which is also in
eric> package tetex-base
eric> Errors were encountered while processing:
eric>  /var/cache/apt/archives/xlibs_4.2.1-3_i386.deb
eric> Sub-process /usr/bin/dpkg returned an error code (1)
eric> E: Sub-process /usr/bin/dpkg returned an error code (1)

It looks like you have an older version of tetex-base installed.  IIRC,
there is a conflict because old packages have
/usr/X11R6/lib/X11/app-defaults as a directory, but newer ones have it
as a symlink.  Since it looks like it is only in conflict with
tetex-base, try "apt-get install tetex-base" to upgrade to the newer

In general, if you get the "trying to overwrite ..." error, this is a
bug in one of the packages mentioned if both are at their latest
versions, and you should file a bug report.  It can be temporarily
solved using "dpkg --force-overwrite" IF YOU REALLY KNOW WHAT YOU'RE
DOING (i.e. you could mess up your system by doing that).

Hubert Chan <hubert@uhoreg.ca> - http://www.uhoreg.ca/
PGP/GnuPG key: 1024D/124B61FA
Fingerprint: 96C5 012F 5F74 A5F7 1FF7  5291 AF29 C719 124B 61FA
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

Attachment: pgpBYoe59m0v7.pgp
Description: PGP signature

Reply to: