Score:0

Trying to install Brave, "Curl: (23) Failure writting output to destination"

cg flag

Just installed Ubuntu, I am a total newbie, I tried installing brave via the official installation instructions for installing Brave on Ubuntu (and Mint and Debian) here: https://brave.com/linux/

But things errored out on the second line. I got to:

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

after installing curl, so really it is the first line having anything to do with Brave at all, and I immediately got a:

curl: (23) Failure writing output to destination

I have been looking around for pre-existing help on line with regards to "curl: (23)" type errors, and basically all the advice was to delete and then update curl by reinstalling it. So I have done that a number of times in different ways now, but it doesn't do anything, I still have the same issue.

As an aside, which of the log files in the var/log directory are the logs written when installing Ubuntu. A few little errors occurred on install and I want to get those logs to see if any of them need fixes or whatnot -- even to just figure out what happened didn't get installed would be nice.

muru avatar
us flag
Does the `/usr/share/keyrings/` directory exist?
natS avatar
cg flag
...oh ... it does not appear to I take it I have to make one and curl won't do that on its own? There is a /usr/share/keyring/ directory (i.e. no "s" at the end of keyring) should I use that in the curl command instead, or is that for something else and I would be a crazy maniac to try that with the Brave installation and I should make the keyrings folder insead?
natS avatar
cg flag
Tried doing the original using the singular "keyring" i.e.: sudo curl -fsSLo /usr/share/keyring/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg because the usr/share/keyring folder does exist, but this attempt also gives the same "curl: (23) Failure writing output to destination" error
muru avatar
us flag
The output of `type -a curl` might help
Score:0
cg flag

Apparently using:

curl

and specifying

/usr/bin/curl

are two different things, for reason my dumb n00b brain doesn't understand. Replacing the original (and specified on the proper installation website):

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

with

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

I have no idea why that is necessary, or why that wasn't specified in the official instructions

natS avatar
cg flag
I have checked the /etc/environment it seems to have the normal path listings according to what I am seeing on line so I have no idea why it is having me use snap curl instead of the most recent full version of curl that I installed (and then reinstalled a couple of times as that seemed to be the only advice I could find around for related problems posted on the net, but which never worked.)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.