Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

License Agreement

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.

I've also just tried to remove the package completely however the terminal states that due to the package not being correctly installed, I should reinstall the package before removing it. Very frustrating! Essentially, because I cannot successfully install this package, I can't really ever upgrade my system because I always have to end up terminating the terminal with the license agreement (thus the upgrade fails).

share|improve this question

5 Answers 5

up vote 130 down vote accepted

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
share|improve this answer
2  
Well, I'm an idiot... that was so obvious. Thanks. –  Magic Dec 4 '10 at 23:02
15  
Personally, I think curses is wrong, you should be able to just press return. :P –  Stefano Palazzo Feb 10 '11 at 15:29
    
Wow, I would have never figured that out. Does this only happen with Microsoft installers? –  B Seven Aug 24 '13 at 2:56
    
@BSeven: I guess Microsoft did not do the packaging on this one and the maintainer of the package implemented that dialog. But most of the time you don't have to accept EULAs when installing packages, so ... –  Joey Jun 24 at 5:09

Normal install

To install completely silent you can use the --quiet parameter:

sudo apt-get install ttf-mscorefonts-installer --quiet

When deploying or in scripts

Use debconf to preset the selection:

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

Note: In connection with sudo you have to use

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

With Kickstart

Add this to your Kickstart.cfg file:

preseed --owner ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true
share|improve this answer
3  
When using --quiet, will it automatically accept the licence? –  king_julien Nov 4 '13 at 17:53
1  
It is simpler just to use sudo only on the part of the command that needs it:echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections –  Stephen Ostermiller May 16 at 19:44
    
@Stephen Ostermiller: good point, thanks. I have updated my answer sanctioned accordingly. –  uzhoasit May 24 at 21:12

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']
  }
}
share|improve this answer

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
    
share|improve this answer
3  
Is it possible to install the ubuntu-restricted-extras and automatically accept the licence in one command? –  king_julien Nov 4 '13 at 17:59

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

share|improve this answer

protected by Marco Ceppi Mar 23 '11 at 12:16

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.