Two dozen state attorneys general are urging five major retailers with pharmacies to drop tobacco, calling on them to follow the lead of CVS Caremark Corp., which said last month it would stop selling cigarettes and other tobacco products by October.