[Pkg-openldap-devel] Bug#443649: Bug#443649: Bug#443649: slapd must depend on mktemp

Matthijs Mohlmann matthijs at cacholong.nl
Sun Sep 23 08:35:18 UTC 2007


Arieh Skliarouk wrote:
> The computer used to be etch, which I subsequently upgraded to unstable.
> 
> On 9/23/07, *Matthijs Mohlmann* <matthijs at cacholong.nl 
> <mailto:matthijs at cacholong.nl>> wrote:
> 
>     Arieh Skliarouk wrote:
>      > Package: slapd
>      > Version: 2.3.38-1
>      >
>      > I did upgrade of slapd and got following error:
>      > ...
>      > Setting up slapd (2.3.38-1) ...
>      >   Backing up /etc/ldap/slapd.conf in
>     /var/backups/slapd-2.3.35-2... done.
>      > /var/lib/dpkg/info/slapd.postinst: line 468: mktemp: command not
>     found
>      > dpkg: error processing slapd (--configure):
>      >  subprocess post-installation script returned error exit status 127
>      >
>      > Can slapd depend on mktemp package?
>      >
>      > --
>      > Arieh
>      >
> 
>     The package mktemp is Essential. How did you manage to remove mktemp
>     from your system ?
> 
>     matthijs at monster % apt-cache show mktemp | grep ^Essential
> 
>     Essential: yes
> 
>     Regards,
> 
>     Matthijs Mohlmann
> 
> 
> 
> 
> -- 
> Arieh

Or mktemp is removed on the upgrade run, or mktemp wasn't installed at 
all on etch too. apt-get gives a warning about the removal of Essential 
packages.

root at monster # apt-get remove mktemp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
   mktemp
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
   mktemp
0 upgraded, 0 newly installed, 1 to remove and 9 not upgraded.
Need to get 0B of archives.
After unpacking 61.4kB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
  ?]

There is no need to add a dependency on an Essential packages, we may 
assume that they are on the system anyway.

Regards,

Matthijs Mohlmann





More information about the Pkg-openldap-devel mailing list