i have a easier way for this, i also got this error Spoilerpackettracer depends on libgl1-mesa-glx; however:
Package libgl1-mesa-glx is not installed.
dpkg: error processing package packettracer (--install):
dependency problems - leaving unconfigu...