Posted by Anonymous Fri 2nd Mar 2007 20:01 - Syntax is Bash - 31 views
Download | New Post | Modify | Hide line numbers
  1. sudo -s
  2. alien --scripts VMware-workstation-5.5.3-34685.i386.rpm
  3. dpkg -x vmwareworkstation_5.5.3-34686_i386.deb vmwareworkstation_5.5.3-34686_i386
  4. dpkg -e vmwareworkstation_5.5.3-34686_i386.deb vmwareworkstation_5.5.3-34686_i386/DEBIAN
  5. cd vmwareworkstation_5.5.3-34686_i386/DEBIAN
  6. for CNT_FILE in postinst postrm preinst prerm
  7. do
  8.  cat $CNT_FILE | sed 's@-eq@=@g' > $CNT_FILE.tmp
  9.  cat $CNT_FILE.tmp > $CNT_FILE
  10.  rm -f $CNT_FILE.tmp
  11. done
  12. cd ../..
  13. dpkg -b vmwareworkstation_5.5.3-34686_i386 vmwareworkstation_5.5.3-34686noeq_i386.deb
  14. apt-get remove --purge vmware-player vmware-player-kernel-modules vmware-player-kernel-modules-2.6.17-11
  15. rm -rf /etc/vmware /var/run/vmware
  16. dpkg -i vmwareworkstation_5.5.3-34686noeq_i386.deb
  17. vmware-config.pl
  18.  

PermaLink to this entry https://pastebin.co.uk/11310
Posted by Anonymous Fri 2nd Mar 2007 20:01 - Syntax is Bash - 31 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0