Ubuntu – I cannot install any application anymore

fontssoftware installation

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??

Best Answer

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.