Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

How to install Brave browser in Debian 11 RC [Solved]

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

How to install Brave browser in Debian 11 RC [Solved]

#1 Post by vinoman »

I've install Debian 11 RC and most things work fine.

I tried to install Brave browser using these instructions, https://www.osradar.com/how-to-install- ... debian-10/

But after running the first command it asks for a Debian cdrom but I used a usb stick, so it could not finish.

Is there a way to install Brave?
Last edited by vinoman on 2021-05-17 17:07, edited 1 time in total.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: How to install Brave browser in Debian 11 RC

#2 Post by craigevil »

Post your /etc/sources.list
More than likely you need to comment the cd lines and add others.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install Brave browser in Debian 11 RC

#3 Post by vinoman »

craigevil wrote:Post your /etc/sources.list
More than likely you need to comment the cd lines and add others.

Code: Select all

# deb cdrom:[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot am>

#deb cdrom:[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot amd>

deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main contrib
deb-src http://security.debian.org/debian-security bullseye-security main contr>
deb http://security.debian.org/debian-security bullseye-security main contrib n>
deb-src http://security.debian.org/debian-security bullseye-security main contr>

just commented out the cdrom line but then when I did apt-get update and tried again and I get this...

Code: Select all

root@debian:/home/davek# apt install apt-transport-https curl gnupg

Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is he...

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: How to install Brave browser in Debian 11 RC

#4 Post by 4D696B65 »

vinoman wrote: just commented out the cdrom line but then when I did apt-get update and tried again and I get this...

Code: Select all

root@debian:/home/davek# apt install apt-transport-https curl gnupg

Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is he...
Do you have synaptic open?

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install Brave browser in Debian 11 RC

#5 Post by vinoman »

Here''s my sources list. I think it's incorrect. Please let me know what it should be. Thanks.

Code: Select all

 deb cdrom:[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot amd>

# deb cdrom:[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot am>

deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main
deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

Code: Select all

davek@debian:~$ su
Password: 
root@debian:/home/davek# nano /etc/apt/sources.list
root@debian:/home/davek# apt-get update
Ign:1 cdrom://[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20210415-20:26] bullseye InRelease
Err:2 cdrom://[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20210415-20:26] bullseye Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://deb.debian.org/debian bullseye InRelease
Hit:4 http://security.debian.org/debian-security bullseye-security InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux bullseye-DI-rc1 _Bullseye_ - Official Snapshot amd64 DVD Binary-1 20210415-20:26] bullseye 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.
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:11
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:9 and /etc/apt/sources.list:11
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons-hidpi (main/dep11/icons-64x64@2.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
W: Target DEP-11-icons-large (main/dep11/icons-128x128.tar) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:10
root@debian:/home/davek# 

How can I correct this?

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install Brave browser in Debian 11 RC

#6 Post by vinoman »

4D696B65 wrote:
vinoman wrote: just commented out the cdrom line but then when I did apt-get update and tried again and I get this...

Code: Select all

root@debian:/home/davek# apt install apt-transport-https curl gnupg

Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is heWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is he...
Do you have synaptic open?
No, but I can open it if needed. I have messed up my sources list. what should it be?

User avatar
vinoman
Posts: 354
Joined: 2008-08-28 03:30

Re: How to install Brave browser in Debian 11 RC

#7 Post by vinoman »

Changed my sources list to:

Code: Select all

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye/updates main contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free
After updating I was able to run the instructions and install Brave browser. :) [Solved]


Post Reply