Originally from Christchurch, he said he was not welcome at his mother's house there.
"I've got nowhere else to go."
His food had run out and he was feeling unwell after drinking from a nearby stream, he said. He felt unable to attend appointments with his probation officer at Dunedin Central Community Corrections, in Stuart St.
"How am I supposed to get to probation?"
A police spokesman said he was unable to confirm whether police had dropped him off in Maori Rd, but they were aware he was sleeping rough.
He said O'Malley had "burned a few bridges" in the city, and suggested he go to the Work and Income office to discuss further assistance.
Dunedin City Council group manager, parks and recreation, Robert West said O'Malley was technically breaching freedom camping regulations, but would not receive a fine.
The council usually tried to help people sleeping rough to find suitable accommodation, he said.
"When we are made aware of situations like these, staff will try to talk to the person concerned to see what social services support might be available."