PDA

View Full Version : [SOLVED] half installed ttf-mscorefonts-installer



BarryD9545
October 7th, 2013, 11:46 PM
While trying to install ttf-mscorefonts-installer I get this error:


barry@BKC-Media:~$ sudo apt-get install ttf-mscorefonts-installer

Reading package lists... Done

Building dependency tree

Reading state information... Done

ttf-mscorefonts-installer is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

1 not fully installed or removed.

Need to get 0 B/27.8 kB of archives.

After this operation, 0 B of additional disk space will be used.

Do you want to continue [Y/n]? y

dpkg: error processing ttf-mscorefonts-installer (--configure):

package ttf-mscorefonts-installer is not ready for configuration

cannot configure (current status `half-installed')

Errors were encountered while processing:

ttf-mscorefonts-installer

E: Sub-process /usr/bin/dpkg returned an error code (1)

Now what?

Thanks!

oldos2er
October 8th, 2013, 01:11 AM
Maybe
sudo dpkg --configure -a

BarryD9545
October 8th, 2013, 10:15 PM
No luck, same result.

Also, when running the software update, it didn't complete. Just a window that said,

The installation or removal of a software package failed.

Frogs Hair
October 9th, 2013, 02:26 AM
You can try the following which works with aptitude, but I am not sure about apt-get. Replace the words package name with the complete name of the package being removed .


sudo dpkg --remove -force --force-remove-reinstreqgrep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* package name


http://www.psychocats.net/ubuntu/aptitude

BarryD9545
October 9th, 2013, 01:58 PM
cut/pasted the command from Frog's Hairs' instructions in with my package name and got this:


barry@BKC-Media:~$ sudo dpkg --remove -force --force-remove-reinstreqgrep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* ttf-mscorefonts-installer
dpkg: error: conflicting actions -f (--field) and -r (--remove)

Type dpkg --help for help about installing and deinstalling packages
;
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked
produce a lot of output - pipe it through `less' or `more' !


So I added a hypen to the -force and got this:

barry@BKC-Media:~$ sudo dpkg --remove --force --force-remove-reinstreqgrep ^ /etc/apt/sources.list /etc/apt/sources.list.d/* ttf-mscorefonts-installer
dpkg: error: unknown force/refuse option `--force-remove-reinstreqgrep'

Type dpkg --help for help about installing and deinstalling packages
;
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked
produce a lot of output - pipe it through `less' or `more' !


help

Frogs Hair
October 9th, 2013, 02:17 PM
As I remember I had the same result without aptitude installed .
Use `dselect' or `aptitude' for user-friendly package management

Try
sudo dpkg -r

BarryD9545
October 10th, 2013, 12:31 AM
Tried and got:


barry@BKC-Media:~$ sudo dpkg -r ttf-mscorefonts-installer
dpkg: error processing ttf-mscorefonts-installer (--remove):

Package is in a very bad inconsistent state - you should

reinstall it before attempting a removal.

Errors were encountered while processing:

ttf-mscorefonts-installer

varunendra
October 10th, 2013, 05:39 PM
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.

So what happens when you try what it suggested ^^ -

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

BarryD9545
October 12th, 2013, 07:17 AM
Hadn't tried your commands before, I'm kinda too new at this to have known it, and got new results.

ttf-mscorefonts-installer installed!
(yay)

Thanks varunendra!

(how do I mark this solved?)

oldos2er
October 12th, 2013, 05:16 PM
(how do I mark this solved?)

At the top of the page, click the drop-down menu under Thread Tools.