Wifi on MacBook

Seven days ago I posted this link (that needs to be understood):

Over there is recommended simple (very kind) method that I didn’t test with PureOS Amber, meaning it is/was up to you:
echo "deb http://download.opensuse.org/repositories/home:/rpavlik:/bullseye-fix/Debian_Testing/ ./" | sudo tee /etc/apt/sources.list.d/bullseye-upgrade-fix.list

curl http://download.opensuse.org/repositories/home:/rpavlik:/bullseye-fix/Debian_Testing/Release.key | sudo tee /etc/apt/trusted.gpg.d/bullseye-upgrade-fix.asc

sudo apt update && sudo apt upgrade

Otherwise just download PureOS 10.0 image, as of 10-Oct-2021, install it and reread my post #17 here.

sudo apt purge gcc-8-base − − after (preferably) or before this one:

I downloaded PureOS 10 image. But it complains that my Mac doesn’t have enough memory, even so it has 4GB installed. I am trying to upgrade.

After installation of PureOS, I need to add bullseye to the source.list, then run update and upgrade.
Will this action install the boradcom driver from the repository?

1 Like

Unfortunately not. It will replace parts of PureOS with Debian bullseye, but will not bring in any packages that does not exists in Pureos. In particular, broadcom driver will not be installed.

You need to find the name of a package containing broadcom driver,
Then do apt update and apt install that-particular-package

Afterwards I’d recommend to comment out bullseye from sources.list, or use pinning, so that you won’t override PureOS packages with Debian bullseye

Yes, it is always useful to do that. Afterwards you’ll find out that you need, I think:


As already posted by yourself go (as first step) with that one or some local variation of it:
deb https://ftp-stud.hs-esslingen.de/debian/ bullseye non-free

@Ralf, afterwards please just follow things (recommendations) from my post #17 here (don’t move to the next step if previous isn’t working smoothly), start with (just to be aware of which driver your laptop will need):

We are about (although it is up to you to understand and accept what I’m suggesting here, actually within my post #17) to use automated process (much easier one), brand new approach from Debian team:

What exactly am I downloading here?

Sorry, but I don’t remember. What exactly is the command for installing this download?

1 Like

Please open and follow carefully this link: Wifi on MacBook.

I am back with my MacBookPro upgraded to 8GB RAM.

I installed PureOS 10 allright.

Then I added
deb http://deb.debian.org/debian bullseye non-free
to my source.list.

I did sudo apt update and got errors already:

ralf@ralf-macbookpro11:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Ign:2 http://deb.debian.org/debian byzantium InRelease
Err:3 http://deb.debian.org/debian byzantium Release
404 Not Found [IP: 80]
Hit:4 https://repo.pureos.net/pureos byzantium InRelease
Hit:5 https://repo.pureos.net/pureos byzantium-security InRelease
Hit:6 https://repo.pureos.net/pureos byzantium-updates InRelease
Reading package lists… Done
E: The repository ‘http://deb.debian.org/debian byzantium 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.

1 Like

Please remove/replace current ones based on http://:

As problem seems to be related to the HTTP headers, therefore please replace above address with:
https://ftp.debian.org/debian/ bullseye non-free

or (only if preferred) some local Debian repository (with https instead http address up front):
deb https://ftp-stud.hs-esslingen.de/debian/ bullseye non-free

Please add this one in addition (optional for testing purpose but you might keep it within this .list file as well):
deb https://security.debian.org/debian-security bullseye-security non-free

Also NOTE that PureOS repository already starts with https (therefore shown incompatibility).

@Ralf, after above error solved, just like to remind on few most important steps:
sudo apt update
sudo apt upgrade

wget http://ftp.us.debian.org/debian/pool/main/d/debian-archive-keyring/debian-archive-keyring_2021.1.1_all.deb
sudo dpkg -i debian-archive-keyring_2021.1.1_all.deb

wget http://ftp.us.debian.org/debian/pool/main/i/isenkram/isenkram-cli_0.48_all.deb
sudo dpkg -i isenkram-cli_0.48_all.deb

sudo isenkram-autoinstall-firmware

Your sources.list is messed up. Debian does not carry byzantium suite, so this is an invalid entry:
deb http://deb.debian.org/debian bullseye non-free
And it causes all the problems, notably 404 not found. No wonder, Debian does not have byzantium, only PureOS does.

Next, if you mix Debian bullseye with PureOS byzantium, you will run into problems related same packages in the two distribution being slightly different versions. This might not bite you, if you only install a single package from Debian, but then again, it depends on a particular package and its dependencies.

Last, doing apt-get upgrade will install the highest version of every package, picked indiscriminately from both Debian and PureOS, and that is sure to either give problems, or it will effectively discard PureOS and switch you over to Debian. (PureOS lags behind Debian a little bit, and thus uses older versions of packages.)

All I need to do is, get the broadcom driver installed to run my wireless communication.

I have two systems running with PureOS 9 and that driver.
This time I was recommended to go with PureOS 10.

If you have a better way of getting this driver installed, please let me know.

For that, I would add debian bullseye non-free to the sources.list, do apt-get update, apt-get install , and then remove debian bullseye from the sources.list altogether.

Edit: And, importantly, I would never run apt-get upgrade in this short period of time, when sources.list contain debian bullsye entries. Only update, to get package list. Never upgrade.

What is the difference between:
‘sudo apt update’ and ‘sudo apt-get update’ ?

There’s no difference. Both are doing the same thing. Slightly different frontend is engaged, that’s all.

1 Like

Will those two commands then get me the broadcom driver installed (after I get the bullseye path set right) ??

I’m reluctant to post an untested procedure, but nevertheless, here it is:

  • get root by sudo su
  • add to the /etc/apt/sources.list: deb http://deb.debian.org/debian bullseye non-free
  • execute apt-get update
  • execute apt-get install isenkram-cli
  • execute isenkram-autoinstall-firmware
  • remove bullseye entry from /etc/apt/sources.list

isenkram-cli is part of main and therefore your proposal to use: apt-get install isenkram-cli might work well only if main, Debian 11 related one, added within sources.list, temporarily of course (certainly without executing apt-get upgrade, as you already noted, as not allowed under PureOS).

There is only one command that will do the magic, in particular. It is this one:

For the purpose of “easy way” clarification, here below is attached partial output of:
sudo man isenkram-autoinstall-firmware

As there is no related feedback to your post, I rewrote your kind proposal up to my preferable liking (not because of I’m awaiting any relevant feedback either or thinking that what you already posted or I’m (re)posting here is everything needed, but might indeed do, at least in general under PureOS):

  • get root by sudo su
  • add to the /etc/apt/sources.list : deb https://ftp.debian.org/debian/ bullseye main non-free
  • execute apt-get update
  • execute apt-get install debian-archive-keyring
  • execute apt-get update
  • execute apt-get install firmware-linux-free
  • execute apt-get install firmware-misc-nonfree
  • execute apt-get install isenkram-cli
  • execute isenkram-autoinstall-firmware
  • remove bullseye entry from /etc/apt/sources.list or mark it to something like this: ##deb https:// …, save/exit.

Thanks, @Dwaff!