sudo dpkg --configure -a sudo apt-get -f install sudo apt-get --fix-missing install sudo apt-get clean all sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get clean all sudo apt-get autoremov cant install firefox flash plugin or use update manager

Asked by spiepie on 2009-08-18

Once again the flash plugin has failed.
I had to download a few months ago.

I am on 8.04 hardy and get this error
E: msttcorefonts: subprocess post-installation script returned error exit status 1

 when using update manager and when trying to use synaptic to delete flash non free.
I am trying to get flash plugin to work again.

please help
thanks for your time

simon

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Last query:
2009-08-18
Last reply:
2009-09-07

Hi,

First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo rm /var/lib/dpkg/info/*
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm /var/lib/apt/lists/*
sudo mkdir /var/lib/apt/lists/partial
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo apt-get purge msttcorefonts
sudo apt-get install msttcorefonts
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

spiepie (spiepie) said : #3

Thanks for your response Mark.

got so far and had some errors so did not complete

here is copy
spiepie@spiepie-laptop:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
[sudo] password for spiepie:
spiepie@spiepie-laptop:~$ sudo rm /var/lib/dpkg/info/*
sudo: unable to execute /bin/rm: Argument list too long
spiepie@spiepie-laptop:~$ sudo rm -rf /var/lib/dpkg/updates/*
spiepie@spiepie-laptop:~$ sudo rm /var/lib/apt/lists/*
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory
spiepie@spiepie-laptop:~$ sudo mkdir /var/lib/apt/lists/partial
mkdir: cannot create directory `/var/lib/apt/lists/partial': File exists
spiepie@spiepie-laptop:~$

thanks again
Simon

Hi Simon,

Those errors can be ignored.

Please continue with the next commands.

Regards,

Mark

sbuljubasha (sbuljubasha) said : #5

sudo dpkg --configure -a

i'm run manual in terminal but it's block on

Setting up mono-gac (2.0.1-4ubuntu0.1) ...
* Installing 1 assembly from libflickrnet2.1.5-cil into Mono

and it's just stop there..this is after i run updates from net

i need help!!

Hi sbuljubasha ,

Please create a separate thread for your issue.

Thanks,

Mark

Can you help with this problem?

Provide an answer of your own, or ask spiepie for more information if necessary.

To post a message you must log in.