Sewaktu melakukan upgrade lewat apt-get

apt-get clean all; apt-get update; apt-get upgrade

muncul error

After this operation, 8,192 B of additional disk space will be used.
Setting up apt (0.9.7.9+deb7u4) ...
mktemp: failed to create file via template `/tmp/tmp.XXXXXXXXXX': No such file or directory
dpkg: error processing apt (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 apt
E: Sub-process /usr/bin/dpkg returned an error code (1)

error tersebut muncul karena folder /tmp tidak ada/terhapus, jadi harus dibuat ulang

mkdir /tmp

lalu jalankan perintah upgrade sekali lagi

apt-get upgrade

perintah sukses ;)

### log 
....
....
Unpacking replacement ffmpeg ...
Processing triggers for man-db ...
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 columns wide.)
debconf: falling back to frontend: Readline
Setting up libapt-inst1.5:amd64 (0.9.7.9+deb7u4) ...
Setting up libavutil51:amd64 (6:0.8.16-1) ...
Setting up libavcodec53:amd64 (6:0.8.16-1) ...
...
...

Leave a comment

Your email address will not be published. Required fields are marked *