版主大大您好:
當我按照書上用書附的光碟做好簡易安裝之後,想要按照290 頁升級
1. 先 vi /etc/atp/sources.list 將stable全部改成unstable但是在 security 那個http連結,是改成testing,
因為改成unstable,apt-get update會發生錯誤
2. 執行 apt-get update,OK... 馬上執行 apt-get dist-upgrade,一開始都很順利,但是之後卻出現了錯誤訊息,如下:
Setting up exim( 3.36-9.1 )...
hostname: Host name lookup failure
hostname --fqdn gave non-zero exit code 256
dpkg: error processing exim( --configure ):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mailx:
mailx depends on mail-transport-agent; however;
Package mail-transport-agent is not installed.
Package exim which provides mail-transport-agent is not configured yet.
dpkg: error processing mailx( --configure ):
dependency problems - leaving unconfigured
Errors were encounted while processing:
exim
mailx
E:Sub-process /usr/bin/dpkg returned on error code(1)
有用關鍵字 exim or mailx 查詢過,也有在這個書上的討論版看過,可是都沒有找到相關的解決辦法,麻煩您了,感謝。