1

As subject, today when I tried to apt update, my ubuntu server throw error message that

E: Conflicting values set for option ALLOW_INSECURE regarding source <set> <unset> 
E: The list of sources could not be read. 

How to detect what make this problem and how to fix it?

5
  • Please upload the output of grep -r "deb" /etc/apt/ --include=*.list to pastebin.
    – N0rbert
    Jul 28, 2021 at 3:43
  • @N0rbert : pastebin.com/gfdifKgA
    – Luke
    Jul 28, 2021 at 4:07
  • 1
    Try to remove extra space before ] in /etc/apt/sources.list.d/FPT-docker.list .
    – N0rbert
    Jul 28, 2021 at 4:22
  • @N0rbert thanks for your replies, I"ve removed that space, but the error still occur.
    – Luke
    Jul 28, 2021 at 5:07
  • I've tried comment each line with trusted=yes and found that the error come from this line: deb [trusted=yes arch=amd64] http://dn-repo.fsoft.com.vn/repository/docker-install/linux/ubuntu bionic stable Dont know why, it works now
    – Luke
    Jul 28, 2021 at 5:08

1 Answer 1

0

You have to remove extra space before ] in /etc/apt/sources.list.d/FPT-docker.list and check spelling in similar lines like with [trusted=yes arch=amd64].

1
  • Ok, no problem.
    – N0rbert
    Jul 29, 2021 at 7:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .