I am new to Linux and not sure how to fix these problems.
I have attached an image showing the two problems while running the following commands
$ sudo apt install linux-headers-generic anbox-modules-dkms
$ snap install --devmode --beta anbox
I am running the update command as well. It returned there are 317 packages that could be updated. I installed the updates.
https://i.stack.imgur.com/Pbmwo.png (IMAGE OF TERMINAL ERRORS)