S
S
seveiven2013-02-11 13:48:23
ubuntu
seveiven, 2013-02-11 13:48:23

Ubuntu 12.04. mktemp not found after apt-get dist-upgrade

Good day to all.
After the dist-upgrade procedure, I observe the following picture.

update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.2.0-34-generic
/usr/sbin/mkinitramfs: 168: /usr/sbin/mkinitramfs: mktemp: not found
update-initramfs: failed for /boot/initrd.img-3.2.0-34-generic with 1.


Although dpkg says everything is ok.

dpkg --configure mktemp
dpkg: не удалось обработать параметр mktemp (--configure):
 пакет mktemp уже установлен и настроен
При обработке следующих пакетов произошли ошибки:
 mktemp


dpkg -l mktemp
Желаемый=неизвестно[u]/установить[i]/удалить[r]/вычистить[p]/зафиксировать[h]
| Состояние=не[n]/установлен[i]/настроен[c]/распакован[U]/частично настроен[F]/
            частично установлен[H]/trig-aWait/Trig-pend
|/ Ошибка?=(нет)/требуется переустановка[R] (верхний регистр
в полях состояния и ошибки указывает на ненормальную ситуацию)
||/ Имя         Версия   Описание
+++-==============-==============-============================================
ii  mktemp         8.13-3ubuntu3  coreutils mktemp transitional package


Kernel version
uname -r
3.2.0-34-generic


What are your thoughts, thoughts?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Yablokov, 2013-02-11
@Gular

And what displays whereis mktemp?
Also, there should be a dpkg-reconfigure utility.

3
3vi1_0n3, 2013-02-11
@3vi1_0n3

ii mktemp 8.13-3ubuntu3 coreutils mktemp transitional package

See the coreutils package, mktemp itself is transitional, left for compatibility.
$ apt-cache show coreutils
Package: coreutils
Essential: yes
Priority: required
Section: utils
Installed-Size: 13828
Maintainer: Michael Stone <[email protected]>
Architecture: amd64
Version: 8.5-1
Replaces: mktemp, timeout
Pre-Depends : libacl1 (>= 2.2.11-1), libattr1 (>= 2.4.41-1), libc6 (>= 2.6), libselinux1 (>= 1.32)
Conflicts: timeout
Filename: pool/main/c/coreutils/coreutils_8 .5-1_amd64.deb
Size: 5101728
MD5sum: 77aff0d952e7e7a29405932f8f805f15 the
SHA1: 340d044ce4173ba50d4cbecd05639699248313df the
SHA256: 3fa9abf9ae6377ab55b897b3667eaf267da9bc0b2dbf45ca3e915f77a10bc346
Description-en: Essential GNU System Utilities This
package contains the basic file, shell,
and text utilities that every operating system is expected to have.
.
The package includes the following programs:
arch base64 basename cat chcon chgrp chmod chown chroot cksum comm cp
csplit cut date dd df dir dircolors dirname du echo env expand expr
factor false flock fmt fold groups head hostid id install join link ln
logname ls md5sum mkdir mkfifo mknod mktemp mv nice nl nohup nproc od
paste pathchk pinky pr printenv printf ptx pwd readlink rm rmdir runcon
sha*sum seq shred sleep sort split stat stty sum sync tac tail tee test
timeout touch tr true truncate tsort tty uname unexpand uniq unlink users vdir
wc who whoami yes scope::utility, suite::gnu, works-with::file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question