Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How do I solve the error 'Dependencies installation failed'?

+0
−0

How do I solve the error 'Dependencies installation failed' when installing a program using an installer in Bottles?

I'm using Bottles 51.15.

dependencies installation failed

Console log

15:08:16 (INFO) Installing dependency [vcredist2019] in bottle [<redacted>].
15:08:16 (WARNING) File [vcredist2019_x86.exe] already exists in temp, skipping.
15:08:16 (ERROR) Downloaded file [VC_redist.x86.exe] looks corrupted.
15:08:16 (ERROR) Source cksum: [540dd9aed5ad7e3a6fbf3f2d7753a093] downloaded: [744b8a391e7e914c6604a533b50a6db8]
15:08:16 (ERROR) Removing corrupted file [VC_redist.x86.exe].

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

2 answers

+0
−0

Just run the installation again, Bottles already deleted the file with the not-matching checksum. This might be required multiple times if there are multiple files to be downloaded and installed already existing in the Bottles temp with another checksum.

Alternatively, clear the Bottles temp folder (e.g. ~/.var/app/com.usebottles.bottles/data/bottles/temp, when Bottles is installed via flatpak) and run the installation again.

The issue has also been reported in the Bottles issue tracker: https://github.com/bottlesdevs/Bottles/issues/3558.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

+0
−0

Bottles has a builtin dependency manager which it looks like you are using.

The manager downloads dependencies from their official location and installs them in some way that works "better" for Wine as opposed to real Windows (I don't know what exactly they do different). IIRC Bottles comes with expected correct checksums for each dependency, and Bottles will not proceed if the checksum won't manage.

The assumption is that once the vendor releases the installer for a specific version of the dependency, that file won't change. In practice, sometimes they do change (I don't know exactly why but it is easy to imagine how it could happen) and the checksum Bottles expects becomes invalid. In this case, the checksum will be be wrong even if you try again. This must be fixed by Bottles devs correcting the expected checksum. If you're lucky, you might find an already existing thread on the Bottles issue tracker and it might be as easy as updating Bottles.

You can also simply download the dependency installer and run it normally through Bottles (make sure it's the correct bottle). This basically installs it the same way you would on Windows. You're supposed to use the dependency manager instead of doing that, but it still mostly works.

It is also possible that the checksum is wrong because the installer got corrupted while being downloaded. In this case, the checksum will change on every attempt. Usually, after a few attempts it will succeed. But if it keeps failing over and over with a new checksum every time, there is probably an issue with your internet connection.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »