1

I was trying to remove, then reinstall, tor browser. apt is now no longer working;

sudo apt update

E: Conflicting values set for option Signed-By regarding source https://deb.torproject.org/torproject.org/ focal: /usr/share/keyrings/deb.torproject.org-keyring.gpg != /usr/share/keyrings/tor-archive-keyring.gpg E: The list of sources could not be read.

I tried removing /usr/share/keyrings/deb.torproject.org-keyring.gpg and /usr/share/keyrings/tor-archive-keyring.gpg to no effect..

3
  • How exactly did you try to remove then reinstall? Asking because the repository is correct so just uninstalling the package and reinstalling (or just reinstalling in one go with the --reinstall parameter) should be trivial. Commented Feb 19, 2023 at 18:59
  • As i remember I did "apt purge tor", later apt install tor I did ;. Create a new file in /etc/apt/sources.list.d/ named tor.list. Add the following entries: deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] deb.torproject.org/torproject.org <DISTRIBUTION> main deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] deb.torproject.org/torproject.org <DISTRIBUTION> main then added the gpg key as per support.torproject.org/apt/tor-deb-repo Commented Feb 20, 2023 at 12:09
  • Please replace <DISTRIBUTION> with focal in previous comment. Commented Feb 20, 2023 at 12:18

1 Answer 1

0

My problems were caused by a change in the tor installation procedure. Apt functionality was restored by deleting the tor file from /etc/apt/sources.list.

3
  • Welcome to U&L. Maybe you could edit the answer to expand it? It'd be good to explain the root cause and your solution in more detail. This way the answer can be helpful also in the future; others facing the same issue can follow your steps to get it resolved. How do I write a good answer? in the Help gives good pointers. Commented Feb 21, 2023 at 22:57
  • Please edit your answer to contain SPECIFIC info. Commented Feb 23, 2023 at 12:03
  • Vlastimil, What do you miss? Commented Feb 26, 2023 at 14:13

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.