Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Bug]: Vcredist2022 can't be installed - Download seems corrupted..

Open CaptainCoward opened this issue 1 year ago • 5 comments

Describe the bug

Installation of vcredist 2022 will fail.

To Reproduce

Just try installing the vcredist 2022 via the dependencies button within bottles - installation will fail pretty much on an instant. Tried it on new bottle with same result. Installing vcredist 2019 worked fine.

Package

Flatpak from Flathub

Distribution

EndouverOS

Debugging Information

Official Package: true
Version: '51.10'
DE/WM: plasma
Display:
    X.org: true
    X.org (port): :0
    Wayland: false
Graphics:
    vendors:
        amd:
            vendor: amd
            envs:
                DRI_PRIME: '1'
            icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/radeon_icd.x86_64.json:/usr/lib/i386-linux-gnu/GL/vulkan/icd.d/radeon_icd.i686.json
    prime:
        integrated: null
        discrete: null
Kernel:
    Type: Linux
    Version: 6.7.4-arch1-1
Disk:
    Total: 16787054592
    Free: 16786890752
RAM:
    MemTotal: 31.3GiB
    MemAvailable: 22.2GiB
Bottles_envs: null

Troubleshooting Logs

flatpak run com.usebottles.bottles                                                                                                                                                                                                                                                                       ok | 01:17:24 
01:17:27 (INFO) Bottles Started! 

(bottles:2): Gtk-WARNING **: 01:17:27.986: AdwViewSwitcher 0x5a895b3b6eb0 (viewswitcher) reported min height -6, but sizes must be >= 0
01:17:28 (INFO) Performing Bottles checks… 
01:17:28 (INFO) Dxvks found:
         - dxvk-2.3
 
01:17:28 (INFO) Vkd3ds found:
         - vkd3d-proton-2.10
 
01:17:28 (INFO) Nvapis found:
         - dxvk-nvapi-v0.6.4
 
01:17:28 (INFO) Latencyflexs found:
         - latencyflex-v0.1.1
 
01:17:28 (INFO) Runners found:
         - soda-experimental_8.0
         - wine-ge-proton8-25
         - wine-ge-proton8-24
         - wine-ge-proton8-15
         - sys-wine-8.0.2
 
01:17:28 (ERROR) Config file not exists 
Traceback (most recent call last):
  File "/app/share/bottles/bottles/backend/models/config.py", line 183, in load
    raise FileNotFoundError("Config file not exists")
FileNotFoundError: Config file not exists
01:17:28 (INFO) Bottles found:
         - Games
 
01:17:28 (INFO) Catalog installers loaded 
01:17:28 (INFO) Catalog dependencies loaded 
01:17:28 (INFO) Catalog components loaded 
01:17:30 (INFO) Setting Key sync=fsync for bottle Games… 
01:17:30 (INFO) There is no running wineserver. 
01:17:46 (INFO) Installing dependency [vcredist2022] in bottle [Games]. 
VC_redist.x86.exe (100%) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (13.2MiB/13.2MiB - 45.9MiB)

01:17:47 (INFO) Renaming [VC_redist.x86.exe] to [vcredist2022_x86.exe]. 
01:17:47 (ERROR) Downloaded file [VC_redist.x86.exe] looks corrupted. 
01:17:47 (ERROR) Source cksum: [0d762264d9765e21c15a58edc43f4706] downloaded: [9882a328c8414274555845fa6b542d1e] 
01:17:47 (ERROR) Removing corrupted file [VC_redist.x86.exe].

Additional context

No response

CaptainCoward avatar Feb 10 '24 00:02 CaptainCoward

Can confirm the same issue.

Bottles Version: 51.10

navkaran0305 avatar Feb 10 '24 05:02 navkaran0305

It's pretty obvious what's wrong here. The file has a new checksum... so MS might have changed something. Its now always 9882a328c8414274555845fa6b542d1e if downloaded from MS.

CaptainCoward avatar Feb 10 '24 10:02 CaptainCoward

I wonder if it could be possible to pull some of the dependencies from the Winetricks repo. I.e. creating a script to convert their Shell script to a manifest

alextrical avatar Feb 11 '24 17:02 alextrical

i mean you should be able to download the file on your own.. just click on the manifest within bottles.. there you can see the actuall downloadlink and download/install it manually.

CaptainCoward avatar Feb 12 '24 16:02 CaptainCoward

It's pretty obvious what's wrong here. The file has a new checksum... so MS might have changed something. Its now always 9882a328c8414274555845fa6b542d1e if downloaded from MS.

For me the downloaded file's checksum appears to be: a8a68bcc74b5022467f12587baf1ef93

Whereas source checksum is given as: 101b0b9f74cdc6cdbd2570bfe92e302c

fredinwheel avatar Feb 19 '24 17:02 fredinwheel

fixed in dependencies repo

mirkobrombin avatar Feb 23 '24 21:02 mirkobrombin