Announcement

Collapse
No announcement yet.

installing mscorefonts-installer on 12.04

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

    installing mscorefonts-installer on 12.04

    This installer resists being installed, just like on 11.04. I got an error message (lightbulb) saying it couldn't download parts of the installer, and so I pressed the try again button and got the following:

    ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
    Traceback (most recent call last):
    File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests
    dest_file = urllib.urlretrieve(files[i])[0]
    File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
    return _urlopener.retrieve(url, filename, reporthook, data)
    File "/usr/lib/python2.7/urllib.py", line 239, in retrieve
    fp = self.open(url, data)
    File "/usr/lib/python2.7/urllib.py", line 207, in open
    return getattr(self, name)(url)
    File "/usr/lib/python2.7/urllib.py", line 344, in open_http
    h.endheaders(data)
    File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
    File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
    File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
    File "/usr/lib/python2.7/httplib.py", line 757, in connect
    self.timeout, self.source_address)
    File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
    IOError: [Errno socket error] [Errno 110] Connection timed out

    I don't know what all this means, except that I can't install the fonts. I tried to find some help on various forums and by googling, and ended up downloading the following:

    ttf-mscorefonts-installer_3.4ubuntu3 all.deb (tried that, seems to be the same broken installer)
    msttcorefonts_3.4ubuntu3.dsc
    msttcorefonts_3.4ubuntu3.tar.gz

    Is there a solution lurking in these 3 programs? I tried the first program and got the same results as before. I don't know what a dsc file is, and don't know what to do with a tar.gz file in order to install it, so at the moment I can't get those fonts installed. <I'm not a microsoft loyalist by any means, but I prefer their core fonts and would like to have them available. I almost have 12.04 the way I like it, but the font problem is the only unfinished business so far. Can anyone help me?

    #2
    See Install / Troubleshoot "ttf-mscorefonts-installer" in Ubuntu
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      I've tried the steps suggested in the link but get the same error messages.

      Comment


        #4
        Please show the complete output of each of the two commands listed in the "Reinstalling the package" section:
        Code:
        sudo apt-get purge ttf-mscorefonts-installer
        sudo apt-get install ttf-mscorefonts-installer

        Comment


          #5
          Originally posted by SteveRiley View Post
          Please show the complete output of each of the two commands listed in the "Reinstalling the package" section:
          Code:
          sudo apt-get purge ttf-mscorefonts-installer
          sudo apt-get install ttf-mscorefonts-installer
          Here they are:

          Code:
          steve@steve-desktop:~$ sudo apt-get purge ttf-mscorefonts-installer
          [sudo] password for steve: 
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          The following packages will be REMOVED:
            ttf-mscorefonts-installer*
          0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
          After this operation, 133 kB disk space will be freed.
          Do you want to continue [Y/n]? Y
          (Reading database ... 123999 files and directories currently installed.)
          Removing ttf-mscorefonts-installer ...
          Purging configuration files for ttf-mscorefonts-installer ...
          Processing triggers for update-notifier-common ...
          Processing triggers for fontconfig ...
          steve@steve-desktop:~$ sudo apt-get install ttf-mscorefonts-installer
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          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 0 B/27.4 kB of archives.
          After this operation, 133 kB of additional disk space will be used.
          Preconfiguring packages ...
          Selecting previously unselected package ttf-mscorefonts-installer.
          (Reading database ... 123991 files and directories currently installed.)
          Unpacking ttf-mscorefonts-installer (from .../ttf-mscorefonts-installer_3.4ubuntu3_all.deb) ...
          Processing triggers for fontconfig ...
          Processing triggers for update-notifier-common ...
          ttf-mscorefonts-installer: downloading [url]http://downloads.sourceforge.net/corefonts/andale32.exe[/url]
          Traceback (most recent call last):
            File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests
              dest_file = urllib.urlretrieve(files[i])[0]
            File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
              return _urlopener.retrieve(url, filename, reporthook, data)
            File "/usr/lib/python2.7/urllib.py", line 239, in retrieve
              fp = self.open(url, data)
            File "/usr/lib/python2.7/urllib.py", line 207, in open
              return getattr(self, name)(url)
            File "/usr/lib/python2.7/urllib.py", line 358, in open_http
              return self.http_error(url, fp, errcode, errmsg, headers)
            File "/usr/lib/python2.7/urllib.py", line 371, in http_error
              result = method(url, fp, errcode, errmsg, headers)
            File "/usr/lib/python2.7/urllib.py", line 664, in http_error_301
              return self.http_error_302(url, fp, errcode, errmsg, headers, data)
            File "/usr/lib/python2.7/urllib.py", line 634, in http_error_302
              data)
            File "/usr/lib/python2.7/urllib.py", line 660, in redirect_internal
              return self.open(newurl)
            File "/usr/lib/python2.7/urllib.py", line 207, in open
              return getattr(self, name)(url)
            File "/usr/lib/python2.7/urllib.py", line 358, in open_http
              return self.http_error(url, fp, errcode, errmsg, headers)
            File "/usr/lib/python2.7/urllib.py", line 371, in http_error
              result = method(url, fp, errcode, errmsg, headers)
            File "/usr/lib/python2.7/urllib.py", line 634, in http_error_302
              data)
            File "/usr/lib/python2.7/urllib.py", line 660, in redirect_internal
              return self.open(newurl)
            File "/usr/lib/python2.7/urllib.py", line 207, in open
              return getattr(self, name)(url)
            File "/usr/lib/python2.7/urllib.py", line 344, in open_http
              h.endheaders(data)
            File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
              self._send_output(message_body)
            File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
              self.send(msg)
            File "/usr/lib/python2.7/httplib.py", line 776, in send
              self.connect()
            File "/usr/lib/python2.7/httplib.py", line 757, in connect
              self.timeout, self.source_address)
            File "/usr/lib/python2.7/socket.py", line 571, in create_connection
              raise err
          IOError: [Errno socket error] [Errno 101] Network is unreachable
          Setting up ttf-mscorefonts-installer (3.4ubuntu3) ...
          steve@steve-desktop:~$
          I should add that the second command produced a new window for the EULA agreement, and I entered OK and Yes as instructed in one of the forums. At that point everything seemed to be going smooth until it got hung up trying to download the fonts themselves. I hope this 'clarifies' things!
          Last edited by SteveRiley; Nov 01, 2012, 05:48 PM. Reason: Added [ CODE ] tags.

          Comment


            #6
            Ugh, Python seems to be croaking on something, and for reasons not immediately obvious. Can I trouble you to file a bug against ttf-mscorefonts-installer on Launchpad? I take it that you are, in fact, connected to the Internet, and that the "Network is unreachable" error is spurious.

            Comment


              #7
              Originally posted by SteveRiley View Post
              Ugh, Python seems to be croaking on something, and for reasons not immediately obvious. Can I trouble you to file a bug against ttf-mscorefonts-installer on Launchpad? I take it that you are, in fact, connected to the Internet, and that the "Network is unreachable" error is spurious.
              Excuse my patent ignorance, but how do I do that?

              Comment


                #8
                See Reportingbugs
                Using Kubuntu Linux since March 23, 2007
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  OK, I've reported the bug. Is there anything I can do now? For example, I still have the msttcorefonts-intaller.tar.gz file--will trying to install that give me the same results? And how do I install a tar.gz file anyway? If Python is the problem, will I have to reinstall that? I'm still a little in the woods here. In fact, I don't even know what Python is! So that's the level of Linux ignorance you're dealing with.

                  Comment


                    #10
                    Take a look at Install / Troubleshoot "ttf-mscorefonts-installer" in Ubuntu

                    Don't worry that it's about installing in Ubuntu -- it will work just as well for installing in Kubuntu.

                    Added: Well this post was stupid (on my part), seeing as I previously referenced this same link.
                    Last edited by Snowhog; Nov 04, 2012, 04:33 PM. Reason: I have eyes, but cannot see!
                    Using Kubuntu Linux since March 23, 2007
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      I have tried these steps without success.

                      Comment


                        #12
                        Originally posted by oldgeek View Post
                        OK, I've reported the bug.
                        I'd like to take a look at your bug report -- what's the number?

                        Is there anything I can do now? For example, I still have the msttcorefonts-intaller.tar.gz file--will trying to install that give me the same results? And how do I install a tar.gz file anyway?
                        I doubt this would help, you might as well delete it. I suspect someone might ask you for more information when they see your bug report.

                        If Python is the problem, will I have to reinstall that? I'm still a little in the woods here. In fact, I don't even know what Python is! So that's the level of Linux ignorance you're dealing with.
                        Python is a programming language that many Linux and Ubuntu tools are written in. The Microsoft font installer is an example. When you download that package and install it, a Python script is executed. This script downloads each of the actual font files from the Sourceforge website. Something in your configuration is causing the Python script to fail. I'm not sure what it is, though.

                        Comment


                          #13
                          My bug report number is 1074952, but since it was my first bug report you may find it rather skimpy in details. I probably have more information in this thread.

                          (Quote) Something in your configuration is causing the Python script to fail. I'm not sure what it is, though.

                          --Is there any way to find out? Thanks for all your interest, by the way. The community has been very helpful.

                          Comment


                            #14
                            To make your bug report more useful, I copied the output of the failed install attempt. More details are always better, so when posting bugs, backtrace information is helpful.

                            I have another question -- are you behind a proxy server of some type?

                            Comment


                              #15
                              After getting the errors referred to above, I just did a "sudo apt-get -f install" and it completed downloading the fonts from sourceforge and installed them.
                              Kubuntu 20.04
                              HP Pavilion 17, 8GB DDR3, A10 APU w/ ATI Radeon HD 8650G

                              Comment

                              Working...
                              X