I am trying to update my mac OS software to the latest version (10.12.6) from my current version (10.12.4) and unfortunately the app store 'updates' section freezes for me and I can't update it from there. I found another solution, which was to use the terminal to install the update. The problem is that when I type "softwareupdate -l" it returns nothing (I'm aware that this specific command won't actually install it). Not that it doesn't find updates, it's as if it won't stop searching.
Last login: Thu Nov 2 18:48:50 on ttys000 User ~ $ softwareupdate -list Software Update Tool Copyright 2002-2015 Apple Inc. Finding available software
Any help would be appreciated!