Archive

Posts Tagged ‘apt’

python zeromq (pyzmq) install problem

December 13, 2011 1 comment

After some issues with pip and apt, I came across this –> http://johanharjono.com/archives/633 and it works fine now.

msttcorefonts removal

October 12, 2009 5 comments

Installing msttcorefonts never happened instead it created lots of troubles for me. It just never let me silently update, upgrade, install using APT

[zubin@mordor ~]$  sudo dpkg –purge msttcorefonts
(Reading database … 147255 files and directories currently installed.)
Removing msttcorefonts …
W: /usr/share/fonts/truetype/msttcorefonts/Verdana.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Comic_Sans_MS_Bold.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Andale_Mono.ttf: not registered.
W: /usr/share/fonts/truetype/msttcorefonts/Times_New_Roman_Bold.ttf: not registered.
and many more…

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.

–11:15:26–  http://surfnet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe’
Connecting to 10.200.13.50:80… connected.
Proxy request sent, awaiting response… 407 Proxy Authentication Required
11:15:26 ERROR 407: Proxy Authentication Required.

–11:15:26– http://superb-east.dl.sourceforge.net/sourceforge/corefonts/andale32.exe
=> `./andale32.exe’
Connecting to 10.200.13.50:80… connected.
Proxy request sent, awaiting response… 407 Proxy Authentication Required
11:13:00 ERROR 407: Proxy Authentication Required.

similar errors… you just cannot do apt stuff without doing something about this.

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

Solution:

The best way out of this annoying trouble is to remove these packages completely from the system which won’t get installed neither get removed

[zubin@mordor ~]$  sudo vi /var/lib/dpkg/info/msttcorefonts.prerm

remove or comment the defoma-font purge -all line 🙂

[zubin@mordor ~]$  sudo dpkg –purge msttcorefonts
(Reading database … 147255 files and directories currently installed.)
Removing msttcorefonts …
Purging configuration files for msttcorefonts …

[zubin@mordor ~]$  remove msttcorefonts
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package msttcorefonts is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

[zubin@mordor ~]$ 🙂 🙂

Categories: linux, ubuntu Tags: , , , ,
%d bloggers like this: