[karmic] The essential package 'mktemp' is marked for removal.

Bug #383768 reported by xteejx
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
coreutils (Debian)
Fix Released
Unknown
coreutils (Ubuntu)
Fix Released
Critical
Unassigned
mktemp (Ubuntu)
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

In Karmic, when trying to use update-manager.

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade:
The essential package 'mktemp' is marked for removal.

 This can be caused by:
 * Upgrading to a pre-release version of Ubuntu
 * Running the current pre-release version of Ubuntu
 * Unofficial software packages not provided by Ubuntu

This is most likely a transient problem, please try again later.

ProblemType: Bug
Architecture: amd64
Date: Thu Jun 4 23:29:37 2009
DistroRelease: Ubuntu 9.10
Package: update-manager 1:0.120
PackageArchitecture: all
ProcEnviron:
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-5.6-generic
SourcePackage: update-manager
Uname: Linux 2.6.30-5-generic x86_64

Revision history for this message
xteejx (xteejx) wrote :
Revision history for this message
xteejx (xteejx) wrote : apport-collect data

Architecture: amd64
DistroRelease: Ubuntu 9.10
Package: update-manager 1:0.120
PackageArchitecture: all
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.30-5.6-generic
Uname: Linux 2.6.30-5-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
xteejx (xteejx) wrote :
Revision history for this message
Martin Beltov (mbeltov) wrote :

I can confirm this on ubuntu 9.10 32-bit

Rocko (rockorequin)
Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
William LaFrance (wjlafrance) wrote :

This has nothing to do with upgrade-manager, simply a package being flagged as essential.

william@inspiration:~$ sudo apt-get dist-upgrade
[clip]
The following packages will be REMOVED:
  mktemp
The following packages will be upgraded:
  coreutils
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  mktemp

According to http://www.mktemp.org/:
"A different, but compatible, implementation of mktemp is available as part of GNU coreutils."

There you have it. Upgrading coreutils will include the functionality of the old mktemp package.

To continue type in the phrase 'Yes, do as I say!'
 ?] Yes, do as I say!

Changed in update-manager (Ubuntu):
status: Confirmed → Invalid
Changed in mktemp (Ubuntu):
status: New → Confirmed
Revision history for this message
xteejx (xteejx) wrote :

I'm not too sure that would be a good idea to break coreutils by forcing an update...

tags: added: metabug
Revision history for this message
Savvas Radevic (medigeek) wrote :

Reopening update-manager

William LaFrance:
It is related to update-manager, with this suggestion/thought:
Could update-manager be tweaked to ignore the "essential" status of mktemp package for the upgrade?

Changed in update-manager (Ubuntu):
status: Invalid → New
Revision history for this message
Savvas Radevic (medigeek) wrote :

About coreutils:

Conflicts: mktemp
Replaces: mktemp

Perhaps it should have "Provides: mktemp" ?

Revision history for this message
Daniel Holbach (dholbach) wrote :

The new coreutils is going to replace mktemp. The fix is uploaded, but it needs to be processed manually.

See https://launchpad.net/ubuntu/+source/coreutils for more information.

It'll be processed soon.

Revision history for this message
Daniel Holbach (dholbach) wrote :

update-manager and apt really shouldn't ignore "essential".

Changed in update-manager (Ubuntu):
status: New → Invalid
Revision history for this message
Savvas Radevic (medigeek) wrote :

Or mktemp's "Essential: yes" ought to be removed :)

Revision history for this message
Savvas Radevic (medigeek) wrote :

> It'll be processed soon.

ok thanks!

Revision history for this message
Colin Watson (cjwatson) wrote :

There's no bug to fix in the mktemp source package; its binary is being taken over by coreutils.

Changed in mktemp (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Colin Watson (cjwatson) wrote :

We've synced in the new coreutils from Debian:

coreutils (7.4-2) unstable; urgency=low

  * move mktemp to /bin instead of /usr/bin (Closes: #531842)
  * include fake non-essential mktemp package (Closes: #531846)

 -- Michael Stone <email address hidden> Thu, 04 Jun 2009 17:40:56 -0400

This requires manual recovery on the buildds, though. This is in progress right now (thanks to LaMont Jones for mangling the buildd chroots), and I'll close this bug once it's done.

Changed in coreutils (Ubuntu):
importance: Undecided → Critical
status: New → In Progress
Changed in coreutils (Debian):
status: Unknown → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

This is fixed now; I've confirmed with 'apt-get dist-upgrade'.

Changed in coreutils (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
xteejx (xteejx) wrote :

Confirmed, works fine with update-manager as well - Thanks guys! :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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