Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apt-get on debian failing on previous install

Status
Not open for further replies.

keak

Programmer
Sep 12, 2005
247
CA
Hi there,
When I try to install anything with apt-get on my debian, i am getting

Code:
 courier-imap: Depends: exim4 but it is not installed or
                         mail-transport-agent
  courier-pop: Depends: exim4 but it is not installed or
                        mail-transport-agent
  mutt: Depends: exim4 but it is not installed or
                 mail-transport-agent
  sensible-mda: Depends: sendmail-bin but it is not installed or
                         mail-transport-agent
  ucspi-tcp-src: Depends: fakeroot but it is not installed or
                          sudo but it is not installed
  webmin-sendmail: Depends: sendmail but it is not installed

is there a way to clear this previous failed installations?

I tiried apt-get -f install and I get

Code:
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  exim4 exim4-base exim4-config exim4-daemon-light fakeroot
Suggested packages:
  eximon4 exim4-doc-html exim4-doc-info
The following packages will be REMOVED:
  webmin-sendmail
The following NEW packages will be installed:
  exim4 exim4-base exim4-config exim4-daemon-light fakeroot
0 upgraded, 5 newly installed, 1 to remove and 104 not upgraded.
2 not fully installed or removed.
Need to get 0B/1497kB of archives.
After unpacking 1122kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Preconfiguring packages ...
(Reading database ... 48342 files and directories currently installed.)
Removing webmin-sendmail ...
/var/lib/dpkg/info/webmin-sendmail.prerm: line 5: /usr/sbin/update-webmin: No such file or directory
dpkg: error processing webmin-sendmail (--remove):
 subprocess pre-removal script returned error exit status 1
/var/lib/dpkg/info/webmin-sendmail.postinst: line 4: /usr/sbin/update-webmin: No such file or directory
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 webmin-sendmail
E: Sub-process /usr/bin/dpkg returned an error code (1)



 
Have you tried to manually remove those packages or to re-install them.

apt-get remove courier-imap


or if you want to get fresh versions

apt-get --reinstall install courier-imap

Cheers

QatQat

Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top