Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dpkg --get-selections '*' > /tmp/selections.txt
- apt-get clean
- awk '$2=="hold" || $2 == "install" {print $1}' /tmp/selections.txt |
- xargs -r apt-get -d -y reinstall
- dpkg --set-selections < /tmp/selections.txt
- apt-get dist-upgrade
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement