Finally wrote my install file.  Only issue occurs on 'sudo apt-get install vim'. For some reason the vim method just loops.