mount -o remount rw dpkg --configure -a mount -o remount ro sync reboo

1
2
3
4
5
mount -o remount,rw /
dpkg --configure -a
mount -o remount,ro /
sync
reboot