Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load on Ubuntu #3873

Closed
ghost opened this issue Mar 24, 2019 · 23 comments
Closed

Failed to load on Ubuntu #3873

ghost opened this issue Mar 24, 2019 · 23 comments
Labels
closed/works-for-me needs-more-info The report requires more detail before we can decide what to do with this issue. OS/Linux priority/P5 Not scheduled. Don't anticipate work on this any time soon. support addition/edits to articles on support website

Comments

@ghost
Copy link

ghost commented Mar 24, 2019

Description

Loaded OK but then I get:

~$ sudo apt install brave-keyring brave-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package brave-browser

Steps to Reproduce

I used from your Ubuntu page:

curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
OK

Actual result:

As above I get:

~$ sudo apt install brave-keyring brave-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package brave-browser

Additional Information

I just updated to Ubuntu 18.04.2 LTS

@srirambv srirambv added QA Pass-Linux needs-more-info The report requires more detail before we can decide what to do with this issue. labels Mar 25, 2019
@srirambv
Copy link
Contributor

Can you try sudo apt-get clean && apt-get update and then try reinstalling?

@ghost
Copy link
Author

ghost commented Mar 26, 2019

Thanks. It looked OK at first but ended up:

Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
xxxxx:~$ curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add -
OK
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ $UBUNTU_CODENAME main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-${UBUNTU_CODENAME}.list
deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main
xxxxx:~$ 
sudo apt update
Hit:1 http://mirror.netcologne.de/ubuntu bionic InRelease
Hit:2 http://mirror.netcologne.de/ubuntu bionic-updates InRelease        
Hit:3 http://mirror.netcologne.de/ubuntu bionic-backports InRelease      
Hit:4 http://mirror.netcologne.de/ubuntu bionic-security InRelease             
Hit:5 https://brave-browser-apt-release.s3.brave.com bionic InRelease          
Reading package lists... Done                                                  
Building dependency tree       
Reading state information... Done
7 packages can be upgraded. Run 'apt list --upgradable' to see them.
xxxxx:~$ 
xxxxx:~$ sudo apt install brave-keyring brave-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package brave-browser

@ghost
Copy link
Author

ghost commented Mar 26, 2019

Don't know where those cross-outs came from!

@rebron rebron added priority/P5 Not scheduled. Don't anticipate work on this any time soon. support addition/edits to articles on support website labels Mar 29, 2019
@fmarier
Copy link
Member

fmarier commented Apr 23, 2019

@knucklas Can you tell me what files you've got in the /etc/apt/sources.list.d/ directory?

@ghost
Copy link
Author

ghost commented Apr 24, 2019

I have these:
/etc/apt/sources.list.d/brave-browser-release-bionic.list
/etc/apt/sources.list.d/brave-xenial.list
/etc/apt/sources.list.d/brave-xenial.list.distUpgrade

@fmarier
Copy link
Member

fmarier commented Apr 24, 2019

Since you are on Ubuntu 18.04, then you can delete these old files:

  • /etc/apt/sources.list.d/brave-xenial.list
  • /etc/apt/sources.list.d/brave-xenial.list.distUpgrade

and then do sudo apt update.

What do you get if you run apt-key list?

Finally, can you then paste the contents of /etc/apt/sources.list.d/brave-browser-release-bionic.list?

@ghost
Copy link
Author

ghost commented Apr 25, 2019

Thanks, but would you believe, my Ubuntu system has collapsed! I'll respond when I get it back.

@ghost
Copy link
Author

ghost commented Apr 26, 2019

Back up again!

  1. Cannot delete "permission denied"
  2. seems to work
  3. xx@Ubuntu2:~$ apt-key list
/etc/apt/trusted.gpg
--------------------
pub   rsa2048 2017-02-01 [SC] [expires: 2025-01-30]
      5AB4 CA7A C2F9 3FE3 EBD6  082D 6ED1 9DBB 448E EE6C
uid           [ unknown] Brave Software (We're reinventing the browser as a user-first platform for speed and privacy) <support@brave.com>
sub   rsa2048 2017-02-01 [E] [expires: 2025-01-30]

/etc/apt/trusted.gpg.d/brave-browser-release.gpg
------------------------------------------------
pub   rsa4096 2018-10-15 [SC] [expired: 2019-04-13]
      D8BA D4DE 7EE1 7AF5 2A83  4B2D 0BB7 5829 C2D4 E821
uid           [ expired] Brave Software <support@brave.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-archive.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      790B C727 7767 219C 42C8  6F93 3B4F E6AC C0B2 1F32
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg
------------------------------------------------------
pub   rsa4096 2012-05-11 [SC]
      8439 38DF 228D 22F7 B374  2BC0 D94A A3F0 EFE2 1092
uid           [ unknown] Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

/etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg
------------------------------------------------------
pub   rsa4096 2018-09-17 [SC]
      F6EC B376 2474 EDA9 D21B  7022 8719 20D1 991B C93C
uid           [ unknown] Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>
  1. # deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bionic main

How's that?
PS I see you are the only program that appears in the Software updater settings other than canonical etc.

@ghost
Copy link
Author

ghost commented Apr 26, 2019

By the way, now removed those 2 files.

@fmarier
Copy link
Member

fmarier commented Apr 26, 2019

Ok, now try installing again using these commands:

sudo apt update
sudo apt install brave-keyring brave-browser
dpkg -l 'brave-*'

and please copy the output of all of this here.

@ghost
Copy link
Author

ghost commented Apr 27, 2019

This is the result:

xxx@Ubuntu2:~$ sudo apt update
Hit:1 http://mirror.netcologne.de/ubuntu bionic InRelease
Hit:2 http://mirror.netcologne.de/ubuntu bionic-updates InRelease
Hit:3 http://mirror.netcologne.de/ubuntu bionic-backports InRelease
Hit:4 http://mirror.netcologne.de/ubuntu bionic-security InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
xxx@Ubuntu2:~$ sudo apt install brave-keyring brave-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package brave-keyring
E: Unable to locate package brave-browser
xxx@Ubuntu2:~$ dpkg -l 'brave-*'
dpkg-query: no packages found matching brave-*

@ghost
Copy link
Author

ghost commented Apr 27, 2019

Not my crossing outs!

@ghost
Copy link
Author

ghost commented Apr 27, 2019

My system might still be a bit of a mess. I intend to do a re-install.

@fmarier
Copy link
Member

fmarier commented Apr 29, 2019

Ok, it looks like you don't have the Brave repository installed.

Try going through the 5 steps on https://brave-browser.readthedocs.io/en/latest/installing-brave.html#ubuntu-16-04-and-mint-18 again one by one.

@yearmfew
Copy link

yearmfew commented Sep 4, 2019

yearmfew@Vefa:~$ sudo apt install brave-keyring brave-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package brave-browser
yearmfew@Vefa:~$ dpkg -l 'brave-*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  brave-keyring  1.3          all          Brave Browser keyring and reposit

I have tried the same. But it gives the same error

E: Unable to locate package brave-browser

@fmarier
Copy link
Member

fmarier commented Sep 4, 2019

@yearmfew Are you using a 64-bit machine? What's the output of uname -a?

@yearmfew
Copy link

yearmfew commented Sep 5, 2019

@fmarier No I am using 32-bit machine.

@bsclifton
Copy link
Member

@yearmfew we don't support 32 bit Linux unfortunately. It might be possible to get things working from source, but I'm not aware of anyone that has done that

@Alshihmani
Copy link

yearmfew@Vefa:~$ sudo apt install brave-keyring brave-browser
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package brave-browser
yearmfew@Vefa:~$ dpkg -l 'brave-*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  brave-keyring  1.3          all          Brave Browser keyring and reposit

I have tried the same. But it gives the same error

E: Unable to locate package brave-browser

I have Ubuntu 19.10 and the same trouble. Is there any solution?

@gregpalaci
Copy link

E: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/eoan/InRelease 403 Forbidden [IP: 151.101.126.217 443]
E: The repository 'https://brave-browser-apt-release.s3.brave.com eoan InRelease' is not signed.

@gregpalaci
Copy link

@fmarier
Copy link
Member

fmarier commented Oct 24, 2019

@gregbenner For problems running Brave on Ubuntu 19.10, see #6522 (comment).

@fmarier
Copy link
Member

fmarier commented Dec 14, 2022

Going to close this old issue since the original reporter is no longer on GitHub and we haven't seen similar problems lately.

@fmarier fmarier closed this as completed Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/works-for-me needs-more-info The report requires more detail before we can decide what to do with this issue. OS/Linux priority/P5 Not scheduled. Don't anticipate work on this any time soon. support addition/edits to articles on support website
Projects
None yet
Development

No branches or pull requests

7 participants