Libya's education minister has been sentenced to three and a half years in prison because of a textbook shortage dating back to 2021, the attorney general's office announced on Sunday.