Score:1

apt update error: Conflicting values set for option ALLOW_INSECURE regarding source

ng flag

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?

N0rbert avatar
zw flag
Please upload the output of `grep -r "deb" /etc/apt/ --include=*.list` to pastebin.
ng flag
@N0rbert : https://pastebin.com/gfdifKgA
N0rbert avatar
zw flag
Try to remove extra space before `]` in /etc/apt/sources.list.d/FPT-docker.list .
ng flag
@N0rbert thanks for your replies, I"ve removed that space, but the error still occur.
ng flag
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
Score:0
zw flag

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].

N0rbert avatar
zw flag
Ok, no problem.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.