
我最近在Win10(版本1703)中安裝了Ubuntu Bash WSL。執行 apt-get Upgrade 時,在安裝 Perl 期間出現以下錯誤(抱歉格式錯誤):
Preparing to unpack .../perl-modules-5.22_5.22.1-9ubuntu0.5_all.deb ...
Unpacking perl-modules-5.22 (5.22.1-9ubuntu0.5) over (5.22.1-9) ...
dpkg: error processing archive /var/cache/apt/archives/perl-modules-5.22_5.22.1-9ubuntu0.5_all.deb (--unpack):
unable to make backup link of './usr/share/perl/5.22.1/pod/perldiag.pod' before installing new version: No such file or directory
No apport report written because the error message indicates an issue on the local system
我的 shell 的完整版本字串是 (uname -a):
Linux CSNLEMARTINEZ 4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux
創建符號連結毫無意義(以防萬一有人想到這一點)。我檢查了 /var/cache/apt 中的 deb 檔案是否有任何錯誤,但看起來沒問題。
我已經嘗試過“Windows式”的解決方案:卸載並重新安裝,但沒有效果。