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

apt-get install: unmet dependencies



trying to get an web interface up for a friend to administer his clients' email
servers--tried webmin/qmail, no good (couldn't get qmail to run from the
command line or from the webmail interface). then we tried to install sendmail
just to see... very big badness!


# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  sendmail-bin
Suggested packages:
  sendmail-doc
The following NEW packages will be installed:
  sendmail-bin
0 upgraded, 1 newly installed, 0 to remove and 126 not upgraded.
3 not fully installed or removed.
Need to get 0B/829kB of archives.
After unpacking 1745kB of additional disk space will be used.
Do you want to continue [Y/n]?
(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
Errors were encountered while processing:
 /var/cache/apt/archives/sendmail-bin_8.13.6-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


# apt-get remove fastforward
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  at: Depends: mail-transport-agent
  cyrus21-common: Depends: postfix but it is not going to be installed or
                           mail-transport-agent
  logcheck: Depends: exim4 but it is not going to be installed or
                     mail-transport-agent
  mailx: Depends: exim4 but it is not going to be installed or
                  mail-transport-agent
  mutt: Depends: exim4 but it is not going to be installed or
                 mail-transport-agent
  qmail: Depends: fastforward (> 0.51-zarge0) but it is not going to be
installed
  rmail: Depends: sendmail-bin but it is not going to be installed or
                  mail-transport-agent
  sendmail: Depends: sendmail-bin (= 8.13.6-1) but it is not going to be
installed
  sensible-mda: Depends: sendmail-bin but it is not going to be installed or
                         mail-transport-agent
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a
solution).


# apt-get install sendmail-bin
Reading package lists... Done
Building dependency tree... Done
Suggested packages:
  sendmail-doc
The following NEW packages will be installed:
  sendmail-bin
0 upgraded, 1 newly installed, 0 to remove and 126 not upgraded.
3 not fully installed or removed.
Need to get 0B/829kB of archives.
After unpacking 1745kB of additional disk space will be used.
(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
Errors were encountered while processing:
 /var/cache/apt/archives/sendmail-bin_8.13.6-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


# 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
Errors were encountered while processing:
 /var/cache/apt/archives/sendmail-bin_8.13.6-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of rmail:
 rmail depends on sendmail-bin | mail-transport-agent; however:
  Package sendmail-bin is not installed.
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is not installed.
dpkg: error processing rmail (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sensible-mda:
 sensible-mda depends on sendmail-bin | mail-transport-agent; however:
  Package sendmail-bin is not installed.
  Package mail-transport-agent is not installed.
  Package exim which provides mail-transport-agent is not installed.
dpkg: error processing sensible-mda (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of sendmail:
 sendmail depends on sendmail-bin (= 8.13.6-1); however:
  Package sendmail-bin is not installed.
 sendmail depends on sensible-mda (= 8.13.6-1); however:
  Package sensible-mda is not configured yet.
 sendmail depends on rmail (= 8.13.6-1); however:
  Package rmail is not configured yet.
dpkg: error processing sendmail (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 rmail
 sensible-mda
 sendmail
Press return to continue.


argh! any ideas on how to resolve this without a full reinstall? (i've been
tainted by windows lately, can you tell?)



Reply to: