Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Last login: Mon Dec 19 13:23:15 2011 from 58.68.21.67
root@deb:~# clear
root@deb:~# apt-get install sendmail
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@deb:~# apt-get install sendmail
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
root@deb:~# cd /var/lib/dpkg/
root@deb:/var/lib/dpkg# rm -rf lock
root@deb:/var/lib/dpkg# apt-get install sendmail
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@deb:/var/lib/dpkg# dpkg --configure -a
Setting up sendmail-base (8.14.3-9.4) ...
adduser: Warning: The home directory `/var/lib/sendmail' does not belong to the user you are currently creating.
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing sendmail-base (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
sendmail-base
root@deb:/var/lib/dpkg# apt-get install sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
sendmail : Depends: sendmail-bin but it is not going to be installed
E: Broken packages
root@deb:/var/lib/dpkg# ^C
root@deb:/var/lib/dpkg# ^C
root@deb:/var/lib/dpkg#
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
liblockfile1 procmail sendmail-bin sendmail-cf sensible-mda
Suggested packages:
sendmail-doc rmail sasl2-bin
Recommended packages:
default-mta mail-transport-agent fetchmail
The following packages will be REMOVED:
exim4-base
The following NEW packages will be installed:
liblockfile1 procmail sendmail sendmail-bin sendmail-cf sensible-mda
0 upgraded, 6 newly installed, 1 to remove and 41 not upgraded.
4 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
root@dev01aviakassaru:~# aptitude install sendmail
The following NEW packages will be installed:
liblockfile1{a} procmail{a} sendmail sendmail-bin{a} sendmail-cf{a}
sensible-mda{a}
The following partially installed packages will be configured:
man-db phpmyadmin sendmail-base
0 packages upgraded, 6 newly installed, 0 to remove and 42 not upgraded.
Need to get 0 B of archives. After unpacking 4,329 kB will be used.
The following packages have unmet dependencies:
exim4-base: Depends: exim4-config (>= 4.30) but it is not going to be installed. or
exim4-config-2 which is a virtual package.
E: I wasn't able to locate file for the exim4-base package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:
Remove the following packages:
1) exim4-base
Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
liblockfile1{a} procmail{a} sendmail sendmail-bin{a} sendmail-cf{a}
sensible-mda{a}
The following packages will be REMOVED:
exim4-base{a}
The following partially installed packages will be configured:
man-db phpmyadmin sendmail-base
0 packages upgraded, 6 newly installed, 1 to remove and 41 not upgraded.
Need to get 0 B/1,878 kB of archives. After unpacking 2,601 kB will be used.
Do you want to continue? [Y/n/?] y
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
(Reading database ... 29972 files and directories currently installed.)
Removing exim4-base ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing exim4-base (--remove):
subprocess installed post-removal script returned error exit status 1
configured to not write apport reports
Errors were encountered while processing:
exim4-base
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up man-db (2.5.7-8) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing man-db (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up sendmail-base (8.14.3-9.4) ...
debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing sendmail-base (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
man-db
sendmail-base
root@deb:~# aptitude install sendmail
The following NEW packages will be installed:
liblockfile1{a} procmail{a} sendmail sendmail-bin{a} sendmail-cf{a} sensible-mda{a}
The following partially installed packages will be configured:
man-db phpmyadmin sendmail-base
0 packages upgraded, 6 newly installed, 0 to remove and 42 not upgraded.
Need to get 0 B of archives. After unpacking 4,329 kB will be used.
The following packages have unmet dependencies:
exim4-base: Depends: exim4-config (>= 4.30) but it is not going to be installed. or
exim4-config-2 which is a virtual package.
E: I wasn't able to locate file for the exim4-base package. This might mean you need to manually fix this package.
The following actions will resolve these dependencies:
Remove the following packages:
1) exim4-base
Accept this solution? [Y/n/q/?]
Last edited by jayakumar01; 12-19-2011 at 07:57 AM.
root@deb:~# apt-get -f install sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.30) but it is not going to be installed or
exim4-config-2
sendmail : Depends: sendmail-bin but it is not going to be installed
Depends: sendmail-cf but it is not going to be installed
Depends: sensible-mda but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@deb:~#
root@dev01aviakassaru:~# apt-get install sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.30) but it is not going to be installed or
exim4-config-2
sendmail : Depends: sendmail-bin but it is not going to be installed
Depends: sendmail-cf but it is not going to be installed
Depends: sensible-mda but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@dev01aviakassaru:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
exim4-base exim4-config
Suggested packages:
mail-reader eximon4 exim4-doc-html exim4-doc-info spf-tools-perl swaks
The following NEW packages will be installed:
exim4-config
The following packages will be upgraded:
exim4-base
1 upgraded, 1 newly installed, 0 to remove and 41 not upgraded.
2 not fully installed or removed.
E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/cache/apt/archives/
root@dev01aviakassaru:~# apt-get install sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.30) but it is not going to be installed or
exim4-config-2
sendmail : Depends: sendmail-bin but it is not going to be installed
Depends: sendmail-cf but it is not going to be installed
Depends: sensible-mda but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
root@dev01aviakassaru:~# apt-get -f install sendmail
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.30) but it is not going to be installed or
exim4-config-2
sendmail : Depends: sendmail-bin but it is not going to be installed
Depends: sendmail-cf but it is not going to be installed
Depends: sensible-mda but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
can u help me how can i skip the package exim while installation of sendmail .how can i remove exim package im very new to dedian .can help me the command to install sendmail packge alone in centos i used to work out the yum conflict by using the below comand
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
exim4-base : Depends: exim4-config (>= 4.30) but it is not going to be installed or
exim4-config-2
sendmail : Depends: sendmail-bin but it is not going to be installed
Depends: sendmail-cf but it is not going to be installed
Depends: sensible-mda but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
When you got below error just run the apt-get -f install they will fix this issue and then check the sendmail package is installed or not. Please let me know the result.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.