Supermarket shoppers are advised to buy avocados four to five days ahead of when they need them to allow time for ripening. Firm, green avocados will ripen in that time, while those that yield to gentle pressure are already ripe and should be eaten within a day or two. Overripe avocados with brown flesh should be avoided.