Can't install on Ubuntu 20.04, dependency issues

Hi all, I’ve searched the forums and I can’t seem to find a problem that matches what I’m running into. When I follow the instructions in the autopsy.zip file, and get to the step where I am installing the java_4.10.0-1_amd64.deb file it tells me that the following two dependencies are not met and won’t be installed:

libvmdk-dev and libvdi-dev.

Here is the output from the command when I run it:

$sudo apt install ./sleuthkit-java_4.10.0-1_amd64.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'sleuthkit-java' instead of './sleuthkit-java_4.10.0-1_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sleuthkit-java : Depends: libvmdk-dev but it is not going to be installed
                  Depends: libvhdi-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

When I attempt to install them, I get the following output:

$sudo apt install libvmdk-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libvmdk-dev is already the newest version (20200926-1ppa1~bionic).

I’m not sure what to do from this point, I’m an eternal student of linux, and any help you could provide would be great. Thanks!

Okay, for everyone else who might encounter this issue, and for historical reference, the solution that I figured out was to simply:

sudo apt remove libvmdk-dev
sudo apt remove libvhdi-dev

and try to reinstall
sudo apt install ./sleuthkit…

which threw some other errors, but those were resolved in a similar way as the above by removing the library that it had an issue with.

I’m glad you figured this out. The only thing I would point out is that you initially had libvmdk-dev version
20200926-1ppa1~bionic which indicates that your system is configured to look at one of the “unsupported and untrusted Personal Archives (PPA)”. See the “Other versions of ‘libvmdk’ in untrusted archives” section here: https://launchpad.net/ubuntu/+source/libvmdk