I am a relative newbie to this however I have a couple of raspberry pi's (with the standard out of the box configuration) and was writing a PHP that linked to a df shell command. However I found that the identical command worked on one PI and not the other. On further investigation I discovered that both df's are doing what they should, however the two versions are different - according to the respective man pages, one has a (GNU coreutils 8.23 March 2015) and the other has (GNU coreutils 8.12.197-032bb September 2011). I have tried sudo apt-get update and sudo apt-get upgrade but I can't seem to get the older version of df to update to a newer version. Any suggestions as to how I can force the older df to update?
Thank you !!!