At least 31 people were killed when a floodwaters triggered by a landslide swept debris through a town in eastern Uganda, destroying homes and burying livestock, a government official said on Friday.