In a medium, heavy pot, heat the oil over medium heat. Add the onions, garlic, salt, basil, oregano and black pepper, and cook, stirring, until soft, 5 minutes.
Place the tomatoes in a large bowl and squeeze to break into small pieces. Add the tomatoes, tomato paste, water, and sugar to the pot and stir well. Bring to a simmer over medium-high heat.
Lower the heat to medium-low, and simmer uncovered for 45 minutes, stirring occasionally with a heavy wooden spoon.