READ CAREFULLY! "look at the command carefully see the word (update)" doing this may cause a new error.
Just an FYI for EVERYONE The thread instructions say to do:
mkdir /var/lib/dpkg/update
chmod 755 /var/lib/dpkg/update
This is not correct as it may cause a new error shown below
---------------------------------2nd new error--------------------------------------
Failed to execute command 'export LANG=C;sudo dpkg-query --list 'openmediavault-*'':
Error #4000:
exception 'OMVException' with message 'Failed to execute command 'export LANG=C;sudo dpkg-query --list 'openmediavault-*'': ' in /var/www/openmediavault/rpc/plugin.inc:186
Stack trace:
#0 [internal function]: PluginRpc->getList(Array)
#1 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
#2 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('Plugin', 'getList', Array)
#3 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
#4 {main}
------------------------------Correct Commands---------------------------------
The correct commands are as follows:
1) root from the command line:
mkdir /var/lib/dpkg/updates
chmod 755 /var/lib/dpkg/updates
mkdir -p /var/lib/php5
chmod 1777 /var/lib/php5
apt-get update
2) reboot OMV
Bingo your back in business
At least this is true on my system as it got rid of all problems including the new error above and everything is now working great!