problem update 16.3

Good morning ,
I tried to update to 16.3 education and I have its error messages in the report concerning brave and opera

think you

[CHECKING:Updating Apt Repos] Fatal Error: { error-repo-download-failed: W:Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-beta.s3.brave.com stable InRelease' doesn't support architecture 'i386', W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-beta stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 24A1004B1F11DCC9, W:Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-nightly.s3.brave.com stable InRelease' doesn't support architecture 'i386', W:GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F, E:The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-developer stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 24A1004B1F11DCC9, W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-stable stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 24A1004B1F11DCC9 }
[CHECKING:Updating Apt Repos] Failed
[CHECKING] Failed
[CHECKING:Restoring System] Started
[CHECKING:Restoring System] Error: { error-repo-download-failed: W:Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-beta.s3.brave.com stable InRelease' doesn't support architecture 'i386', W:Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://brave-browser-apt-nightly.s3.brave.com stable InRelease' doesn't support architecture 'i386', W:GPG error: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F, E:The repository 'https://dl.winehq.org/wine-builds/ubuntu bionic InRelease' is not signed., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-beta stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 24A1004B1F11DCC9, W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-developer stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 24A1004B1F11DCC9, W:An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://deb.opera.com/opera-stable stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 24A1004B1F11DCC9 }
[CHECKING:Restoring System] Completed

Brave Browser pubkey is added with:

sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg

echo "deb [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

Please check your sources.list.d directory located at
/etc/apt/sources.list.d and ensure you do not have Duplicate Entries.

Thank you for the quick reply

I have 2 versions

deb [signed-by=/usr/share/keyrings/brave-browser-beta-archive-keyring.gpg] https://brave-browser-apt-beta.s3.brave.com/ stable main

and

deb [signed-by=/usr/share/keyrings/brave-browser-nightly-archive-keyring.gpg] https://brave-browser-apt-nightly.s3.brave.com/ stable main

This has been an issue with Brave for a while now. This only happens because, as the error message says, the i386 architecture (32-bit) is no longer supported.

You can run uname -m in your terminal. If you see x86_64 that means you are using a 64-bit machine which should be the norm nowadays. If so, go ahead and edit those two entries you have for Brave to specify the architecture you're using as per this thread:

EDIT: If the output of uname -m is "aarch64", for example if you have a MacBook M1 or M2, you should write arch=arm64 instead.

For reference, this is the issue reported a while back:

1 Like

You also need to stick to one version. Having both repos can create conflicts.
Remove the unnecessary or unwanted repository.

I am in archi x86_64
how to modify it?

and I can't remove the packages of the other versions of brave, they are not present in the package manager

and i don't know how to do it via terminal

THANKS

You can directly edit those files, the lines should look like in the link to the Brave issue above. From the terminal you can type something like sudo nano /etc/apt/sources.list.d/<name_of_the_brave_source_file>. All you need to add is "arch=amd64" inside the square brackets along with the "signed-by" setting:

deb [arch=amd64 signed-by=/usr/share/keyrings/brave-browser-nightly-archive-keyring.gpg] https://brave-browser-apt-nightly.s3.brave.com/ stable main

If you are using nano you can press Ctrl+O to save the changes, and then Ctrl+X to exit.

Note that you need elevated permissions to edit those files, which is why you need to prefix that command with sudo. However you can also use more user-friendly text editors, so you might want to check this thread first to learn how to do that using root privileges.

If you run apt list --installed | grep brave do you have any matches for brave?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.