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

Bug#579262: marked as done (/usr/sbin/mkinitramfs: 141: mktemp: not found)



Your message dated Mon, 26 Apr 2010 18:32:13 +0100
with message-id <20100426173212.GM16821@decadent.org.uk>
and subject line Re: Bug#579262: /usr/sbin/mkinitramfs: 141: mktemp: not found
has caused the Debian Bug report #579262,
regarding /usr/sbin/mkinitramfs: 141: mktemp: not found
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
579262: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579262
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.93.4
Severity: normal

mkinitramfs needs mktemp, but initramfs-tools doesn't have a dependency
on mktemp or coreutils >=7.4-1. mktemp is no longer a "Priority:
required" package. As a result of this I get the following problem.

palfrey@missfun:[~] sudo dpkg -a --configure
Setting up initramfs-tools (0.93.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.32-3-amd64
/usr/sbin/mkinitramfs: 141: mktemp: not found
update-initramfs: failed for /boot/initrd.img-2.6.32-3-amd64
dpkg: subprocess installed post-installation script returned error exit status 1


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=//vmlinuz-2.6.32-3-amd64 root=/dev/mapper/missfun-root ro quiet

-- /proc/filesystems
	ext3
	ext2
	fuseblk
	ext4
	reiserfs
	xfs
	jfs
	msdos
	vfat
	ntfs
	hfs
	hfsplus
	ufs
	udf
	iso9660

-- lsmod
Module                  Size  Used by
parport_pc             18855  1 
vboxnetadp              4225  0 
vboxnetflt              9978  0 
vboxdrv              1710854  3 vboxnetadp,vboxnetflt
nls_cp437               5817  1 
ppdev                   5030  0 
lp                      7462  0 
parport                27938  3 parport_pc,ppdev,lp
usb_storage            38521  1 
isofs                  27480  0 
udf                    66644  0 
crc_itu_t               1307  1 udf
nls_utf8                1208  1 
ufs                    56490  0 
hfsplus                65270  0 
hfs                    37439  0 
ntfs                  162860  0 
vfat                    7884  1 
msdos                   6202  0 
fat                    40054  2 vfat,msdos
jfs                   140051  0 
xfs                   435388  0 
exportfs                3170  1 xfs
reiserfs              194010  0 
ext4                  285099  0 
jbd2                   66887  1 ext4
crc16                   1319  1 ext4
cpufreq_conservative     5162  0 
cpufreq_powersave        902  0 
cpufreq_userspace       1992  0 
cpufreq_stats           2659  0 
fuse                   50110  3 
ext2                   52969  1 
loop                   11783  0 
snd_hda_codec_analog    64530  1 
snd_hda_intel          19619  2 
snd_hda_codec          54212  2 snd_hda_codec_analog,snd_hda_intel
snd_hwdep               5364  1 snd_hda_codec
snd_pcm                60615  2 snd_hda_intel,snd_hda_codec
snd_timer              15502  1 snd_pcm
usbhid                 33132  0 
hid                    62825  1 usbhid
snd                    46350  10 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               4598  1 snd
psmouse                49505  0 
snd_page_alloc          6217  2 snd_hda_intel,snd_pcm
dcdbas                  5048  0 
i2c_i801                7798  0 
pcspkr                  1699  0 
serio_raw               3752  0 
evdev                   7336  8 
processor              30215  0 
ext3                  106486  1 
jbd                    37053  1 ext3
mbcache                 4970  3 ext4,ext2,ext3
dm_mod                 53674  6 
uhci_hcd               18505  0 
sg                     18728  0 
sr_mod                 12602  0 
sd_mod                 29689  5 
cdrom                  29399  1 sr_mod
crc_t10dif              1276  1 sd_mod
ata_generic             2983  0 
i915                  248774  5 
drm_kms_helper         18899  1 i915
ahci                   32038  2 
drm                   137190  6 i915,drm_kms_helper
i2c_algo_bit            4225  1 i915
libata                132183  2 ata_generic,ahci
scsi_mod              121925  5 usb_storage,sg,sr_mod,sd_mod,libata
i2c_core               15584  4 i2c_i801,i915,drm,i2c_algo_bit
video                  17445  1 i915
button                  4634  1 i915
ehci_hcd               30706  0 
output                  1692  1 video
e1000e                109919  0 
usbcore               121703  5 usb_storage,usbhid,uhci_hcd,ehci_hcd
nls_base                6377  11 nls_cp437,isofs,udf,nls_utf8,hfsplus,hfs,ntfs,vfat,fat,jfs,usbcore
ide_pci_generic         2788  0 
ide_core               76850  1 ide_pci_generic
intel_agp              25593  1 
thermal                11674  0 
fan                     3346  0 
thermal_sys            11878  4 processor,video,thermal,fan

-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
postinst_hook = update-grub
postrm_hook   = update-grub

-- /etc/initramfs-tools/initramfs.conf
MODULES=most
BUSYBOX=y
KEYMAP=n
BOOT=local
DEVICE=eth0
NFSROOT=auto


-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (700, 'stable'), (650, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initramfs-tools depends on:
ii  cpio                         2.10-1      GNU cpio -- a program to manage ar
ii  findutils                    4.4.2-1     utilities for finding files--find,
ii  klibc-utils                  1.5.15-1    small utilities built with klibc f
ii  module-init-tools            3.12~pre1-1 tools for managing Linux kernel mo
ii  udev                         151-2       /dev/ and hotplug management daemo

Versions of packages initramfs-tools recommends:
ii  busybox                       1:1.10.2-2 Tiny utilities for small and embed

initramfs-tools suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On Mon, Apr 26, 2010 at 04:55:43PM +0200, Sven Joachim wrote:
> On 2010-04-26 16:45 +0200, Tom Parker wrote:
> 
> > On 26/04/10 15:32, maximilian attems wrote:
> >> coreutils is priority required, your box looks broken.
> >> please investigate how it came to missing mktemp.
> >> thanks
> >
> > There was an installed copy of coreutils, but version 6.10-6 which
> > doesn't contain mktemp. The issue is partly because this is a mixed
> > release box, with some stable, testing and unstable packages, but this
> > is still an issue that should be dealt with (partially because it may
> > cause weird upgrade issues for some users I suspect).
> 
> You probably downgraded coreutils from a version that replaced mktemp,
> check /var/log/dpkg*.  This is not supported, and you have to fix it
> yourself (reinstall mktemp or upgrade coreutils).
 
Right.  There is no way to get into this situation during an *upgrade*
as both mktemp and coreutils are essential.  And explicit dependencies
on essential packages are not allowed.  Therefore this is not a bug but
user error.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
                                                              - Albert Camus


--- End Message ---

Reply to: