Apt updating problems, need help to resolve this.

mvalor2020

New Member
Joined
Jun 25, 2024
Messages
19
Reaction score
0
Credits
283
I am somewhat new to Linux, having installed Linux Mint 20.3 Cinnamon on a 2014 Acer Aspire MS583P-6423 after it crashed after a Windows 10 update during the plandemic in 03/2020, (also knocking out the web cam). So 2-1/2 years ago, and a new hard drive, I install Linux. Now I am getting a problems with updates after refreshing the update 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.


Now I use sudo modprobe wl just to get my starlink wifi.
How can I resolve this since it will not allow me to access to most websites at this point?
Anyone?
 


G'day mvalor, Welcome to Linux.org

Tell us how you refreshed the Update manager.....what steps did you take ?
 
I am somewhat new to Linux, having installed Linux Mint 20.3 Cinnamon on a 2014 Acer Aspire MS583P-6423 after it crashed after a Windows 10 update during the plandemic in 03/2020, (also knocking out the web cam). So 2-1/2 years ago, and a new hard drive, I install Linux. Now I am getting a problems with updates after refreshing the update 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.


Now I use sudo modprobe wl just to get my starlink wifi.
How can I resolve this since it will not allow me to access to most websites at this point?
Anyone?
If you post your sources lists here, readers may have some ideas about the errors. You can run the following command in a terminal and paste the result here, preferably in code tags:
Code:
cat /etc/apt/sources.list
also, post the contents of any files in the directory /etc/apt/sources.list.d/ using the same cat command.
 
I got:
# This system was installed using small removable media
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

I'm clueless.
 
G'day mvalor, Welcome to Linux.org

Tell us how you refreshed the Update manager.....what steps did you take ?
Glad you asked, But, I dont recall, since this happened about 10 days ado when I refreshed the update manager.
It took out my wifi at the same time so I had to USB Teather with the cell until I discovered sudo modprobe wl to connect with starlink again.
Then I could not get some websites like twitter, some I can like youtube.

Its fustrating!
 
I don't suppose you have Timeshift set up ?

Have you rebooted since this happened?
I would guess that you have, seeing this happened 10 days ago
 
if you have a connection, you could try

sudo apt update && apt --fix-missing
followed by
sudo apt update && apt upgrade
then
apt autoremove

Or you may consider using the mint update manager to upgrade to mint 21

edit for typo
 
Last edited:
I don't suppose you have Timeshift set up ?

Have you rebooted since this happened?
I would guess that you have, seeing this happened 10 days ago
If tried time shift but I had waited too long since the earliest shows june 14. Problems started before this date.
I'm going to have to take some classes on this!
 
Your sources list is a real gem to find out what's missing if anything.

Try running those commands that Brickwizard posted.
Then reboot-
That should help.

If that doesn't solve the issue try upgrading to Linux Mint 21.
 
Upgrading from Linux mint 20.3, to Linux mint 21.3....is a good move

Why?...because 20.3 gets to 'end of life' in April 2025

'End of Life' means : "End-of-life" or EOL is a term used by software vendors indicating that it is ending or limiting it’s support on the product and/or version to shift focus on their newer products and/or version

Linux Mint 21.3 end of life is not until April 2027......



Have a read through this link....this describes the upgrade process from 20.3 to 21.3


You probably will not need to worry about a Timeshift snapshot....as I understand it you have no data to save on your current install ?


Questions/any part you do not understand....Please ask
 
If tried time shift but I had waited too long since the earliest shows june 14. Problems started before this date.
I'm going to have to take some classes on this!


TimeShift.
Let me say it again
TimeShift

On this PC, I've used it 3 times to fix a problem on own. With help from the people here, those problems might have been able to fixed without doing that. But I like knowing I that if it comes to it, I can fix a problem without help.

I took one immediately after installation from my USB drive. I take SnapShots after every update. I take one after I install an app and there are no problems. I recently had problem with an app and had do exactly that!

After a given amount of time has passed, TimeShift will delete old SnapShots. I keep notes on the ones I don't want deleted. Doing that will override automatic deletion. When my system has been working fine, I delete some of the old Snapshots. I don't need them after that some time has passed and I know I won't need to restore to time that far back.

In addition to being able to restore on this PC, I can install a fully updated updated Mint and all the apps I've installed on a different machine.


Unlike Windows Restore, TimeShift actually works. It also takes a lot less time. TimeShift was among the very first pieces of advice I was given when I started using Linux and saved a lot of headaches.

If you want to know more about TimeShift, get in touch with @wizardfromoz and @Condobloke
 
