PROGRESS!!!
Here is the new error code generated:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libopenmpi3 openmpi-common
0 upgraded, 0 newly installed, 2 to remove and 1229 not upgraded.
2 not fully installed or removed.
After this operation, 9,231 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 295515 files and directories currently installed.)
Removing libopenmpi3:amd64 (3.1.3-5) ...
Removing openmpi-common (3.1.3-5) ...
rm: cannot remove '/usr/lib/x86_64-linux-gnu/fortran/gfortran-8': No such file or directory
dpkg: error processing package openmpi-common (--remove):
installed openmpi-common package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
openmpi-common
E: Sub-process /usr/bin/dpkg returned an error code (1)
As you can see, it's having trouble removing that directory. I see 2 potential solutions:
1) Create that directory so it can delete it
2) remove that line from the script so it doesn't try to delete it
I am VERY close to the solution!!!
Any advice?