Bug#678807: ttf-root-installer: post installation fails

Lifeng Sun lifongsun at gmail.com
Sun Jun 24 14:04:56 UTC 2012


Hi Robert,

Thanks for report. The upstream web/ftp server is offline in last a
few days due to security issues (the upstream claims that it's the
first >1 days outage in >16 years). Although the web server is
recovered today, the ftp port is still blocked, which causes the
failure of postinst script.

At the moment you can fix it by replacing "ftp://root.cern.ch/root/ttf/"
with "http://root.cern.ch/download/ttf/" in the postinst script.

I would add error-handling in version 5.34.00-2.


Thanks,
Lifeng


On 14:36 Sun 06/24/12 Jun     , Robert Luberda wrote:
> Package: ttf-root-installer
> Upgrade of ttf-root-installer fails:
> 
>   Setting up ttf-root-installer (5.34.00~rc1-1) ...
>   dpkg: error processing ttf-root-installer (--configure):
>     subprocess installed post-installation script returned error exit status 4
> 
> 
> When I add set -x into /var/lib/dpkg/info/ttf-root-installer.postinst,
> it is visible that the last command the script tries to download
> something with wget:
> 
>   + test -z
>   + wget --continue --tries=1 --dns-timeout=10 --connect-timeout=5 --read-timeout=300 -q --directory-prefix . -c ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz
>   dpkg: error processing ttf-root-installer (--configure):
>    subprocess installed post-installation script returned error exit status 4
> 
> but it fails to do any error-handling in case of any downloads issues.

-- 





More information about the debian-science-maintainers mailing list