Hi, On Mon, 2 Nov 2009, Thijs Kinkhorst <th...@debian.org> wrote: > On moandei 2 Novimber 2009, Marc Randolph wrote: > >This issue is turning out to be a pretty big deal... it has generated > > something on the order of 10 bug reports a day for Ubuntu > >(https://bugs.launchpad.net/ubuntu/+source/msttcorefonts) since 9.10 > > I've reviewed those bug reports but all of them do not give details as to > what the problem was that they encountered. I can deduce that at least > some of them have not configured a proxy or misconfigured a proxy.
Problem is clearly described in this bugreport: https://launchpad.net/bugs/464422 : "During the upgrade I got the message "could not install ttf-mscorefonts-installer". [..] After a while I got a message saying "try a dpkg --configure -a" I tried dpkg --configure -a, but it could not connect to the internet. So probably during the upgrade the connection to internet was lost. So after rebooting I could connect to the internet and execute successfully dpkg --configure -a, which installed the fonts. [..]" As you see, this bug is not about proxy. > I would like to improve the download script so it works for more people. > But I need some guidance as to what the exact problem is that people are > facing here. This problem appears because ttf-mscorefonts-installer tries automatically to download fonts from internet servers without asking if user wants to do this and returns an error if there are no access to the fonts download locations. ttf-mscorefonts-installer shouldn't return an error if there are no access to corefonts download servers, in such cases mscorefonts-installer should display an interactive dialog with message: "Can't download corefonts from the corefonts internet download locations. Please check your internet connection and try again or manually download the fonts and run 'dpkg-reconfigure ttf-mscorefonts-installer' later" and buttons: "Try again" and "Download later/manually" When user chooses "Try again", then ttf-mscorefonts-installer should simply try to download corefonts again (and again display this dialog if fonts can't be downloaded) When user chooses "Download later/manually" then an information message should be displayed: "Run dpkg-reconfigure ttf-mscorefonts-installer when you will have internet connection or download fonts manually." If you will implement such behaviour this also will fix other bugreports, like bug #549883 It's very important not to return an error if there are no access to corefonts download servers, because in some situations internet will be not accessible during configuration of ttf-mscorefonts-installer package, for example during distribution upgrade (see Ubuntu LP bug #464422 and some duplicates). Btw, this bug can be partially solved by increasing debconf priority of "msttcorefonts/dldir" and returning back "msttcorefonts/blurb" template. If you do this, then users will be warned, that fonts are non-free and internet access is needed for installation, also users can type "none" if they do not wish to download these fonts now or do not have internet access. This behaviour was used in msttcorefonts package few years ago, see Ubuntu LP bug https://launchpad.net/buge/84453 and Debian bug #461926 Template: msttcorefonts/blurb Description: These fonts are not free. 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. Template: msttcorefonts/dldir Description: Directory holding MS fonts (if already downloaded): If you have already downloaded Microsoft's TrueType Core Fonts for the web, type the name of the directory which contains them. Those files are in the Microsoft Windows self-installing format, and are named andale32.exe, arial32.exe, arialb32.exe, comic32.exe, courie32.exe, georgi32.exe, impact32.exe, times32.exe, trebuc32.exe, verdan32.exe and webdin32.exe. If you haven't yet downloaded these fonts, leave this blank and the fonts will be downloaded for you. Approximately 4 MB will need to be downloaded. If you are not connected to the internet or do not wish to download these fonts now, enter "none" to abort. -- Labanaktis/Good luck, Mantas Kriaučiūnas Jabber ID: man...@akl.lt GPG ID: 43535BD5 Public organization "Open Source for Lithuania" - www.akl.lt Geriausios biuro programos verslui ir namams - http://openoffice.lt Naudok Baltix GNU/Linux sistemą savo kompiuteryje - http://baltix.lt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org