Sir Paul McCartney paid tribute to both his late wife and his current spouse as he performed at the Desert Trip music festival in the US.
The former Beatle also referenced his late bandmate George Harrison, the late singer Jimi Hendrix and The Rolling Stones during his two-and-a-half-hour headlining set.
He sang Maybe I'm Amazed for his late wife Linda and dedicated My Valentine to his current spouse Nancy, with the pair celebrating their fifth wedding anniversary on Sunday.
Sir Paul, 74, brought out a ukulele to perform George's Something, but stopped the song almost as soon as he started.
He said: "I'm out of tune. I'm going to get another one."
A stagehand brought him another ukulele and the singer began to play again.
He added: "At least it proves we're live, right?"
Backed by a five-piece band, Sir Paul played a few bars of Foxey Lady to honour Hendrix, and recognised the Stones with I Wanna Be Your Man, which Sir Paul and his Beatles bandmate John Lennon wrote for the rockers in the early 1960s.
It follows the Stones' performance on the opening night of the festival in California, where they covered the Beatles' hit Come Together.
Frontman Sir Mick Jagger introduced it by saying: "We're going to do a cover song of some unknown beat group."
Besides the ukulele, Sir Paul also played bass, guitar and piano.
He performed his earliest pre-Beatles recording In Spite Of All The Danger, from 1958, and his most recent track FourFiveSeconds, which he made last year with Kanye West and Rihanna.
Sir Paul also shared stories about his first recording session with the Beatles, and said he could "still hear the nerves in my voice" on Love Me Do.
Other tracks included in his set were A Hard Day's Night, Can't Buy Me Love, Eleanor Rigby and Let It Be.
Neil Young, who was also a headliner at the event, joined Sir Paul on stage to perform A Day In The Life, which morphed into Lennon's Give Peace A Chance.
Audience members flashed peace signs as they sang along.
Neil also played lead guitar to duet with Sir Paul on Why Don't We Do It In The Road?
When his friend left the stage, Sir Paul said: "Thank-you, Neil. I love that boy."