cckec / winetricks

Automatically exported from code.google.com/p/winetricks
0 stars 0 forks source link

sha1sum mismatch in allfonts (latest Ubuntu 12.04 package) #279

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In Ubuntu 12.04, with everything updated, the winetricks allfonts return a 
error when trying to install an specific font.

$ winetricks allfonts
Executing w_do_call allfonts
Executing load_allfonts
Executing w_do_call baekmuk
baekmuk already installed, skipping
Executing w_do_call corefonts
corefonts already installed, skipping
Executing w_do_call droid
Executing load_droid
Executing mkdir -p /home/user/.cache/winetricks/droid
------------------------------------------------------
Checksum for /home/user/.cache/winetricks/droid/DroidSans-Bold.ttf did not 
match, retrying download
------------------------------------------------------
Downloading 
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
Sans-Bold.ttf?raw=true to /home/user/.cache/winetricks/droid
--2012-10-25 20:06:10--  
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
Sans-Bold.ttf?raw=true
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://github.com/android/platform_frameworks_base/raw/master/data/fonts/DroidS
ans-Bold.ttf [following]
--2012-10-25 20:06:11--  
https://github.com/android/platform_frameworks_base/raw/master/data/fonts/DroidS
ans-Bold.ttf
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: 
https://raw.github.com/android/platform_frameworks_base/master/data/fonts/DroidS
ans-Bold.ttf [following]
--2012-10-25 20:06:11--  
https://raw.github.com/android/platform_frameworks_base/master/data/fonts/DroidS
ans-Bold.ttf
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 194488 (190K) [application/x-font-truetype]
Saving to: `DroidSans-Bold.ttf'

100%[===========================================================================
=======>] 194,488     30.5K/s   in 6.2s    

2012-10-25 20:06:18 (30.5 KB/s) - `DroidSans-Bold.ttf' saved [194488/194488]

Executing cp -f /home/user/.cache/winetricks/droid/DroidSans-Bold.ttf 
/home/user/.wine/dosdevices/c:/windows/Fonts
Executing winetricks_early_wine regedit 
C:\windows\Temp\_droid\_register-font.reg
Executing winetricks_early_wine regedit 
C:\windows\Temp\_droid\_register-font.reg
Executing mkdir -p /home/user/.cache/winetricks/droid
Downloading 
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
SansFallback.ttf?raw=true to /home/user/.cache/winetricks/droid
--2012-10-25 20:06:19--  
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
SansFallback.ttf?raw=true
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://github.com/android/platform_frameworks_base/raw/master/data/fonts/DroidS
ansFallback.ttf [following]
--2012-10-25 20:06:20--  
https://github.com/android/platform_frameworks_base/raw/master/data/fonts/DroidS
ansFallback.ttf
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: 
https://raw.github.com/android/platform_frameworks_base/master/data/fonts/DroidS
ansFallback.ttf [following]
--2012-10-25 20:06:21--  
https://raw.github.com/android/platform_frameworks_base/master/data/fonts/DroidS
ansFallback.ttf
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3838696 (3.7M) [application/x-font-truetype]
Saving to: `DroidSansFallback.ttf'

100%[===========================================================================
=======>] 3,838,696   41.8K/s   in 86s     

2012-10-25 20:07:49 (43.4 KB/s) - `DroidSansFallback.ttf' saved 
[3838696/3838696]

------------------------------------------------------
Checksum for /home/user/.cache/winetricks/droid/DroidSansFallback.ttf did not 
match, retrying download
------------------------------------------------------
Downloading 
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
SansFallback.ttf?raw=true to /home/user/.cache/winetricks/droid
--2012-10-25 20:07:49--  
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
SansFallback.ttf?raw=true
Resolving github.com (github.com)... 207.97.227.239
Connecting to github.com (github.com)|207.97.227.239|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://github.com/android/platform_frameworks_base/raw/master/data/fonts/DroidS
ansFallback.ttf [following]
--2012-10-25 20:07:50--  
https://github.com/android/platform_frameworks_base/raw/master/data/fonts/DroidS
ansFallback.ttf
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 302 Found
Location: 
https://raw.github.com/android/platform_frameworks_base/master/data/fonts/DroidS
ansFallback.ttf [following]
--2012-10-25 20:07:51--  
https://raw.github.com/android/platform_frameworks_base/master/data/fonts/DroidS
ansFallback.ttf
Resolving raw.github.com (raw.github.com)... 207.97.227.243
Connecting to raw.github.com (raw.github.com)|207.97.227.243|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3838696 (3.7M) [application/x-font-truetype]
Saving to: `DroidSansFallback.ttf'

100%[===========================================================================
=======>] 3,838,696   39.2K/s   in 91s     

2012-10-25 20:09:24 (41.2 KB/s) - `DroidSansFallback.ttf' saved 
[3838696/3838696]

