Walgreens’ profit outlook for the new fiscal year is largely in line with Wall Street’s expectations.