409

After a recent update, ttf-mscorefonts-installer prompted me to accept its license agreement.

 ┌─────────────────┤ 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>                                       
 │                                                                           │ 
 └───────────────────────────────────────────────────────────────────────────┘ 

Screenshot:
enter image description here

For some reason my terminal will not allow me to accept, or for some reason I am pressing the wrong hotkey... I've tried every letter on the keyboard and Enter among others... I'm sure there is a very simple and obvious solution to this.

Peter
  • 4,613

5 Answers5

550

It's  ⇆ TAB , then return ↵.

:-)


In general, to navigate ncurses-style menus:

  • Use the Tab key to move from one element (e.g., button, text box) to the next. Use Shift+Tab to move in reverse.
  • Use Spacebar to "click" the selected button.
  • Use Enter to click the default button (or currently selected button, if there is no default).
  • You can move up and down in a textbox with the arrow keys, and with Page Up and Page Down. If that doesn't work, press Tab until the text box you want to navigate in is selected.

If you've accidentally said you don't agree to the EULA, and you want a chance to review it again and agree, you can reinstall ttf-mscorefonts-installer, purging its global configuration files:

sudo apt-get --purge --reinstall install ttf-mscorefonts-installer
Eliah Kagan
  • 119,640
136

Normal install, deploying or in scripts

Use debconf to preset the selection. This will not prompt to accept the license:

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

With Kickstart

Add this to your Kickstart.cfg file:

preseed --owner ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true
rubo77
  • 34,024
  • 52
  • 172
  • 299
uzhoasit
  • 1,693
20

You can also accept the license with a single command like this:

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

This will avoid creating the conf file.

If your using puppet, here is a recipe for installing the package:

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']
  }
}
14

Some people may find this question when searching for help installing ubuntu-restricted-extras (or when their questions accepting a EULA for ubuntu-restricted-extras are closed as a duplicate of this question).

ubuntu-restricted-extras is a metapackage that exists solely to install other packages.

One of those packages is ttf-mscorefonts-installer. That's the one you must agree to a EULA to finish installing. It fetches Microsoft fonts and installs them on your system.

  • To agree to the EULA, use the Tab key to switch from "button" to "button" in the non-graphical "window", and either the Spacebar ("clicks" the selected "button") or the Enter key ("clicks" the "default" button). You can move up and down in the EULA with the arrow keys and with Page Up and Page Down.

  • If you've accidentally said you don't agree to the EULA, and you want a chance to review it again and agree, you can reinstall ttf-mscorefonts-installer, purging its global configuration files:

    sudo apt-get --purge --reinstall install ttf-mscorefonts-installer
    
  • If you decide you don't want those fonts at all (or are unwilling to accept the EULA for them), but you do want the other packages provided by ubuntu-restricted-extras, then remove ttf-mscorefonts-installer and make sure you have the other packages and that they're set to manually installed (so they don't go away in an autoremove after ubuntu-restricted-extras is removed with ttf-mscorefonts-installer):

    sudo apt-get remove ttf-mscorefonts-installer
    sudo apt-get update
    sudo apt-get install ubuntu-restricted-addons gstreamer0.10-plugins-bad-multiverse libavcodec-extra-53 unrar
    
Eliah Kagan
  • 119,640
11

Try hitting (The right arrow key). Then use the arrow keys to navigate and enter (That's return) for selecting an option.

Isaiah
  • 60,750