Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am trying to install debian 6. In the embedded ash and BusyBox environment (from debian installer) there is only udpkg, so no apt. I want to install apt, but it gets an error:

apt postinstall exited with code 127
mktemp not found

I didn't find the mktemp. So I downloaded the debian package for it: mktemp_8.5-1_all.deb and installed it with udpkg. There was no error.

But if I try to find mktemp - there is no mktemp. In the /var/lib/dpkg/status the status of mktemp is install ok installed. Do I smth. wrong?

share|improve this question
Why aren't you just using the debian installer? –  gparent Nov 14 '12 at 15:11
its on VPS, I want make partitioning in the shell, without using the debian's internal partition manager –  static Nov 14 '12 at 15:13
Then do that, and then use the installer. –  gparent Nov 14 '12 at 15:14
On my debian, /bin/mktemp is part of coreutils. mktemp is a dummy package that has nothing. –  DerfK Nov 14 '12 at 15:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.