Separate names with a comma.
try this sudo apt install appstream=0.10.6-1~ubuntu16.04.2 it worked for me..