ehowton (ehowton) wrote,
ehowton
ehowton

Clean up orphaned files for SLES 11 —> 12 —> 15 upgrade

zypper pa --orphaned > /tmp/orphaned-packages.txt

for x in `cat /tmp/orphaned-packages.txt | awk '{print $5}' | xargs` ; do zypper remove -y $x; done

reboot
Tags: linux
Subscribe

  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments