3

I have become paranoid with adding new repositories lately, but since I need skype, I have to add the repository called canonical.

I read, it is necessary to uncomment (delete the # sign at the beginning) the line in /etc/apt/sources.list for the repository I want to use.

However, when I am in /etc/apt/sources.list, I can't find any repository with canonical in its name.

sharkant
  • 1,311

1 Answers1

4

"canonical partners":

It is these 2 lines ...

$ grep partner sources.list
## 'partner' repository.
# deb http://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partner

or from the desktop (image shows zesty instead of xenial)...

enter image description here

Rinzwind
  • 299,756
  • many thanks, I must have deleted these lines accidently, can I just copy from your answer and paste it into sources.list without further change? – sharkant May 02 '17 at 17:26
  • 1
    Yes sir/man. You can add those 2 lines, remove the # in front of the 2 lines and do an "update" of your sources. – Rinzwind May 02 '17 at 17:28
  • do i have to apt-get update it or something else to take effect? – sharkant May 02 '17 at 17:31
  • yes, use the gui version; it will prompt for it. commandline you need to do it yourself. – Rinzwind May 02 '17 at 17:31