This question already has an answer here:

I have removed the canonical partners repository from other software in software & updates, so what can i do to get it back.

marked as duplicate by N0rbert, karel, guntbert, Thomas, Kevin Bowen Aug 19 '18 at 20:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


Run this command

sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner" 

Not the answer you're looking for? Browse other questions tagged or ask your own question.