Re: apt-get install: unmet dependencies
will@serensoft.com wrote:
> # aptitude
> <try to delete fastforward and install sendmail-bin simultaneously>
> (Reading database ... 46737 files and directories currently installed.)
> Unpacking sendmail-bin (from .../sendmail-bin_8.13.6-1_i386.deb) ...
> dpkg: error processing /var/cache/apt/archives/sendmail-bin_8.13.6-1_i386.deb
> (--unpack):
> trying to overwrite `/usr/sbin/newaliases', which is also in package
> fastforward
> abort-install of sendmail-bin
>From this error, it looks like sendmail-bin and fastforward packages
include the same file /usr/sbin/newaliases. The best way to fix the
situation:
dpkg -i --force-overwrite /var/cache/apt/archives/sendmail-bin*.deb
The "--force-overwrite" option to dpkg tells it to ignore the problem
and overwrite fastforward's copy of the duplicate file. This should be
enough to get you past the other errors.
Generally it's a bug for packages to include the same file without
taking special measures. The bug would be in either sendmail-bin or
fastforward. I can't find fastforward listed in the Debian package
database -- is it an unofficial package?
--
Kevin B. McCarty <kmccarty@princeton.edu> Physics Department
WWW: http://www.princeton.edu/~kmccarty/ Princeton University
GPG: public key ID 4F83C751 Princeton, NJ 08544
Reply to: