Locate the line: ethernet0.virtualDev = "e1000"Ĭhange it into: ethernet0.virtualDev = "vmxnet3"Ĭhoose "Save". Right Click the VM, hold down the option key, select "Open Config File in Editor" In VMware Fusion, go to Virtual Machine Library (for this particular scenario a snapshot is sufficient as well as it keeps a copy of the file we change) Take a backup of the VM if you're not comfortable editing configuration files. You'll have to edit a config file by hand. In fact there is no user interface in Fusion for changing the virtual network adapter. I had considered that downloads might be failing due to limited disk space (it is a VM after all) but I don't think that's the case. The other hash functions are also mismatched when I run sudo apt update, but the file size is the same. I should also note that I have only been referencing the SHA256 hash in each step. A different hash calculated by sha256sum after downloading the file using wget using the same URL as for the browser download.The incorrect hash calculated by apt, which led to the error.The "correct" hash shown by apt as expected, which is the one that windows also produced after downloading the file using a browser.To be clear, I have seen 3 different hashes for the same file: The next thing I tried was wget followed by sha256sum Packages.gz, which provided yet another different hash output. This led me to believe that the error was not with the mirror but with my VM. Additionally, when I downloaded the Packages.gz file here on my Windows machine (VM host) and computed the SHA256 hash, I got the exact hash that apt printed as the expected value. I've tried multiple official mirrors, but I get the same error. Unfortunately due to hours of troubleshooting I no longer have the details of the earlier error, but I believe it was an error extracting a package due to corrupt data. That error was solved using sudo apt -fix-broken install, but that is when this hash sum error began. I ran sudo apt upgrade and it encountered an error partway through. I ran sudo apt update and it found some ~650 packages to upgrade. Before you mark this as a duplicate however, I have tried the solutions posted there, as well as on numerous other sites, including: sudo apt-get cleanĮditing /etc/apt/sources.list with alternate official mirrors, such as deb kali-rolling main non-free contrib or deb kali-rolling main non-free contribĮverything worked after I first imported the VM. I'm experiencing exactly the same issue as described in this question: Kali Linux: apt-get update returns “Hash Sum mismatch” error. I saw this issue is happening to windows users but I can't find a fix for OSX. I updated to Big Sur, Then I had to update to VMware Fusion 12.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |