The environment secretary says shortages of some fruit and vegetables could go on for up to four weeks.