ORA-01652 error while upgrading Sagent repository

Products afffected: Sagent
Utilities: Sainrp
A Sagent repository upgrade throws this error:
Error from Server: ORA-01652: unable to extend temp segment by 128 in tablespace TEMP.

It is related to the Oracle database. The database failed to allocate an extent of the required number of blocks for a temporary segment in Oracle tablespace.

The resolution is to add the temp space disk or clean up the table space of temp. This is an Oracle issue not a Sagent one and further details are available from third party links such as Oracle Segment Error.
UPDATED:  May 17, 2019