$openssl req -new -x509 -newkey rsa:2048 -keyout VMWARE.priv -outform DER -out VMWARE.der -nodes -days 36500 -subj “/CN=VMware/”
Could not find the database of available applications, run update-command-not-found as root to fix this
Sorry, command-not-found has crashed! Please file a bug report at: http://www.debian.org/Bugs/Reporting
Please include the following information with the report:
local variable ‘cnf’ referenced before assignment
Traceback (most recent call last):
File “/usr/share/command-not-found/CommandNotFound/util.py”, line 23, in crash_guard
File “/usr/lib/command-not-found”, line 93, in main
if not cnf.advise(args, options.ignore_installed) and not options.no_failure_msg:
UnboundLocalError: local variable ‘cnf’ referenced before assignment
I have no idea what that error is about. I haven’t been on PureOS for a while now, but I was able to get Workstation on there after some tinkering.
Basically, I was a noob at Linux, and had to learn some things. Now though, I would just download the bundle from VMWare, make it executable, install it. If it fails and says somethings couldn’t be configured because of dependencies, you use a command to install missing dependencies, and then run the bundle installer again.
That’s it. Should work. Unless newer version of PureOS are missing something else, from when I tried all of this.
daniel@WIN1610-5:~$ apt-get install mokutil
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
Selecting previously unselected package mokutil.
(Reading database … 219945 files and directories currently installed.)
Preparing to unpack …/mokutil_0.3.0+1538710437.fb6250f-1_amd64.deb …
Unpacking mokutil (0.3.0+1538710437.fb6250f-1) …
Setting up mokutil (0.3.0+1538710437.fb6250f-1) …
Processing triggers for man-db (2.8.5-2) …
daniel@WIN1610-5:~$ sudo mokutil --import VMW.der
EFI variables are not supported on this system
I can not imagine you can not use VMWARE on that machine?
@2disbetter do you have VMWare installed on ubuntu on a librem Laptop?
What kind of Bios are you using with Ubuntu so that you can get EFI?
seems like VMware wants to install it’s key into the EFI so it’s locked to the device.
I have never had any issues with UEFI/EFI when installing workstation.
I should also mention that I had Workstation installed on another laptop that was running Elementary OS. I decided to enable Secure Boot at one point, and then it became necessary to generate a key and enter it into the key store. I can’t remember the steps I took but there was a guide I found. It went through the process of generating a key, self-signing it, registering it with the system, and then inserting it into secure boots key store (I’m probably butchering the names here). Without doing this, VMs that previously ran, would not start up.
As the Librem’s do not have secure boot, I would think it is a non-starter. Of course if your Librem came with Pureboot then you might have this issue.
I would have thought that giving a screen’s worth of misleading and irrelevant information for a simple “command not found” would warrant removing this functionality from PureOS until such time as it is fixed.
In the meantime:
sudo apt remove command-not-found
and you should then get a sensible error message (but obviously openssl still won’t work if it is not installed).
But in my opinion that’s only the beginning of handling VMs under Linux.
If you combine KVM with vagrant and the vagrant-lbvirt plugin you can create, modify and destroy VMs in minutes, which make them the nice disposable tools that I’m using them as.