Sometimes I installer newer versions of software and then break my package configuration under Debian or Ubuntu.
Just re-installing one package is easy, but often I need to re-install all the dependencies as well.
I broke monodevelop so to fix it I use....
sudo apt-cache depends monodevelop | grep '[ |]Depends: [^<]' | cut -d: -f2 | tr -d ' ' | xargs -d "\n" sudo apt-get -reinstall -install -y
No comments:
Post a Comment