0

After installing wine and failed to agree on the agreement on the font. this message is shown, and I cannot install or remove the ttf-mscorefonts-installer anymore.

The package 'ttf-mscorefonts-installer' is in an inconsistent state and needs to be re-installed, but no archive can be found for it. 

I use this command first to re install the 'ttf-mscorefonts-instaler'

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

This error message shows.

Reading package lists... Done 
Building dependency tree       
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.

and using this command "sudo apt-cache policy ttf-mscorefonts-installer" this error message shows.

Installed: 3.4ubuntu3
  Candidate: 3.4ubuntu3
  Version table:
 *** 3.4ubuntu3 0
        100 /var/lib/dpkg/status
     3.3ubuntu4 0
     500 http://archive.ubuntu.com/ubuntu/ oneiric/multiverse amd64 Packages

and with this command "sudo dpkg-reconfigure ttf-mscorefonts-installer" this message shows.

/usr/sbin/dpkg-reconfigure: ttf-mscorefonts-installer is broken or not fully installed

how to solve this problem??

Tim
  • 32,861
  • 27
  • 118
  • 178
  • Could you run sudo apt-get --reinstall install ttf-mscorefonts-installer and tell us the output? note that is totally different that Mitch answer. – Braiam Oct 28 '13 at 13:50
  • sorry i copied a wrong command.. but that is the output after entering the command line you gave me. ;) – Mark Anthony Oct 28 '13 at 13:56
  • Try using sudo dpkg-reconfigure ttf-mscorefonts-installer it may ask for the licence agreement again. – Apurba Oct 28 '13 at 13:58
  • Please add apt-cache policy ttf-mscorefonts-installer. – Braiam Oct 28 '13 at 14:00
  • @Braiam this message is showing after I use your command.

    "ttf-mscorefonts-installer: Installed: 3.4ubuntu3 Candidate: 3.4ubuntu3 Version table: *** 3.4ubuntu3 0 100 /var/lib/dpkg/status 3.3ubuntu4 0 500 http://archive.ubuntu.com/ubuntu/ oneiric/multiverse amd64 Packages"

    – Mark Anthony Oct 28 '13 at 14:04
  • Good day. @Apurba this error message shows after using the command you gave me.. "Package `ttf-scorefonts-installer' is not installed and no info is available. Use dpkg --info (= dpkg-deb --info) to examine archive files, and dpkg --contents (= dpkg-deb --contents) to list their contents. /usr/sbin/dpkg-reconfigure: ttf-scorefonts-installer is not installed" – Mark Anthony Oct 28 '13 at 14:05
  • Please, always add the information on your question, is difficult reading in comments. – Braiam Oct 28 '13 at 14:06
  • ok @Braiam I update my question again.. thank you for your help. – Mark Anthony Oct 28 '13 at 14:15
  • What's the output of lsb_release -c? – Braiam Oct 28 '13 at 14:41
  • codename: oneiric – Mark Anthony Oct 28 '13 at 15:33
  • Maybe you can try downloading the oneiric version of ttf-mscorefonts-installer (the DEB file), and run it with gdebi. The link is https://launchpad.net/ubuntu/oneiric/+package/ttf-mscorefonts-installer. Navigate to the bottom and select amd64/i386/other options and download the file on the next page. – Ashish Gaurav Feb 17 '14 at 16:44

4 Answers4

1

You should reinstall it, otherwise it won't get removed:

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

That should solve your issue.

Braiam
  • 67,791
  • 32
  • 179
  • 269
  • good day. thanks for your reponse. after using the first line of code, this error message shows.

    "Reading package lists... Done Building dependency tree
    Reading state information... Done E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it."

    thanks.. hope you can recommend more command line to solve my problem.

    – Mark Anthony Oct 28 '13 at 13:20
  • Could you edit your question instead and add he output? – Braiam Oct 28 '13 at 13:27
  • I edited my question brother.. :) thanks for your response. – Mark Anthony Oct 28 '13 at 13:34
  • Nono, edit your question and include the output when you run the commands I gave you. – Braiam Oct 28 '13 at 13:35
0

Try this. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

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

Make sure you accept the agreement.

Mitch
  • 107,631
  • Good day.. thanks for your response.

    after using the first line of code. this error message shows. "Reading package lists... Done Building dependency tree
    Reading state information... Done E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it."

    hope you can give more recommendation.

    – Mark Anthony Oct 28 '13 at 13:19
  • Have you tried the second line? Also try rebooting your system, and then run this command in the Terminal sudo dpkg --configure -a – Mitch Oct 28 '13 at 16:06
0

todionut's reply on thread The package ttf-mscorefonts-installer needs to be reinstalled - Ubuntu Forums worked for me.

I found a way solve the problem with this :

sudo apt-get -f install
sudo apt-get update
sudo apt-get dist-upgrade
Kulfy
  • 17,696
-1

just reinstall

sudo apt-get install upgrade

when you reach at the menu, just type OK with the help of the ↹ TAB button.

So you can place a clear install, then everything will be ok. Just accept download policies (with the tab and press enter button). Don't force close window or it will break the procedure and crash.

s3lph
  • 14,314
  • 11
  • 59
  • 82