I'd do a clean install of Mint Cinnamon 21.3 as Condobloke says it's supported till 2027.
1719880450820.gif
 
If you post your sources lists here, readers may have some ideas about the errors. You can run the following command in a terminal and paste the result here, preferably in code tags:
Code:
cat /etc/apt/sources.list
also, post the contents of any files in the directory /etc/apt/sources.list.d/ using the same cat command.
# This system was installed using small removable media
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
 
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.
This is a Brave Browser repository error the file in /etc/apt/sources.list.d/brave-browser-release.list is corrupt on the first line since it cannot read "deb" - most likely it needs a # in front of that line - that is the line we need to see so open that file and copy/ paste the contents back here
 
In order for me to upgrade from Linux Mint 20.3 21.3, it would be necessary first to access the link However, my access to certain websites are restricted. On this one I get a message: "

This site can’t be reached​

is unreachable.

ERR_ADDRESS_UNREACHABLE"

Some websites are available such as youtube, facebook and linux.org, but others such as X (twitter) are not.
This is why the update manager is not working.

So I need to get over this obstacle first to upgrade.
Any ideas?
 
As mentioned, I am new at this, so please send me how I would write it to make the "deb" file readable.
 
In my post #14 - try deleting the corrupted file located at /etc/apt/sources.list.d/brave-browser-release.list - you will need to be root to do this and then do the following -

First we need import the GPG key for the stable version of Brave Browser, execute the following command from the terminal

curl -s https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg | sudo gpg --dearmor | sudo tee /usr/share/keyrings/brave-browser-archive-keyring.gpg > /dev/null
It may tell you it is already there - which is fine - also you may need to install curl to run the above command

Next, add the stable repository by running this command:

echo deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main | sudo tee /etc/apt/sources.list.d/brave-browser-release.list
Once that is done run
sudo apt update
do you still have the error - hopefully it is gone

If you try to upgrade with this error it will most likely still be there after the upgrade since it is not a Mint issue and will be copied over to the upgrade, since that repository does not exist on Mint

Also Lint Mint 22 will be out soon - I would wait until then and do a clean install and not upgrade , sometimes upgrading can cause issues, me I always do a clean install, basically back up the stuff you want to keep, then erase drive a start fresh

I edited this several times for clarity -
 
Last edited:
I dont know what you have been trying
my normal route is from the terminal run in order

sudo apt update && apt install mintupgrade

sudo mintupgrade

then follow the instructions in the mintupgrade manger
 
As mentioned, I am new at this, so please send me how I would write it to make the "deb" file readable.
/etc/apt/sources.list.d/brave-browser-release.list is corrupt on the first line since it cannot read "deb" - most likely it needs a # in front of that line - that is the line we need to see so open that file and copy/ paste the contents back here from my post #14 then proceed to my post #17 after you show the file contents
 
@GatorsFan : I do not know how to be root, in order to delete the corrupted file located at /etc/apt/sources.list.d/brave-browser-release.list
@Brickwizard :
At listing:
$ sudo apt update && apt install mintupgrade
The results are as follows:

