Announcement

Collapse
No announcement yet.

installing ttf-mscorefonts manually?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    installing ttf-mscorefonts manually?

    Bit of background:

    My isp and Karmic don't get along for some reason, so my internet lookups are somewhat slow. I did the ipv6.disable=1 kernel argument, which makes firefox run without any noticeable lag, but I do see considerable lag anytime I use apt-get or synaptic.

    So, on a recent install, I selected the kubuntu-restricted-extra packages and everything went along fine until it tried to do the setup of ttf-mscorefonts-installer. It seems this package needs/wants to download some extra files from sourceforge. actually, the file is andale32.exe

    Well, the package manager doesn't quite have the timing right for my slow lookups, and I get a lot of connection timeouts. This causes the installer to fail, and I am left with an uninstalled package each time I try to install anything else, after a lengthy wait for everything to timeout.

    I can and have done apt-get remove ttf-mscorefonts-installer
    which removes it from the queue, but that leaves me without the fonts, if I were to want to use them.

    here is the relative output from apt-get:
    Code:
    ****
    Setting up ttf-mscorefonts-installer (3.0) ...  
    
    -2009-11-21 02:28:48-- [url]http://downloads.sourceforge.net/corefonts/andale32.exe[/url]
    Resolving downloads.sourceforge.net... failed: Connection timed out.  
        
    wget: unable to resolve host address `downloads.sourceforge.net'        
     
    --2009-11-21 02:28:58-- [url]http://switch.dl.sourceforge.net/sourceforge/corefonts/andale32.exe[/url]
    Resolving switch.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21           
    Connecting to switch.dl.sourceforge.net|130.59.138.21|:80... connected.           
    HTTP request sent, awaiting response... 302 Found                      
    
    Location: [url]http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=switch.dl.sourceforge.net[/url] [following]
    
    --2009-11-21 02:28:59-- [url]http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=switch.dl.sourceforge.net[/url]
    
    Resolving downloads.sourceforge.net... failed: Connection timed out.
    wget: unable to resolve host address `downloads.sourceforge.net'
    
    --2009-11-21 02:29:09-- [url]http://mesh.dl.sourceforge.net/sourceforge/corefonts/andale32.exe[/url]
    Resolving mesh.dl.sourceforge.net... failed: Connection timed out.
    wget: unable to resolve host address `mesh.dl.sourceforge.net'
    
    --2009-11-21 02:29:19-- [url]http://dfn.dl.sourceforge.net/sourceforge/corefonts/andale32.exe[/url]
    Resolving dfn.dl.sourceforge.net... failed: Connection timed out.
    wget: unable to resolve host address `dfn.dl.sourceforge.net'
    
    --2009-11-21 02:29:29-- [url]http://heanet.dl.sourceforge.net/sourceforge/corefonts/andale32.exe[/url]
    Resolving heanet.dl.sourceforge.net... 193.1.193.66, 2001:770:18:aa40::c101:c142
    Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected.
    HTTP request sent, awaiting response... 302 Found
    
    Location: [url]http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=heanet.dl.sourceforge.net[/url] [following]
    
    --2009-11-21 02:29:30-- [url]http://downloads.sourceforge.net/sourceforge/corefonts/andale32.exe?download&failedmirror=heanet.dl.sourceforge.net[/url]
    
    Resolving downloads.sourceforge.net... failed: Connection timed out.
    wget: unable to resolve host address `downloads.sourceforge.net'
    ****
    and this continues for a while.

    I can actually get the file almost immediately with firefox, but I am not sure where to put it so apt can see that it is already there. I put it in /var/cache/apt/archives, but that didn't do anything.

    What is also interesting to me is that my laptop with karmic on it managed to beat the timeout and install the fonts the first time. Could different ethernet cards produce different delays? My desktop uses the Realtec 8139, and the laptop uses an intel chip.

    Anyway, back to the main question: is it possible to manually work with that .exe file to fake out apt somehow and get the fonts installed?

    Thanks



    #2
    Re: installing ttf-mscorefonts manually?

    I might be totally wrong but find it strange you'd need *any* .exe for these fonts...

    About the slowness of your system, this sounds like a DNS problem, are you sure you're using the proper servers?

    Comment


      #3
      Re: installing ttf-mscorefonts manually?

      The .exe file seems strange to me too, but I'll leave that up to the developers. It seemed to work on my laptop with the exact same sequence...

      As for the DNS part, that is something I am looking into - and have since alpha3 of Karmic. I dual boot 9.04 and 9.10 on the exact same system, and 9.04 runs without any lag at all at any time, but 9.10 has horrible lag... Same ISP, modem, etc. The only thing different is the version of Kubuntu.

      My ISP [qwest] has no plans to go with ipv6 from what they have told me, and disabling it does speed up firefox considerably. As for wget and command lines.... those are still slow, which causes the timeout.

      thanks.

      Comment


        #4
        Re: installing ttf-mscorefonts manually?

        That's a strange story -- are you sure your repository sources are correct/default? I thought the tt corefonts came from medibuntu? Did you set up Medibuntu as a source (see #9 in the FAQs in my signature)?

        An .exe file has no use on a Linux system unless you need it for a Wine package -- that has nothing to do with your fonts.

        Strange, strange, strange!

        Comment


          #5
          Re: installing ttf-mscorefonts manually?

          Amazing as it sounds, that seems to be the case.

          ttf-mscorefonts-installer is part of the kubuntu-restricted-extras offered I'm guessing as part of kubuntu. I do have medibuntu set up and use it for the codecs and such, but for the fonts I get them straight from synaptic.

          Right clicking on the kubuntu-restricted-extras in synaptic produces a menu which has the option to select individual packages. The very last one is is the ttf-mscorefonts-installer option.

          Looking closer at this, I removed the fonts from my laptop, using apt-get remove ttf-mscorefonts-installer
          and then reinstalled it.

          Here is the output:

          apt-get install ttf-mscorefonts-installer
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          The following packages were automatically installed and are no longer required:
          libnspr4-dev
          Use 'apt-get autoremove' to remove them.
          The following NEW packages will be installed:
          ttf-mscorefonts-installer
          0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
          Need to get 0B/35.9kB of archives.
          After this operation, 201kB of additional disk space will be used.
          Preconfiguring packages ...
          Selecting previously deselected package ttf-mscorefonts-installer.
          (Reading database ... 106110 files and directories currently installed.)
          Unpacking ttf-mscorefonts-installer (from .../ttf-mscorefonts-installer_3.0_all.deb) ...
          Setting up ttf-mscorefonts-installer (3.0) ...

          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.

          --2009-11-21 20:35:16-- http://downloads.sourceforge.net/corefonts/andale32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://cdnetworks-us-1.dl.sourceforg...l/andale32.exe [following]
          --2009-11-21 20:35:21-- http://cdnetworks-us-1.dl.sourceforg...l/andale32.exe
          Resolving cdnetworks-us-1.dl.sourceforge.net... 65.49.46.187
          Connecting to cdnetworks-us-1.dl.sourceforge.net|65.49.46.187|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 198384 (194K) [application/octet-stream]
          Saving to: `./andale32.exe'

          100%[======================================>] 198,384 238K/s in 0.8s

          2009-11-21 20:35:27 (238 KB/s) - `./andale32.exe' saved [198384/198384]

          --2009-11-21 20:35:27-- http://downloads.sourceforge.net/corefonts/arialb32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://ignum.dl.sourceforge.net/proj...l/arialb32.exe [following]
          --2009-11-21 20:35:33-- http://ignum.dl.sourceforge.net/proj...l/arialb32.exe
          Resolving ignum.dl.sourceforge.net... 62.109.128.5
          Connecting to ignum.dl.sourceforge.net|62.109.128.5|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 168176 (164K) [application/x-msdos-program]
          Saving to: `./arialb32.exe'

          100%[======================================>] 168,176 114K/s in 1.4s

          2009-11-21 20:35:40 (114 KB/s) - `./arialb32.exe' saved [168176/168176]

          --2009-11-21 20:35:40-- http://downloads.sourceforge.net/corefonts/arial32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://cdnetworks-us-2.dl.sourceforg...al/arial32.exe [following]
          --2009-11-21 20:35:45-- http://cdnetworks-us-2.dl.sourceforg...al/arial32.exe
          Resolving cdnetworks-us-2.dl.sourceforge.net... 65.49.46.188
          Connecting to cdnetworks-us-2.dl.sourceforge.net|65.49.46.188|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 554208 (541K) [application/octet-stream]
          Saving to: `./arial32.exe'

          100%[======================================>] 554,208 308K/s in 1.8s

          2009-11-21 20:35:52 (308 KB/s) - `./arial32.exe' saved [554208/554208]

          --2009-11-21 20:35:52-- http://downloads.sourceforge.net/corefonts/comic32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://voxel.dl.sourceforge.net/proj...al/comic32.exe [following]
          --2009-11-21 20:35:58-- http://voxel.dl.sourceforge.net/proj...al/comic32.exe
          Resolving voxel.dl.sourceforge.net... 208.122.28.20, 208.122.28.29, 208.122.28.26, ...
          Connecting to voxel.dl.sourceforge.net|208.122.28.20|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 246008 (240K) [application/octet-stream]
          Saving to: `./comic32.exe'

          100%[======================================>] 246,008 121K/s in 2.0s

          2009-11-21 20:36:00 (121 KB/s) - `./comic32.exe' saved [246008/246008]

          --2009-11-21 20:36:00-- http://downloads.sourceforge.net/corefonts/courie32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://cdnetworks-us-2.dl.sourceforg...l/courie32.exe [following]
          --2009-11-21 20:36:05-- http://cdnetworks-us-2.dl.sourceforg...l/courie32.exe
          Resolving cdnetworks-us-2.dl.sourceforge.net... 65.49.46.188
          Connecting to cdnetworks-us-2.dl.sourceforge.net|65.49.46.188|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 646368 (631K) [application/octet-stream]
          Saving to: `./courie32.exe'

          100%[======================================>] 646,368 170K/s in 3.7s

          2009-11-21 20:36:15 (170 KB/s) - `./courie32.exe' saved [646368/646368]

          --2009-11-21 20:36:15-- http://downloads.sourceforge.net/corefonts/georgi32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://voxel.dl.sourceforge.net/proj...l/georgi32.exe [following]
          --2009-11-21 20:36:20-- http://voxel.dl.sourceforge.net/proj...l/georgi32.exe
          Resolving voxel.dl.sourceforge.net... 208.122.28.2, 208.122.28.4, 208.122.28.18, ...
          Connecting to voxel.dl.sourceforge.net|208.122.28.2|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 392440 (383K) [application/octet-stream]
          Saving to: `./georgi32.exe'

          100%[======================================>] 392,440 300K/s in 1.3s

          2009-11-21 20:36:21 (300 KB/s) - `./georgi32.exe' saved [392440/392440]

          --2009-11-21 20:36:21-- http://downloads.sourceforge.net/corefonts/impact32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://softlayer.dl.sourceforge.net/...l/impact32.exe [following]
          --2009-11-21 20:36:27-- http://softlayer.dl.sourceforge.net/...l/impact32.exe
          Resolving softlayer.dl.sourceforge.net... 74.86.229.28
          Connecting to softlayer.dl.sourceforge.net|74.86.229.28|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 173288 (169K) [application/octet-stream]
          Saving to: `./impact32.exe'

          100%[======================================>] 173,288 284K/s in 0.6s

          2009-11-21 20:36:28 (284 KB/s) - `./impact32.exe' saved [173288/173288]

          --2009-11-21 20:36:28-- http://downloads.sourceforge.net/corefonts/times32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://softlayer.dl.sourceforge.net/...al/times32.exe [following]
          --2009-11-21 20:36:33-- http://softlayer.dl.sourceforge.net/...al/times32.exe
          Resolving softlayer.dl.sourceforge.net... 74.86.229.28
          Connecting to softlayer.dl.sourceforge.net|74.86.229.28|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 661728 (646K) [application/octet-stream]
          Saving to: `./times32.exe'

          100%[======================================>] 661,728 378K/s in 1.7s

          2009-11-21 20:36:36 (378 KB/s) - `./times32.exe' saved [661728/661728]

          --2009-11-21 20:36:36-- http://downloads.sourceforge.net/corefonts/trebuc32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://voxel.dl.sourceforge.net/proj...l/trebuc32.exe [following]
          --2009-11-21 20:36:41-- http://voxel.dl.sourceforge.net/proj...l/trebuc32.exe
          Resolving voxel.dl.sourceforge.net... 208.122.28.11, 208.122.28.26, 208.122.28.30, ...
          Connecting to voxel.dl.sourceforge.net|208.122.28.11|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 357200 (349K) [application/octet-stream]
          Saving to: `./trebuc32.exe'

          100%[======================================>] 357,200 417K/s in 0.8s

          2009-11-21 20:36:42 (417 KB/s) - `./trebuc32.exe' saved [357200/357200]

          --2009-11-21 20:36:42-- http://downloads.sourceforge.net/corefonts/verdan32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://softlayer.dl.sourceforge.net/...l/verdan32.exe [following]
          --2009-11-21 20:36:47-- http://softlayer.dl.sourceforge.net/...l/verdan32.exe
          Resolving softlayer.dl.sourceforge.net... 74.86.229.28
          Connecting to softlayer.dl.sourceforge.net|74.86.229.28|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 351992 (344K) [application/octet-stream]
          Saving to: `./verdan32.exe'

          100%[======================================>] 351,992 460K/s in 0.7s

          2009-11-21 20:36:51 (460 KB/s) - `./verdan32.exe' saved [351992/351992]

          --2009-11-21 20:36:51-- http://downloads.sourceforge.net/corefonts/webdin32.exe
          Resolving downloads.sourceforge.net... 216.34.181.59
          Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
          HTTP request sent, awaiting response... 302 Found
          Location: http://softlayer.dl.sourceforge.net/...l/webdin32.exe [following]
          --2009-11-21 20:36:56-- http://softlayer.dl.sourceforge.net/...l/webdin32.exe
          Resolving softlayer.dl.sourceforge.net... 74.86.229.28
          Connecting to softlayer.dl.sourceforge.net|74.86.229.28|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 185072 (181K) [application/octet-stream]
          Saving to: `./webdin32.exe'

          100%[======================================>] 185,072 275K/s in 0.7s

          2009-11-21 20:36:57 (275 KB/s) - `./webdin32.exe' saved [185072/185072]

          andale32.exe: OK
          Extracting cabinet: andale32.exe
          extracting fontinst.inf
          extracting andale.inf
          extracting fontinst.exe
          extracting AndaleMo.TTF
          extracting ADVPACK.DLL
          extracting W95INF32.DLL
          extracting W95INF16.DLL

          All done, no errors.
          arialb32.exe: OK
          Extracting cabinet: arialb32.exe
          extracting fontinst.exe
          extracting fontinst.inf
          extracting AriBlk.TTF

          All done, no errors.
          arial32.exe: OK
          Extracting cabinet: arial32.exe
          extracting FONTINST.EXE
          extracting fontinst.inf
          extracting Ariali.TTF
          extracting Arialbd.TTF
          extracting Arialbi.TTF
          extracting Arial.TTF

          All done, no errors.
          comic32.exe: OK
          Extracting cabinet: comic32.exe
          extracting fontinst.inf
          extracting Comicbd.TTF
          extracting Comic.TTF
          extracting fontinst.exe

          All done, no errors.
          courie32.exe: OK
          Extracting cabinet: courie32.exe
          extracting cour.ttf
          extracting courbd.ttf
          extracting courbi.ttf
          extracting fontinst.inf
          extracting couri.ttf
          extracting fontinst.exe

          All done, no errors.
          georgi32.exe: OK
          Extracting cabinet: georgi32.exe
          extracting fontinst.inf
          extracting Georgiaz.TTF
          extracting Georgiab.TTF
          extracting Georgiai.TTF
          extracting Georgia.TTF
          extracting fontinst.exe

          All done, no errors.
          impact32.exe: OK
          Extracting cabinet: impact32.exe
          extracting fontinst.exe
          extracting Impact.TTF
          extracting fontinst.inf

          All done, no errors.
          times32.exe: OK
          Extracting cabinet: times32.exe
          extracting fontinst.inf
          extracting Times.TTF
          extracting Timesbd.TTF
          extracting Timesbi.TTF
          extracting Timesi.TTF
          extracting FONTINST.EXE

          All done, no errors.
          trebuc32.exe: OK
          Extracting cabinet: trebuc32.exe
          extracting FONTINST.EXE
          extracting trebuc.ttf
          extracting Trebucbd.ttf
          extracting trebucbi.ttf
          extracting trebucit.ttf
          extracting fontinst.inf

          All done, no errors.
          verdan32.exe: OK
          Extracting cabinet: verdan32.exe
          extracting fontinst.exe
          extracting fontinst.inf
          extracting Verdanab.TTF
          extracting Verdanai.TTF
          extracting Verdanaz.TTF
          extracting Verdana.TTF

          All done, no errors.
          webdin32.exe: OK
          Extracting cabinet: webdin32.exe
          extracting fontinst.exe
          extracting Webdings.TTF
          extracting fontinst.inf
          extracting Licen.TXT

          All done, no errors.
          All fonts downloaded and installed.
          Updating fontconfig cache for /usr/share/fonts/truetype/msttcorefonts
          No CIDSupplement specified for Batang-Regular, defaulting to 0.
          No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
          No CIDSupplement specified for Dotum-Bold, defaulting to 0.
          No CIDSupplement specified for Batang-Bold, defaulting to 0.
          No CIDSupplement specified for ZenHei, defaulting to 0.
          No CIDSupplement specified for UMingCN, defaulting to 0.
          No CIDSupplement specified for Dotum-Regular, defaulting to 0.

          It makes a bit more sense to me now - the .exe files are probably self-extracting compressed files, and I never thought to extract it - just run it somehow.

          So, I guess the mystery of the .exe files is now solved. However, the files that were downloaded look like they were saved to the current directory "./" Is that right? But when I look everywhere, I can't seem to find them - even in the current directory I ran the command from as sudo. Maybe they self delete?

          But, now that I know where the files are on the web, I can actually download them myself - using the sourceforge address from the above sequence in firefox.

          the other problem would then be how to do what the installer does. I would probably go about it by using System Setting -> Appearance -> Fonts and install all of these fonts from there, but I'm not sure if there are other steps that the installer does to use them properly.

          I played around with the ttf-mscorefonts-installer .deb package to see what it did, but I got lost cat'ing through all the files after extracting everything. Maybe somebody more familiar with the deb packaging system and code might be able to get more out of it than I did.

          thanks.

          Comment


            #6
            Re: installing ttf-mscorefonts manually?

            You may wish to consider this alternative: http://rpm.pbone.net/index.php3/stat...oarch.rpm.html

            I realise it's an rpm package but it's very easy to convert it to a deb package using "alien".
            This is the way I've done it and it works a treat and it's VERY easy to do.

            Hope this helps .....
            Kubuntu User #9802
            Linux Registered User #357086

            Comment


              #7
              Re: installing ttf-mscorefonts manually?

              @suplero

              The way the msfont installer package works is that the package contains the installer that downloads the font files (which cannot be distributed from the repos due to legal restrictions AFAIK, very similar to what the flash installer does) from sourceforge, and then extracts the font archives and installs them automatically. Judging by your latest output, it looks like it did all those succesfully (so the fonts should be installed now).

              Comment


                #8
                Re: installing ttf-mscorefonts manually?

                I'm also having this problem. Is there an official solution?

                Comment


                  #9
                  Re: installing ttf-mscorefonts manually?

                  Based on some extensive internet searching and reading it seems that the failure to download and install these fonts is actually a symptom of a DNS bug in Karmic. I resolved the issue by following the advice posted here:

                  - local caching resolver: put 127.0.0.1 as the nameserver (/etc/resolv.conf) and install pdns-recursor
                  Following this "sudo apt-get install ttf-mscorefonts-installer" ran perfectly, not to mention my internet is quite a bit faster now.

                  Comment

                  Working...
                  X