Fix: raise an error if apt fails