Error writing to output file – write (28: No space left on device)

How to resolve the error when I run the apt-get update command? I have more than 100 GB left on my mac device

 Error writing to output file - write (28: No space left on device) Error writing to file - write (28: No space left on device)

Source: StackOverflow