(Adds more details)
SAO PAULO, May 27 (Reuters) - Brazil's Mines and Energy ministry on Friday sought to calm fears about potential diesel shortages, saying the country had enough supply in inventories to avoid any fuel shortage for 38 days if imports were totally halted.
The ministry's said it was responding to a warning made by state-controlled oil company Petrobras last week, saying that diesel pumps in the country could run dry this year if it does not sell fuels at global market prices.
In March it had created a committee to monitor supplies of the truck fuel, the ministry noted, adding that it had raised diesel inventories since.
"If imports of this fuel were to cease today, stocks, together with domestic production, would be sufficient to supply the country for 38 days," it said in a statement.
(Reporting by Carolina Pulice and Peter Frontini; Editing by Christian Plumb)