After upgrading to Ubuntu version 22.04 a couple programs were giving errors that seemed might solve with an update.
Trying to update encountered the present problem.
When using any sudo apt-get command in terminal and this paste is actually the error when opening Synaptic Package Manager:
E: Type '“deb' is not known on line 1 in source list /etc/apt/sources.list.d/brave-browser-release.list
E: The list of sources could not be read.
E: _cache->open() failed, please report.
An older fix which had misplaced " marks was not applicable. Then i noticed the sources.list text was for cdrom installation. searched for how to change that and that's when i tried opening Synaptic and got the above error message. messed around with the source list and pasted the official sources.list for web updates and the same error message appears, no resolution yet.
After typing the last paragraph I saw the brave-browser-release.list was the problem and have now edited the quote makes from that file which has taken me past the error to the following errors.
From apt-get update:
[sudo] password for marcos:
Hit:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Hit:2 http://archive.canonical.com/ubuntu jammy InRelease
Ign:3 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign:4 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:5 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:6 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:3 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign:4 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:5 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:6 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:3 https://archive.ubuntu.com/ubuntu jammy InRelease
Ign:4 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:5 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Ign:6 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:3 https://archive.ubuntu.com/ubuntu jammy InRelease
Could not connect to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (91.189.91.38). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (91.189.91.39). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused)
Err:4 https://archive.ubuntu.com/ubuntu jammy-updates InRelease
Unable to connect to archive.ubuntu.com:https:
Err:5 https://archive.ubuntu.com/ubuntu jammy-security InRelease
Unable to connect to archive.ubuntu.com:https:
Err:6 https://archive.ubuntu.com/ubuntu jammy-backports InRelease
Unable to connect to archive.ubuntu.com:https:
Reading package lists... Done
W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy/InRelease Could not connect to archive.ubuntu.com:443 (2001:67c:1562::18). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (91.189.91.38). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (2001:67c:1562::15). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (185.125.190.36). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (2620:2d:4000:1::16). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (91.189.91.39). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (2620:2d:4000:1::19). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:443 (185.125.190.39). - connect (111: Connection refused)
W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Unable to connect to archive.ubuntu.com:https:
W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy-security/InRelease Unable to connect to archive.ubuntu.com:https:
W: Failed to fetch https://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Unable to connect to archive.ubuntu.com:https:
W: Some index files failed to download. They have been ignored, or old ones used instead.
I don't know if the problem comes because I changed the sources.list data or something else.
Brave Browser is still not loading any page, not even its own settings page. Screenshot program is also not performing normally.
hope this is enough information to help me.