E: msttcorefonts: subprocess post-installation script returned error exit status 1
Hi
please help this problem is bugging ME!!!
tried to get flash to work but get this fault E: msttcorefonts: subprocess post-installation script returned error exit status 1
I have looked at similar problems like this
spiepie@
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
msttcorefonts
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
E: Could not get lock /var/cache/
E: Unable to lock the download directory
spiepie@
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
E: Could not get lock /var/cache/
E: Unable to lock the download directory
spiepie@
which does not work
any ideas please?
thanks for your time
Si
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
|
#1 |
Hi,
You are probably getting the error "E: Could not get lock /var/cache/
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-
Terminal"
Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude remove msttcorefonts
Step 3: Please post results (copy/paste terminal output from each command) on this thread
Hope it helps,
Regards,
Mark
Revision history for this message
|
#2 |
Hi
thanks mark
here are the results
spiepie@
[sudo] password for spiepie:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
spiepie@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
Freed 0B of disk space
spiepie@
Hit ftp://ftp.
Get:1 ftp://ftp.
Ign ftp://ftp.
Get:2 ftp://ftp.
Ign ftp://ftp.
Get:3 ftp://ftp.
Ign ftp://ftp.
Get:4 ftp://ftp.
Ign ftp://ftp.
Hit ftp://ftp.
Get:5 ftp://ftp.
Ign ftp://ftp.
Get:6 ftp://ftp.
Ign ftp://ftp.
Get:7 ftp://ftp.
Ign ftp://ftp.
Get:8 ftp://ftp.
Ign ftp://ftp.
Hit ftp://ftp.
Get:9 ftp://ftp.
Ign ftp://ftp.
Get:10 ftp://ftp.
Ign ftp://ftp.
Get:11 ftp://ftp.
Ign ftp://ftp.
Get:12 ftp://ftp.
Ign ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Reading package lists... Done
spiepie@
spiepie@
spiepie@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
postgresql-
The following packages have been kept back:
libc6 libc6-i686
The following packages will be REMOVED:
msttcorefonts{p}
0 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 201kB will be freed.
Do you want to continue? [Y/n/?] y
(Reading database ... 133853 files and directories currently installed.)
Removing msttcorefonts ...
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
dpkg: error processing msttcorefonts (--purge):
subprocess pre-removal script returned error exit status 1
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:05:47-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
spiepie@
Hit ftp://ftp.
Get:1 ftp://ftp.
Ign ftp://ftp.
Get:2 ftp://ftp.
Ign ftp://ftp.
Get:3 ftp://ftp.
Ign ftp://ftp.
Get:4 ftp://ftp.
Ign ftp://ftp.
Hit ftp://ftp.
Get:5 ftp://ftp.
Ign ftp://ftp.
Get:6 ftp://ftp.
Ign ftp://ftp.
Get:7 ftp://ftp.
Ign ftp://ftp.
Get:8 ftp://ftp.
Ign ftp://ftp.
Hit ftp://ftp.
Get:9 ftp://ftp.
Ign ftp://ftp.
Get:10 ftp://ftp.
Ign ftp://ftp.
Get:11 ftp://ftp.
Ign ftp://ftp.
Get:12 ftp://ftp.
Ign ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Hit ftp://ftp.
Reading package lists... Done
spiepie@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
postgresql-
The following packages have been kept back:
libc6 libc6-i686
The following packages will be REMOVED:
msttcorefonts
0 packages upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
Need to get 0B of archives. After unpacking 201kB will be freed.
Writing extended state information... Done
(Reading database ... 133853 files and directories currently installed.)
Removing msttcorefonts ...
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
W: /usr/share/
dpkg: error processing msttcorefonts (--remove):
subprocess pre-removal script returned error exit status 1
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
--10:07:34-- http://
=> `./andale32.exe'
Resolving localhost... 127.0.0.1
Connecting to localhost|
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
spiepie@
thanks for your time
Simon
Revision history for this message
|
#3 |
I think your pc is experiencing this bug:
https:/
Please try all the suggestions that have been posted there.
Revision history for this message
|
#4 |
Hi
have tried this including turning proxy to none. the msttcorefonts file has also been commented as suggested.
this is the result of suggested commands
spiepie@
http://
spiepie@
use_http_proxy = false
use_authentication = false
host =
authentication
ignore_hosts = [localhost,
authentication
port = 8080
spiepie@
hope you can help
thanks
si
Revision history for this message
|
#5 |
Please try this solution:
https:/
Revision history for this message
|
#6 |
spiepie@
[sudo] password for spiepie:
spiepie@
spiepie@
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up msttcorefonts (2.4) ...
These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.
You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
Error parsing proxy URL http://
andale32.exe: No such file or directory
All done, errors in processing 1 file(s)
dpkg: error processing msttcorefonts (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
msttcorefonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
spiepie@
Revision history for this message
|
#7 |
Please try this command:
sudo dpkg-reconfigure --force msttcorefonts
After that, run this command to try to get rid of msttcorefonts:
sudo apt-get purge msttcorefonts
Hope this helps.
Revision history for this message
|
#8 |
try reinstalling the msttcorefonts from synaptics, not from terminal or software center
you will need to accept the EULA agreement.
cheers.
Can you help with this problem?
Provide an answer of your own, or ask spiepie for more information if necessary.