如何接受 ttf-mscorefonts-installer 的 Microsoft EULA 協定?

如何接受 ttf-mscorefonts-installer 的 Microsoft EULA 協定?

最近更新後,ttf-mscorefonts-installer提示我接受其許可協議。

 ┌─────────────────┤ Configuring ttf-mscorefonts-installer ├─────────────────┐
 │                                                                           │ 
 │ TrueType core fonts for the Web EULA                                        
 │ END-USER LICENSE AGREEMENT FOR MICROSOFT SOFTWARE                           
 │ IMPORTANT-READ CAREFULLY: This Microsoft End-User License Agreement         
 │ ("EULA") is a legal agreement between you (either an individual or a        
 │ single entity) and Microsoft Corporation for the Microsoft software         
 │ accompanying this EULA, which includes computer software and may include    
 │ associated media, printed materials, and "on-line" or electronic            
 │ documentation ("SOFTWARE PRODUCT" or "SOFTWARE"). By exercising your        
 │ rights to make and use copies of the SOFTWARE PRODUCT, you agree to be      
 │ bound by the terms of this EULA. If you do not agree to the terms of        
 │ this EULA, you may not use the SOFTWARE PRODUCT.                            
 │                                  <Ok>                                       
 │                                                                           │ 
 └───────────────────────────────────────────────────────────────────────────┘ 

螢幕截圖:
在此輸入影像描述

由於某種原因,我的終端不允許我接受,或者由於某種原因,我按了錯誤的熱鍵...我已經嘗試了鍵盤上的每個字母等等Enter...我確信有一個非常簡單且明顯的解決方案。

答案1

那就 ⇆ TAB 這樣return ↵

:-)


一般來說,導航ncurses-風格選單:

  • 使用Tab鍵從一個元素(例如按鈕、文字方塊)移動到下一個元素。使用Shift+Tab反向移動。
  • 用於Spacebar“單擊”所選按鈕。
  • 用於Enter按一下預設按鈕(或目前選定的按鈕,如果沒有預設按鈕)。
  • Page Up您可以使用箭頭鍵以及和在文字方塊中上下移動Page Down。如果這不起作用,請按Tab直到選擇您要導航的文字方塊。

如果您無意中表示您不同意 EULA,並且您希望有機會再次查看並同意,您可以重新安裝ttf-mscorefonts-installer,清除其全域設定檔:

sudo apt-get --purge --reinstall install ttf-mscorefonts-installer

答案2

正常安裝、部署或在腳本中

使用 debconf 預設選擇。這不會提示接受許可證:

echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections
sudo apt-get install ttf-mscorefonts-installer

帶啟動功能

將其新增至您的 Kickstart.cfg 檔案:

preseed --owner ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true

答案3

您也可以使用單一命令接受許可證,如下所示:

echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections

這將避免創建conf 檔案。

如果您使用 puppet,這裡是安裝該套件的方法:

class unifocus-context::msfonts {
  exec { "accept-msttcorefonts-license":
    command => "/bin/sh -c \"echo ttf-mscorefonts-installer msttcorefonts/accepted-     mscorefonts-eula select true | debconf-set-selections\""
  }

  package { "msttcorefonts":
    ensure  => installed,
    require => Exec['accept-msttcorefonts-license']
  }
}

答案4

嘗試點擊(右箭頭鍵)。然後使用箭頭鍵導航並輸入(即返回)以選擇選項。

相關內容