Advertisement
rockdrilla

aptitude makes me happy

Dec 8th, 2015
480
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. aptitude --schedule-only --purge-unused markauto '!~v ~i !~E'
  2.  
  3. aptitude --schedule-only unmarkauto '!~v ~i ~E'
  4. aptitude --schedule-only hold "!~v ~i ~E"
  5. aptitude --schedule-only unhold "!~v ~i ~E"
  6.  
  7. for i in libc6 libc-bin libgcc libstdc kmod udev; do
  8. aptitude --schedule-only unmarkauto "!~v ~i ~n^$i"
  9. aptitude --schedule-only hold "!~v ~i ~n^$i"
  10. aptitude --schedule-only unhold "!~v ~i ~n^$i"
  11. done
  12.  
  13. for i in ifupdown netbase net-tools isc-dhcp iproute iptables iputils-ping; do
  14. aptitude --schedule-only unmarkauto "!~v ~i ~n^$i"
  15. aptitude --schedule-only hold "!~v ~i ~n^$i"
  16. aptitude --schedule-only unhold "!~v ~i ~n^$i"
  17. done
  18.  
  19. for i in rsyslog logrotate debconf dmidecode aptitude wget nano mawk; do
  20. aptitude --schedule-only unmarkauto "!~v ~i ~n^$i"
  21. aptitude --schedule-only hold "!~v ~i ~n^$i"
  22. aptitude --schedule-only unhold "!~v ~i ~n^$i"
  23. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement