Flatseal sandboxing vs Template install?

This worked well…once I got rid of the cacher (which was painful but anyhow…).

Thank you. Once I had it working, I was able to figure out how to do it with the cacher in place.

In order to use the cacher:

#!/bin/bash
apt update && apt upgrade -y
cd /tmp
export https_proxy=127.0.0.1:8082
curl --proxy 127.0.0.1:8082 http://HTTPS///brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg --output /usr/share/keyrings/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] http://HTTPS///brave-browser-apt-release.s3.brave.com/ stable main"| tee /etc/apt/sources.list.d/brave-browser-release.list
apt update && apt install -y brave-browser

I don’t know why the curl command needed rearranging as well as the HTTPS stuff, I just know it did. Fortunately this…

How to curl with an active apt-cacher configuration - User Support - Qubes OS Forum (qubes-os.org)

…was here to help me figure that out.

[edit to add: I’m not even sure the export line is needed.]

3 Likes