How to fix "failed to install file: not supported" issue in Ubuntu.