mktemp is not unpacked/installed early enough also it is essential: yes

Bug #208385 reported by Adam Sommer
2
Affects Status Importance Assigned to Milestone
debianutils (Ubuntu)
Fix Released
High
Steve Langasek

Bug Description

Binary package hint: update-manager

Hello,

I did an upgrade on a test box of a Dapper LDAP server to Hardy, and received this error that killed the install:

Preparing to replace slapd 2.2.26-5ubuntu2.6 (using .../slapd_2.4.7-6ubuntu2_i386.deb) ...
Stopping OpenLDAP: slapd.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
 LANGUAGE = "en",
 LC_ALL = (unset),
 LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_ALL to default locale: No such file or directory
  Dumping to /var/backups/slapd-2.2.26-5ubuntu2.6:
/var/lib/dpkg/tmp.ci/preinst: line 373: mktemp: command not found
dpkg: error processing /var/cache/apt/archives/slapd_2.4.7-6ubuntu2_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 127

The process I uses was:

  sudo apt-get install update-manager-core
  sudo do-release-upgrade -d

This was using x86 Server Edition.

Thanks

Revision history for this message
Adam Sommer (asommer) wrote :
Revision history for this message
Adam Sommer (asommer) wrote :
Revision history for this message
Adam Sommer (asommer) wrote :
Revision history for this message
Adam Sommer (asommer) wrote :

Attached all the logs in case they're needed.

Michael Vogt (mvo)
description: updated
Changed in update-manager:
importance: Undecided → High
milestone: none → ubuntu-8.04
status: New → Confirmed
Steve Langasek (vorlon)
Changed in update-manager:
assignee: nobody → vorlon
Revision history for this message
Steve Langasek (vorlon) wrote :

This is fixed, but I flubbed the bug number in the changelog:

debianutils (2.28.2-0ubuntu1) hardy; urgency=low

  * Resurrect pre-depends on mktemp and coreutils, still needed for upgrades
    from dapper; can be dropped again for intrepid. LP: #20385.
  * Modify Maintainer value to match the DebianMaintainerField
    specification.

 -- Steve Langasek < <email address hidden>> Mon, 31 Mar 2008 10:42:41 -0700

Changed in debianutils:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.