簡體   English   中英

安裝Ruby for Jekyll時出現安裝錯誤

[英]Installation error when installing Ruby for Jekyll

我在Windows 10企業版(內部版本1703)上運行。我安裝了Anaconda 4.4.0和Python 3.6。 我正在運行bash並已安裝Ubuntu Linux

我正在嘗試安裝Ruby for Jekyll( https://jekyllrb.com/docs/windows/#installing-jekyll )。

安裝命令為:

sudo apt-get install ruby2.3 ruby2.3-dev build-essential

它給出了錯誤:

root@bigsur:/mnt/c/Windows/System32# sudo apt-get install ruby2.3 ruby2.3-dev build-essential
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
root@bigsur:/mnt/c/Windows/System32#
root@bigsur:/mnt/c/Windows/System32#
root@bigsur:/mnt/c/Windows/System32# sudo dpkg --configure -a
dpkg: dependency problems prevent configuration of python3.5:
 python3.5 depends on python3.5-minimal (= 3.5.2-2ubuntu0~16.04.3); however:
  Version of python3.5-minimal on system is 3.5.2-2ubuntu0~16.04.1.
 python3.5 depends on libpython3.5-stdlib (= 3.5.2-2ubuntu0~16.04.3); however:
  Package libpython3.5-stdlib:amd64 is not installed.

dpkg: error processing package python3.5 (--configure):
 dependency problems - leaving unconfigured
Setting up libapt-inst2.0:amd64 (1.2.24) ...
dpkg: unrecoverable fatal error, aborting:
 unable to truncate for updated status of 'libapt-inst2.0:amd64': Invalid argument
root@bigsur:/mnt/c/Windows/System32#

任何幫助將不勝感激。

查爾斯

我在Internet上讀過許多帖子,其中說最好的安裝Jekyll的方法是通過linux子系統進行安裝。 我現在意識到這是個壞建議。 遇到麻煩(見上文)后,我重新開始。 我發現Windows 10 Enterprise的Build 1703已經具有安裝Jekyll的基礎結構,其說明如下: https : //jekyllrb.com/docs/installation/ 我按照這些說明進行操作,現在已經完成了Jekyll的全新安裝。 不要打擾安裝Ubuntu。 您不需要它,您將節省700 MB以上的磁盤空間。

查爾斯

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM