Publix agreed to operate a new store downtown for at least 15 years as city commissioners preliminarily approved selling the company land.