Ign:1 https://brave-browser-apt-release.s3.brave.com stable InRelease
Err:2 https://brave-browser-apt-release.s3.brave.com stable Release
Cannot initiate the connection to brave-browser-apt-release.s3.brave.com:443 (18.160.172.17). - connect (101: Network is unreachable) Cannot initiate the connection to brave-browser-apt-release.s3.brave.com:443 (18.160.172.100). - connect (101: Network is unreachable) Cannot initiate the connection to brave-browser-apt-release.s3.brave.com:443 (18.160.172.38). - connect (101: Network is unreachable) Cannot initiate the connection to brave-browser-apt-release.s3.brave.com:443 (18.160.172.35). - connect (101: Network is unreachable)
Ign:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:4 http://apt.connectify.me speedify InRelease
Err:5 http://security.ubuntu.com/ubuntu focal-security Release
Cannot initiate the connection to security.ubuntu.com:80 (91.189.91.82). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (185.125.190.81). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (91.189.91.81). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (185.125.190.82). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (185.125.190.83). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (91.189.91.83). - connect (101: Network is unreachable)
Err:6 http://apt.connectify.me speedify Release
Cannot initiate the connection to apt.connectify.me:80 (104.22.76.194). - connect (101: Network is unreachable) Cannot initiate the connection to apt.connectify.me:80 (172.67.36.143). - connect (101: Network is unreachable) Cannot initiate the connection to apt.connectify.me:80 (104.22.77.194). - connect (101: Network is unreachable)
Ign:7 http://packages.linuxmint.com una InRelease
Err:8 http://packages.linuxmint.com una Release
Cannot initiate the connection to packages.linuxmint.com:80 (68.235.39.11). - connect (101: Network is unreachable) Cannot initiate the connection to packages.linuxmint.com:80 (208.77.20.11). - connect (101: Network is unreachable)
Ign:9 http://archive.canonical.com/ubuntu focal InRelease
Ign:10 http://ppa.launchpad.net/sicklylife/gnucash/ubuntu focal InRelease
Ign:11 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal InRelease
Err:12 http://archive.canonical.com/ubuntu focal Release
Cannot initiate the connection to archive.canonical.com:80 (185.125.188.12). - connect (101: Network is unreachable) Cannot initiate the connection to archive.canonical.com:80 (91.189.91.15). - connect (101: Network is unreachable) Cannot initiate the connection to archive.canonical.com:80 (185.125.188.87). - connect (101: Network is unreachable)
Err:13 http://ppa.launchpad.net/sicklylife/gnucash/ubuntu focal Release
Cannot initiate the connection to ppa.launchpad.net:80 (185.125.190.80). - connect (101: Network is unreachable)
Err:14 http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal Release
Cannot initiate the connection to ppa.launchpad.net:80 (185.125.190.80). - connect (101: Network is unreachable)
Ign:15 http://dl.google.com/linux/earth/deb stable InRelease
Err:16 http://dl.google.com/linux/earth/deb stable Release
Cannot initiate the connection to dl.google.com:80 (142.251.116.136). - connect (101: Network is unreachable) Cannot initiate the connection to dl.google.com:80 (142.251.116.91). - connect (101: Network is unreachable) Cannot initiate the connection to dl.google.com:80 (142.251.116.190). - connect (101: Network is unreachable) Cannot initiate the connection to dl.google.com:80 (142.251.116.93). - connect (101: Network is unreachable)
Ign:17 http://mirrors.advancedhosters.com/ubuntu focal InRelease
Ign:18 http://mirrors.advancedhosters.com/ubuntu focal-updates InRelease
Ign:19 http://mirrors.advancedhosters.com/ubuntu focal-backports InRelease
Err:20 http://mirrors.advancedhosters.com/ubuntu focal Release
Cannot initiate the connection to mirrors.advancedhosters.com:80 (213.174.147.249). - connect (101: Network is unreachable)
Err:21 http://mirrors.advancedhosters.com/ubuntu focal-updates Release
Cannot initiate the connection to mirrors.advancedhosters.com:80 (213.174.147.249). - connect (101: Network is unreachable)
Err:22 http://mirrors.advancedhosters.com/ubuntu focal-backports Release
Cannot initiate the connection to mirrors.advancedhosters.com:80 (213.174.147.249). - connect (101: Network is unreachable)
Ign:23 http://ddebs.ubuntu.com focal InRelease
Ign:24 http://ddebs.ubuntu.com focal-updates InRelease
Err:25 http://ddebs.ubuntu.com focal Release
Cannot initiate the connection to ddebs.ubuntu.com:80 (185.125.190.18). - connect (101: Network is unreachable) Cannot initiate the connection to ddebs.ubuntu.com:80 (91.189.91.49). - connect (101: Network is unreachable) Cannot initiate the connection to ddebs.ubuntu.com:80 (91.189.91.48). - connect (101: Network is unreachable) Cannot initiate the connection to ddebs.ubuntu.com:80 (185.125.190.17). - connect (101: Network is unreachable)
Err:26 http://ddebs.ubuntu.com focal-updates Release
Cannot initiate the connection to ddebs.ubuntu.com:80 (185.125.190.18). - connect (101: Network is unreachable) Cannot initiate the connection to ddebs.ubuntu.com:80 (91.189.91.49). - connect (101: Network is unreachable) Cannot initiate the connection to ddebs.ubuntu.com:80 (91.189.91.48). - connect (101: Network is unreachable) Cannot initiate the connection to ddebs.ubuntu.com:80 (185.125.190.17). - connect (101: Network is unreachable)
Reading package lists... Done
E: The repository 'https://brave-browser-apt-release.s3.brave.com stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://security.ubuntu.com/ubuntu focal-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://apt.connectify.me speedify Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://packages.linuxmint.com una Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://archive.canonical.com/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/sicklylife/gnucash/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://dl.google.com/linux/earth/deb stable Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.advancedhosters.com/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.advancedhosters.com/ubuntu focal-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.advancedhosters.com/ubuntu focal-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ddebs.ubuntu.com focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ddebs.ubuntu.com focal-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Just to let you know, so that I can have a internet connection after starting the computer, I have to write the sudo modprobe wl command when I did not have to previously.

What is your suggestion?
 


Members online


Top