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

Re: exim4-config and exim4-base installed on systems with non-exim-MTA



On Thu, 4 Dec 2003 13:43:39 +1000, Anthony Towns
<aj@azure.humbug.org.au> wrote:
>The one that gets installed later, Pre-Deps the one that gets installed
>earlier. exim4-daemon Pre-Depends: exim4-config; exim4-config Depends:
>exim4-base, probably.

Unfortunately, that doesn't work. apt immediately bombs out with "E:
Internal Error, Couldn't configure a pre-depend", while installing all
three packages using dpkg simultaneously doesn't work as well:

|[3/3]mh@kes[chroot woody]:/var/cache/apt/archives$ sudo dpkg --install exim4-base_4.30-0.unreleased_i386.deb exim4-config_4.30-0.unreleased_all.deb exim4-daemon-light_4.30-0.unreleased_i386.deb 
|(Reading database ... 4426 files and directories currently installed.)
|Preparing to replace exim4-base 4.30-0.unreleased (using exim4-base_4.30-0.unreleased_i386.deb) ...
|Unpacking replacement exim4-base ...
|Preparing to replace exim4-config 4.30-0.unreleased (using exim4-config_4.30-0.unreleased_all.deb) ...
|Unpacking replacement exim4-config ...
|dpkg: regarding exim4-daemon-light_4.30-0.unreleased_i386.deb containing exim4-daemon-light, pre-dependency problem:
| exim4-daemon-light pre-depends on exim4-base (>= 4.30)
|  exim4-base is unpacked, but has never been configured.
|dpkg: error processing exim4-daemon-light_4.30-0.unreleased_i386.deb (--install):
| pre-dependency problem - not installing exim4-daemon-light
|dpkg: dependency problems prevent configuration of exim4-base:
| exim4-base depends on exim4-daemon; however:
|  Package exim4-daemon is not installed.
|dpkg: error processing exim4-base (--install):
| dependency problems - leaving unconfigured
|Setting up exim4-config (4.30-0.unreleased) ...
|
|Errors were encountered while processing:
| exim4-daemon-light_4.30-0.unreleased_i386.deb
| exim4-base
|[4/4]mh@kes[chroot woody]:/var/cache/apt/archives$ 

Looks like we have the following problem:
- exim4-daemon-light and exim4-base are to be installed
- exim4-daemon-light is not unpacked because it pre-depends on
  exim4-base.
- exim4-base can not be configured because exim4-daemon-light is not 
  yet unpacked.

This seems like the clash cannot be solved. Or does anybody have any
ideas?

Do I see correctly that the default MTA is selected by means of
package priority, like that the only MTA of Priority: Important is the
default? Is there any other means of selecting the default MTA?

And do I see correctly that the rule "Packages must not depend on
packages with lower priorities" is a legacy from the times where CD
makers were not able to follow Dependency chains?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29



Reply to: