[Bug 431217] Re: package ttf-mscorefonts-installer 2.6 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Laurent CHARLES laurentcharles at laposte.net
Sun Nov 1 06:26:21 UTC 2009


To me it seems a pb of DNS time out.

I solved the pb with this workaround/dirty patch.

In the file /var/lib/dpkg/info/ttf-mscorefonts-installer.postinst (coming with package first install),
I removed the DNS time out in watchdog  line 148 to get 
>  if ! wget --continue --tries=1 --connect-timeout=5 --read-timeout=300 $QUIET_ARG --directory-prefix . --no-directories --no-background $URLROOT$ff ; then
instead of
> if ! wget --continue --tries=1 --dns-timeout=10 --connect-timeout=5 --read-timeout=300 $QUIET_ARG --directory-prefix . --no-directories --no-background $URLROOT$ff ; then

But I can not tell you why it failed with this package and not with
others.

Does this work hack for others as well?

-- Laurent

-- 
package ttf-mscorefonts-installer 2.6 failed to install/upgrade: subprocess post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/431217
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list