annotate bin/apt-fix.sh @ 789:2064d617fe56

add a suggested fix for posterity
author Jeff Hammel <k0scist@gmail.com>
date Wed, 28 Sep 2016 17:58:48 -0700
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
789
2064d617fe56 add a suggested fix for posterity
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
1 #!/bin/bash
2064d617fe56 add a suggested fix for posterity
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
2 # from http://askubuntu.com/questions/263378/how-to-fix-dependencies-broken-packages
2064d617fe56 add a suggested fix for posterity
Jeff Hammel <k0scist@gmail.com>
parents:
diff changeset
3 sudo sh -c "apt-get update;apt-get dist-upgrade;apt-get autoremove;apt-get autoclean"