Mercurial > hg > config
annotate bin/apt-fix.sh @ 824:16200adbd4f0
work around exit code for no changes
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Tue, 07 Feb 2017 10:28:00 -0800 |
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" |