Mercurial > hg > config
annotate bin/apt-fix.sh @ 807:26786fae0703
this relies on a requirement that is not part of my (2.7.12) stdlib; i almost deleted it. instead, i will keep for fun and note the requirement for further research
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Fri, 28 Oct 2016 17:09:04 -0700 |
parents | 2064d617fe56 |
children |
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" |