package ttf-mscorefonts-installer (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 128

Bug #921889 reported by CESAR
596
This bug affects 106 people
Affects Status Importance Assigned to Milestone
msttcorefonts (Ubuntu)
Fix Released
High
edson adrega

Bug Description

It happens when i installed "play on linux" software.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: ttf-mscorefonts-installer (not installed)
ProcVersionSignature: Ubuntu 2.6.32-38.83-generic 2.6.32.52+drm33.21
Uname: Linux 2.6.32-38-generic x86_64
NonfreeKernelModules: fglrx
Architecture: amd64
Date: Wed Jan 25 21:07:19 2012
ErrorMessage: el subproceso script pre-installation nuevo devolvió el código de salida de error 128
InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64 (20110720.1)
SourcePackage: msttcorefonts
Title: package ttf-mscorefonts-installer (not installed) failed to install/upgrade: el subproceso script pre-installation nuevo devolvió el código de salida de error 128

Revision history for this message
CESAR (mamanicesar) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

This looks like bug #442941, but the fix for that bug was included in the install media for 10.04.3.

Changed in msttcorefonts (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in msttcorefonts (Ubuntu):
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Could you please add the log file /var/log/installer/syslog to your bug report? Thanks in advance.

Revision history for this message
Colin Watson (cjwatson) wrote :

I think it may in fact be bug 500175, which is AFAICT not automatically distinguishable from bug 442941.

Revision history for this message
Brian Murray (brian-murray) wrote :

While the error message is the same, the installation media should allow us to distinguish between the two reasons shouldn't it?

Revision history for this message
Colin Watson (cjwatson) wrote :

Strictly no. Bug 442941 could have recurred for some reason (although I don't see any evidence of that in my tests), or it could be some other problem with the same symptom. Also, bug 500175 could have occurred before bug 442941 was fixed.

But it's a better assumption than the alternative, I suppose.

summary: package ttf-mscorefonts-installer (not installed) failed to
- install/upgrade: el subproceso script pre-installation nuevo devolvió el
- código de salida de error 128
+ install/upgrade: subprocess new pre-installation script returned error
+ exit status 128
Revision history for this message
Pierre Ligot (pierre-ligot-s) wrote :

I have the same problem, I think it deny me the agreement windows (you know, where you'd sign the eula) when installing by ubuntu installer.

Revision history for this message
Galen Currah (galen-currah) wrote : Re: [Bug 921889] Re: package ttf-mscorefonts-installer (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 128

On 7 May 2012 08:53, Pierre Ligot <email address hidden> wrote:

> I have the same problem, I think it deny me the agreement windows (you
> know, where you'd sign the eula) when installing by ubuntu installer.
>

Hi, Pierre,

Une deuxième fois, lorsque j'ai coché la case d'agrément,
les fontes se sont installées normalement.

Galen Currah

Revision history for this message
Lorenzo Bettini (bettini) wrote :

I think this can be due to the wrong sourceforge download url? The url http://downloads.sourceforge.net/corefonts/andale32.exe does not seem to be valid... probably it should be http://sourceforge.net/projects/corefonts/files/the%20fonts/final/andale32.exe/download

indeed I get this

Preconfiguring packages ...
(Reading database ... 283869 files and directories currently installed.)
Preparing to replace ttf-mscorefonts-installer 3.4ubuntu3 (using .../ttf-mscorefonts-installer_3.4ubuntu3_all.deb) ...
mscorefonts-eula license has already been accepted
Unpacking replacement ttf-mscorefonts-installer ...
Processing triggers for fontconfig ...
Processing triggers for update-notifier-common ...
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 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

Revision history for this message
root (shaman-t) wrote :

I have same output as post #10 while trying: sudo apt-get install --reinstall ttf-mscorefonts-installer
But after "raise err" at the end I see: IOError: [Errno socket error] [Errno 101] Network is unreachable
I was trying winetricks, playonliux, ubuntu-restricted-extras. Nothing help.
/var/log/installer/syslog have no output about reinstall action.

There was one workaround for this bug that I found here: https://bugs.launchpad.net/debian/+source/msttcorefonts/+bug/431217 post #21
BUT I need to change ~148 line of file /var/lib/dpkg/info/ttf-mscorefonts-installer.postinst , and I have there about 50 lines and nothing similar to what he wrote about.

I attached my /var/lib/dpkg/info/ttf-mscorefonts-installer.postinst if needed.

Revision history for this message
root (shaman-t) wrote :

Sorry, forgot to add that I have 12.04 and was upgrading it from 10.04

Revision history for this message
Luciano Fleischfresser (l-fle) wrote :

It happened when installing the Adobe Flash Player plug-in with the ms core fonts as an add-on. Will be glad to send needed information/file.

Revision history for this message
Galen Currah (galen-currah) wrote :

On 1 February 2013 03:09, Luciano Fleischfresser <email address hidden>wrote:

> It happened when installing the Adobe Flash Player plug-in with the ms
> core fonts as an add-on. Will be glad to send needed information/file.
>

Hi, Luciano,

I thank you for your reply and explanation. I think I know what to do, now.
You great service to millions of LO users has not gone unnoticed.

Galen

Revision history for this message
Guy Stone (stoneguy3) wrote :

I'm in the RR final beta context. Looks like it's been dragging on for awhile.

Revision history for this message
Kenneth Jenssen (kennethjenssen-b) wrote :

I encountered this bug as well. It happened when I installed the latest updates on Ubuntu 13.04.

Revision history for this message
Andrea B (news-andrea) wrote :

Ubuntu 13.04.

The installation of the packages among the Ubuntu restricted extras failed. After accepting the EULA I had a popup saying I had not accepted it and therefore the package was not installed.

I used the terminal:

sudo apt-get install ttf-mscorefonts-installer

and the installation was successful with the acceptance of EULA in the terminal window.

I don't know if it helps.

Revision history for this message
Peter Chapa (pchapa) wrote :

I had a failed installation of Ubuntu restricted extras also. After that I was directed by Ubuntu error reporter to this site to report this bug. After reading all the above reports I tried using terminal to install ttf-mscorefonts-installer as suggested by #17 above and the window for the EULA appeared, however it would not allow me to "OK" the agreement using the mouse or keyboard.

Changed in msttcorefonts (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Joel Wishengrad (joelwishengrad) wrote :

I had an error:

error: ELF header smaller than expected.
grub rescue>

I did not know how this developed.... I turned on the laptop and suddenly it was there!

I could not get rid of it.... the laptop would not boot. I had to reburn a new DVD disc with

Ibuntu 13.04 from scratch and reload this into the laptop. It overwrote the corrupted boot up file.

I now have the fully functioning laptop again I hope?

Thank you.

Joel Wishengrad
Rockville, MD 20850
<email address hidden>

Revision history for this message
Electric Prism (electricprism-m-deactivatedaccount) wrote :

Tried installing PlayOnLinux on the daily live cd for Saucy Salamander and it failed to locate the package mscorefonts .

Revision history for this message
Brian Murray (brian-murray) wrote :

I believe the multiverse repository is disabled on Live CDs which would explain being unable to find msttcorefonts.

Revision history for this message
mauno peltonen (satsu323) wrote :

its ok.

Changed in msttcorefonts (Ubuntu):
assignee: nobody → Johnathan Nowacki (j-wacki24)
Revision history for this message
Bruce Lockert (bclockert) wrote :

Clicked on Ubuntu Software Center button, and issue gave boxes to click for sofware bug reporting. Then launchpad came up, and there was a bug fix, and clicked that link, and got to this page or fix.

Revision history for this message
Steve Lockett (schprocket) wrote :

Ubuntu 13.04

Launched PlayOnLinux from Ubuntu Software Center.
EULA appeared to install this module, after which an error-dialog was displayed.

As with #27, was directed to this page but I see no fix that doesn't require knowledge of Terminal. Will try workaround in #17.

General comment:
Whilst the fix in #17 is something that I can work with (beginner to intermediate wrt Linux in general), the fact that this seems to have been around since Ubuntu 10.04 I find mildly disappointing.

CLI fixes will confound new adopters of Linux if using Ubuntu, particularly as it is one of the two most touted distros to use: remember that most of these people will rarely have seen or used the command line in Windows.

Considering that PlayOnLinux is recommended to run, love it or hate it, iTunes in lieu of there being a native Linux iTunes app and that there would be a fair number of converts who have an iTunes account, I would have thought that solving this issue so that no CLI interaction is required would have been a priority to ease the pain of "Windows-separation" until such time as a Linux-native app is developed.

Revision history for this message
Steve Lockett (schprocket) wrote :

OK, now here's what happens using the fix in #17.

For some people - not sure how many - but the result will be the same as #18 - no apparent way to accept the EULA.

I went to Ubuntu Software Centre to install ttf-mscorefonts-installer from there (s-l-o-w compared to apt-get) only to find others had reported the same issue.

The fix for this is as follows:

"Thanks Stiles for the workaround.

Just a quick note, if you install the fonts using the command "sudo apt-get install ttf-mscorefonts-installer",

you have to press the TAB button to highlight "Ok" in order to accept the EULA through terminal..

Don't close out of terminal until you've done this."

When posting fixes, please try not to miss steps which are second nature to you or it'll add to the frustration level :)

Revision history for this message
Tom Hollis (thollis88) wrote :

not sure. only thing i did out of the ordinary is apply a wall paper for the first time(right hand click on image, set as desktop wall paper on firefox) . the error occurred just as i switched to the desktop.

Changed in msttcorefonts (Ubuntu):
assignee: Johnathan Nowacki (j-wacki24) → Emmanuel Yaw Frimpong (emmanuel225)
Revision history for this message
alcab (alexandre-cabrit) wrote :

Get same problem when trying to install Wine... (I know this could be bad ;_)

Revision history for this message
Giuseppe Pennisi (giupenni78) wrote :

Same problem tryng to install ubuntu-restricted-extras

Revision history for this message
Tom Robinson (thomasjrrobinson) wrote :

Happened when installing steam

Revision history for this message
Emmanuel Yaw Frimpong (emmanuel225) wrote :

my wine is working well

On 24 October 2013 15:31, Tom Robinson <email address hidden> wrote:

> Happened when installing steam
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/921889
>
> Title:
> package ttf-mscorefonts-installer (not installed) failed to
> install/upgrade: subprocess new pre-installation script returned error
> exit status 128
>
> Status in “msttcorefonts” package in Ubuntu:
> Fix Released
>
> Bug description:
> It happens when i installed "play on linux" software.
>
> ProblemType: Package
> DistroRelease: Ubuntu 10.04
> Package: ttf-mscorefonts-installer (not installed)
> ProcVersionSignature: Ubuntu 2.6.32-38.83-generic 2.6.32.52+drm33.21
> Uname: Linux 2.6.32-38-generic x86_64
> NonfreeKernelModules: fglrx
> Architecture: amd64
> Date: Wed Jan 25 21:07:19 2012
> ErrorMessage: el subproceso script pre-installation nuevo devolvió el
> código de salida de error 128
> InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release amd64
> (20110720.1)
> SourcePackage: msttcorefonts
> Title: package ttf-mscorefonts-installer (not installed) failed to
> install/upgrade: el subproceso script pre-installation nuevo devolvió el
> código de salida de error 128
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/921889/+subscriptions
>

Revision history for this message
leonidasemail@gmail.com (leonidasemail) wrote :

Eu quero jogar League of legends porem tf nao responde

Revision history for this message
Miller (wirelessmiller) wrote :

# 17 & #25 worked, but with the following deviation:

sudo apt-get -f install

This corrected a problem with packages with unmet dependencies:
wine1.4-i386 : Depends: wine1.4 (= 1.4.10ubuntu7) but is not going to be installed
recommends: libcap20-3 but it is not going to be installed
recommends: unixdbc but it is not going to be installed

All the .ttfs and other packages installed without a problem after entering the slight aforementioned modification.

I'm still not sure of the root cause, but the fix appears to have worked (everything loaded successfully).

Revision history for this message
Kyubutsu (jf) wrote :

ubuntu 13.10 3.11.0-14-generic x86_64
automatic crash report lead me here after login (restart required by updates).
i ran dpkg --configure -a, no issues found. then apt-get update/upgrade again, zero packages to upgrade, no issues found.
/shrugs

Revision history for this message
matt reischer (matt-reischer) wrote :

crashed because I switched from WiFi to wired internet connection during installation (plugged in ethernet then disabled the active WiFi connection).

Suggestion - more graceful handling of loss of or change of internet connection.

Revision history for this message
Marc Bourgoin (jagged-jimmy-j) wrote :

Heyyo,
Same error affects me. I was installing PlayOnLinux at the time it occured right off the Ubuntu Software Centre.

Ubuntu 14.04 alpha build from Jan 1 2014 with 3.12.0-7-generic kernel.

Revision history for this message
Joshua Rose (joshuarose84) wrote :

Thanks for the help! It is appriciated! Hope everything in your world is going well!

Ambrose (ambi-tas)
Changed in msttcorefonts (Ubuntu):
assignee: Emmanuel Yaw Frimpong (emmanuel225) → Ambrose (ambi-tas)
Revision history for this message
Sigmund Skjelnes (sigmundskjelnes) wrote :

This error message popped up as I'd had just logged in to the system.

Fetra rfa (fettra3rfa)
Changed in msttcorefonts (Ubuntu):
assignee: Ambrose (ambi-tas) → Fetra rfa (fettra3rfa)
Revision history for this message
thierry632 (thrprg) wrote :

During the first install with "Logithèque Ubuntu" the EULA 's Window was hidden ....
This error message popped up as I'd had just logged in to the system.
Then with a manual: sudo apt-get install --reinstall ttf-mscorefonts-installer
All is right (fresh install Ubuntu 14.04 amd64)

simon (simonchirinos)
Changed in msttcorefonts (Ubuntu):
assignee: Fetra rfa (fettra3rfa) → simon (simonchirinos)
Revision history for this message
biswajit (bransingh) wrote :

while installing adobe flash plugin extra addon . it stop while installing

Revision history for this message
Bruce Gaylord (brucegaylord40) wrote :

What I did was go into the program after restarting the computer Synaptic Package Manager and in the search typed in ttf-mscorefonts-installer and check the box in front of it and then click Apply and follow the prompts such as checking the box on the EULA and continuing on...

Revision history for this message
Dzintars Arvids Kravalis (d-kravalis) wrote :

Same problem with Ubuntu 14.04 LTS

Revision history for this message
Ian Moffatt (1-admin-g) wrote :

Fixed with solution offered by thierry632 (thrprg) on 2014-04-21
Ubuntu 14.04 LTS

Revision history for this message
Patrick Bealey (patrickbealey) wrote :

Lots of comments i'll try for bevity! On Ubuntu 15.10, install of "Ubuntu Restricted Extras" i missed seeing the EULA agreement for TrueType fonts. (As comment above.) In Ubuntu Software Centre, more than 1 reviewer has said this: the EULA window is hidden behind the much bigger USC window. So i missed it. My error, but due to poor ergonomics. Can't the smaller window appear on top of the larger one? (Of course if someone had a maximized USC window, there's no chance of seeing the EULA as things stand.) And thanks, developers for all you do.

Revision history for this message
Kenny (valentinev) wrote :

Had this error when installing Wine.

had to install separetly via bash :
type: sudo apt-get install --reinstall ttf-mscorefonts-installer then accept EULA. use arrow keys to select <OK>

Revision history for this message
ComputeroBz (computerobz) wrote :
Revision history for this message
Brian Ralston (litvmoch1) wrote :

after installing 'play on Linux' software, got this error.......

Revision history for this message
Jim K (jimofadel) wrote :

Received system error warning during install of playonlinux, but installed windows program works OK so far, no problems except that the warnings appear.

Robert Dorr (bossvainan)
Changed in msttcorefonts (Ubuntu):
assignee: simon (simonchirinos) → Robert Dorr (bossvainan)
Changed in msttcorefonts (Ubuntu):
assignee: Robert Dorr (bossvainan) → edson adrega (edsonadrega)
Revision history for this message
Barry Martin (barry-martin-3-c) wrote :

Hi!

Possibly not that much help but the problem I was having was while installing WINE the system was waiting for me to acknowledge the EULA for MSFonts -- something close -- sorry. The problem was the acknowledgement window was behind the installation window, so it appeared the system was just sitting there. I finally closed the installation window after about an hour (over the years I have learned not to be in too much of a rush with installs, but an hour...) -- close the installation window and then I see the EULA window the installation window was waiting for.

My automated bug post report probably could have been avoided if the EULA window was able to been seen rather than 'hiding'.

(Good news: acknowledging the EULA and re-opening Ubuntu Software Centre to finish the installation of WINE did work.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.