annotate bin/apt-fix.sh @ 866:909f72bd6cb3

remove stopped containers
author Jeff Hammel <k0scist@gmail.com>
date Wed, 18 Jul 2018 09:29:20 -0700
parents 2064d617fe56
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"