ORA-01652 error while upgrading Sagent repository

Sagent repository upgrade throws below error:
"Error from Server: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP."

This is related to Oracle Database. Database failed to allocate an extent of the required number of blocks for a temporary segment in Oracle tablespace.
Resolution is to add the temp space disk or clean up the table space of temp.
For details visit link Oracle Segment Error.
Environment Details
Product :- Sagent V6.8 
Utilities - Sainrp.
UPDATED:  May 22, 2015