------------------------------------------------------
sha1sum mismatch!  Rename 
/home/user/.cache/winetricks/droid/DroidSansFallback.ttf and try again.
------------------------------------------------------

Original issue reported on code.google.com by rea....@gmail.com on 25 Oct 2012 at 10:22

GoogleCodeExporter commented 8 years ago
Additional info:
$ sha1sum DroidSans-Bold.ttf
560e4bcafdebaf29645fbf92633a2ae0d2f9801f  DroidSans-Bold.ttf

Original comment by rea....@gmail.com on 25 Oct 2012 at 10:25

GoogleCodeExporter commented 8 years ago
Strangely, when I just tried the same command, it worked fine.

I think this can be closed

Original comment by rea....@gmail.com on 26 Oct 2012 at 3:01

GoogleCodeExporter commented 8 years ago
load_droid()
{
    # See http://en.wikipedia.org/wiki/Droid_(font)
    # Old url was http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob_plain;f=data/fonts/'
    DROID_URL='https://github.com/android/platform_frameworks_base/blob/master/data/fonts/'

    do_droid DroidSans-Bold.ttf        "Droid Sans Bold"         560e4bcafdebaf29645fbf92633a2ae0d2f9801f
    do_droid DroidSansFallback.ttf     "Droid Sans Fallback"     0da957b8ca2e7535d991b04b46a62fb52d2d54e8

sha1sum DroidSans-Bold.ttf 
560e4bcafdebaf29645fbf92633a2ae0d2f9801f  DroidSans-Bold.ttf

sha1sum DroidSansFallback.ttf                                                   

c5e4f11e2f1d0b84e5f268a7ebfd28b54dc6bcdc  DroidSansFallback.ttf

The problem is with the second one.

Original comment by cscsor...@gmail.com on 7 Jan 2013 at 2:08

GoogleCodeExporter commented 8 years ago
Fixed in r966.

Original comment by austinenglish@gmail.com on 15 Jun 2013 at 8:05

GoogleCodeExporter commented 8 years ago
This seems to have started again:

winetricks allfonts fontfix fontsmooth-rgb
Executing w_do_call allfonts
Executing load_allfonts
Executing w_do_call baekmuk
baekmuk already installed, skipping
Executing w_do_call cambria
cambria already installed, skipping
Executing w_do_call consolas
consolas already installed, skipping
Executing w_do_call constantia
constantia already installed, skipping
Executing w_do_call corefonts
corefonts already installed, skipping
Executing w_do_call droid
Executing load_droid
Downloading 
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
Sans-Bold.ttf?raw=true to /Users/maya/.cache/winetricks/droid
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    41    0    41    0     0    294      0 --:--:-- --:--:-- --:--:--   372
------------------------------------------------------
Checksum for /Users/maya/.cache/winetricks/droid/DroidSans-Bold.ttf did not 
match, retrying download
------------------------------------------------------
Downloading 
https://github.com/android/platform_frameworks_base/blob/master/data/fonts/Droid
Sans-Bold.ttf?raw=true to /Users/maya/.cache/winetricks/droid
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    41    0    41    0     0    355      0 --:--:-- --:--:-- --:--:--   362
------------------------------------------------------
sha1sum mismatch!  Rename 
/Users/maya/.cache/winetricks/droid/DroidSans-Bold.ttf and try again.
------------------------------------------------------

Original comment by m...@elevatorium.org on 23 Nov 2014 at 12:03

GoogleCodeExporter commented 8 years ago
That's issue 445, already fixed in svn.

Original comment by austinenglish@gmail.com on 23 Nov 2014 at 12:15