Looking further it appears that you had non-standard versions of ruby installed on your system:
Preparing to replace rubygems1.8 1.3.7-1~uorppa0 (using .../rubygems1.8_1.8.15-0ubuntu1_all.deb) ...^M Unpacking replacement rubygems1.8 ...^M dpkg: warning: unable to delete old directory '/var/lib/gems/1.8': Directory not empty^M dpkg: warning: unable to delete old directory '/var/lib/gems': Directory not empty^M Preparing to replace rubygems 1.3.7-1~uorppa0 (using .../rubygems_1.8.15-0ubuntu1_all.deb) ...^M Unpacking replacement rubygems ...^M Preparing to replace ri1.8 1.8.7.249-2 (using .../ri1.8_1.8.7.352-2_all.deb) ...^M Unpacking replacement ri1.8 ...^M Preparing to replace ri 4.2-2~uorppa0 (using .../apt/archives/ri_4.8_all.deb) ...^M Unpacking replacement ri ...^M
Looking further it appears that you had non-standard versions of ruby installed on your system:
Preparing to replace rubygems1.8 1.3.7-1~uorppa0 (using .../rubygems1. 8_1.8.15- 0ubuntu1_ all.deb) ...^M gems/1. 8': Directory not empty^M 1.8.15- 0ubuntu1_ all.deb) ...^M 8_1.8.7. 352-2_all. deb) ...^M archives/ ri_4.8_ all.deb) ...^M
Unpacking replacement rubygems1.8 ...^M
dpkg: warning: unable to delete old directory '/var/lib/
dpkg: warning: unable to delete old directory '/var/lib/gems': Directory not empty^M
Preparing to replace rubygems 1.3.7-1~uorppa0 (using .../rubygems_
Unpacking replacement rubygems ...^M
Preparing to replace ri1.8 1.8.7.249-2 (using .../ri1.
Unpacking replacement ri1.8 ...^M
Preparing to replace ri 4.2-2~uorppa0 (using .../apt/
Unpacking replacement ri ...^M