Wifi on MacBook

Hmmm. Whatever you’re typing after “sed” is confusing the terminal. Can you point me to where you’re getting it from?


post #87

I have in my source.lists
deb http://deb.debian.org/debian bullseye non-free
deb http://deb.debian.org/debian buster non-free

When I run : sudo apt update

I get a connection failed error on these.
Do we have debian server problems?

What I guess, here within this thread, is that you are probably using another laptop (another PureOS based installation on another Macbook) and therefore people here need to know which WiFi chipset is inside your current device:
sudo lspci | grep -i wireless

And hope that solution to working WiFi on this device is just around corner, as it is for sure. But first, please remove: deb http://deb.debian.org/debian buster non-free line from this Macbook sources.list file.

As second, please download: http://ftp.de.debian.org/debian/pool/main/d/debian-ports-archive-keyring/debian-ports-archive-keyring_2020.02.02_all.deb package to some particular folder and install it from there:
sudo apt purge debian-ports-archive-keyring
sudo apt update
sudo apt upgrade
sudo apt autoremove

sudo dpkg -i debian-ports-archive-keyring_2020.02.02_all.deb

As next, please read carefully this Debian instruction and download: http://ftp.de.debian.org/debian/pool/main/i/isenkram/isenkram-cli_0.48_all.deb in order to (please be aware that this particular package includes few dependencies, yet automated install isn’t excluded for now, we don’t expect problem there):
sudo dpkg -i isenkram-cli
sudo isenkram-autoinstall-firmware

Please post isenkram-autoinstall-firmware output here, please share it with us. As related to above link, latest non-free firmware collection is, as well (You don’t need to use them), here: https://cdimage.debian.org/cdimage/unofficial/non-free/firmware/bullseye/20211009/. Working with above tips should be easy for you (even if I forgot something important), therefore please let us know how this newly added non-free functionality from Debian 11 Team worked for you.

Looks like you’ll need to remove gcc-8 and its dependencies, adjust few things:
sudo apt search libgcc-8-dev
sudo apt search libgcc-9-dev

Here is output of mine:
sudo apt search gcc-10
Sorting… Done
Full Text Search… Done
gcc-10/stable,now 10.2.1-6 amd64 [installed,automatic]
GNU C compiler
etc.

Solution might be: sudo apt purge gcc-8 or sudo apt purge gcc-9, please reread provided link in this post, but don’t see your related outputs. Provided link shows you some direction. I might only guess that you are using old PureOS Amber and therefore having some timestamp, sort of, issues.

sudo apt install gcc-10
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
gcc-10 is already the newest version (10.2.1-6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Or just adjust accordingly your download repositories, if you are not already running PureOS 10 (Byzantium), down to buster non-free.

Sorry for confusion (if any) but I just don’t know which PureOS you are using there.

@Ralf, I just realized that you made upgrade to PureOS Byzantium yet never removed Amber repo(s). Please remove those from your sources.list:

Check if your install of PureOS 10 is now back on track:
sudo apt update
sudo apt autoremove
sudo apt update
sudo apt full-upgrade

This would include removal of buster non-free (as above) repo, bullseye non-free stays unchanged … try now to install/add needed WiFi package(s).

Quarnero
I executed the instruction on your last post. Here are the results:

$ sudo apt update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
Get:2 https://repo.pureos.net/pureos byzantium InRelease [5,851 B]
Get:3 https://repo.pureos.net/pureos byzantium-security InRelease [4,581 B]
Get:4 https://repo.pureos.net/pureos byzantium-updates InRelease [4,580 B]
Get:5 https://repo.pureos.net/pureos byzantium/main DEP-11 48x48 Icons [3,440 kB]
Get:6 https://repo.pureos.net/pureos byzantium/main DEP-11 64x64 Icons [7,226 kB]
Get:7 https://repo.pureos.net/pureos byzantium-security/main amd64 Packages [79.0 kB]
Get:8 https://repo.pureos.net/pureos byzantium-security/main Translation-en [46.6 kB]
Fetched 10.9 MB in 50s (220 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
1451 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
starla@starla-mac2021:~$ sudo apt autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
lightning
0 upgraded, 0 newly installed, 1 to remove and 1450 not upgraded.
After this operation, 223 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 204881 files and directories currently installed.)
Removing lightning (1:78.14.0-1~deb10u1) …
starla@starla-mac2021:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 https://repo.pureos.net/pureos byzantium InRelease
Hit:3 https://repo.pureos.net/pureos byzantium-security InRelease
Hit:4 https://repo.pureos.net/pureos byzantium-updates InRelease
Reading package lists… Done
Building dependency tree
Reading state information… Done
1450 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
starla@starla-mac2021:~$ sudo apt full-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
starla@starla-mac2021:~$

Both of my MacBook Pros are alike. I can swap the hard drive and the other will run with the amber installation.
All I need for the new installation to run is the broadcom driver for the wireless card.

I did an installation two months ago and it worked fine.

This third installation is giving me fits. One reason is the connection trouble with the amber stuff.
The other reason is that I could not get the broadcom driver from the debian website last night either. There were connection issues to the site.

What do I need to do to get that broadcom driver installed this round?

1 Like

Let me take few things from your post in order to explain:

sudo apt update - important one
sudo apt list --upgradable - informative one

Now you should not skip this important one:
sudo apt upgrade

The answer to sudo apt upgrade would be the same:

After apt upgrade finished please reboot your current Macbook (to the new Linux kernel, etc.):
sudo reboot

Afterwards:
sudo apt update - take a look if all packages already upgraded
sudo apt autoremove

sudo apt full-upgrade - check if needed at all, if works now

This post describes prerequisite so I’ll make new post, repeat things about WiFi on PureOS Byzantium based install process when all successfully done (that hopefully will work). Thanks on your reply, all looks good!

Should be sudo reboot ?

1 Like

Sure, of course. Thanks for correcting me! I’ll edit my post right away.

1 Like

Next step, after successful completion of sudo apt update && sudo apt upgrade, etc. within my post #21 here:

Below outputs are from current Debian 11.1, but current PureOS related package repo confirms compatibility:
sudo apt list gcc-10-base
Listing… Done
gcc-10-base/stable,now 10.2.1-6 amd64 [installed]

sudo apt list libc6-dev -a
Listing… Done
libc6-dev/now 2.32-4 amd64 [installed,local]
libc6-dev/stable 2.31-13+deb11u2 amd64

If preferred or needed (for example somewhere else), you can do upgrade particular package like this:
sudo apt upgrade libc6-dev

Yes I understand but still let me take this opportunity and ask you to do us, actually current and future PureOS Byzantium users, a favor and forget for a second about installing specific non-free driver only, by using Debian 11 “bullseye” repository. Please take advantage of using automated process from Debian, that is based, added on top of your specific hardware (to make it work).

in order to:
sudo dpkg -i isenkram-cli_0.48_all.deb
sudo isenkram-autoinstall-firmware

sudo reboot - should result in being able to establish your local WiFi connection.

I did the update and got the 1450 packages again. autoremove did zero remove. But the full-upgrade did not work:

sudo apt update
[sudo] password for starla:
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 https://repo.pureos.net/pureos byzantium InRelease [5,851 B]
Get:3 https://repo.pureos.net/pureos byzantium-security InRelease [4,581 B]
Get:4 https://repo.pureos.net/pureos byzantium-updates InRelease [4,580 B]
Get:5 https://repo.pureos.net/pureos byzantium/main amd64 Packages [7,048 kB]
Get:6 https://repo.pureos.net/pureos byzantium/main Translation-en [5,662 kB]
Get:7 https://repo.pureos.net/pureos byzantium/main amd64 DEP-11 Metadata [3,150 kB]
Get:8 https://repo.pureos.net/pureos byzantium/main DEP-11 48x48 Icons [3,479 kB]
Get:9 https://repo.pureos.net/pureos byzantium/main DEP-11 64x64 Icons [7,321 kB]
Get:10 https://repo.pureos.net/pureos byzantium-security/main amd64 Packages [83.8 kB]
Get:11 https://repo.pureos.net/pureos byzantium-security/main Translation-en [48.8 kB]
Fetched 26.8 MB in 2min 25s (185 kB/s)
Reading package lists… Done
Building dependency tree
Reading state information… Done
1450 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
starla@starla-mac2021:~$ sudo apt autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 1450 not upgraded.
starla@starla-mac2021:~$ sudo apt full-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
starla@starla-mac2021:~$

I also tried one individual upgrade:

sudo apt upgrade libc6-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.31-13+deb11u2) but 2.28-10 is to be installed
Depends: libc-dev-bin (= 2.31-13+deb11u2) but 2.28-10 is to be installed
Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
Breaks: python3.7 (< 3.7.7-1+b1) but 3.7.3-2+deb10u2 is to be installed
E: Broken packages
starla@starla-mac2021:~$

@Ralf, please complete below command at the first (it will take some time) place:
sudo apt update && sudo apt upgrade

I understand it is your computer, your decision, therefore if/when ready for PureOS Byzantium, complete above command by answering this question :
Do you want to continue? [Y/n] Y

P.S. Today I’m on the road again, take care. Executing only: sudo apt upgrade will work as well. Upgrade is our key word.

On the first go around it asked me for the YES - NO and then upgraded a bunch of stuff. I came back, when the screen was dark. I got on and then rebooted.

Then I ran a second update and upgrade. Here are the results:

tarla-mac2021:~$ sudo apt update
[sudo] password for starla:
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 https://repo.pureos.net/pureos byzantium InRelease
Hit:3 https://repo.pureos.net/pureos byzantium-security InRelease
Hit:4 https://repo.pureos.net/pureos byzantium-updates InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
500 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
starla@starla-mac2021:~$ sudo apt upgrade
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
The following packages were automatically installed and are no longer required:
enigmail ethtool geoip-database libbind9-161 libdleyna-core-1.0-3 libdns1104
libdns1110 libevent-core-2.1-6 libevent-pthreads-2.1-6 libgeoip1
libgutenprint-common libgutenprint9 libhavege1 libirs161 libisc1100 libisc1105
libisccc161 libisccfg163 libjim0.77 liblouisutdml8 liblwres161 libreadline5
libusbmuxd4 linux-image-4.19.0-9-amd64 pm-utils printer-driver-gutenprint
python-apt python-gi webext-ublock-origin webext-ublock-origin-chromium
Use ‘sudo apt autoremove’ to remove them.
The following packages have been kept back:
alsa-utils apg appstream aspell brltty btrfs-progs cheese chromium
chromium-common chromium-sandbox coinor-libcbc3 coinor-libcgl1 coinor-libclp1
coinor-libcoinmp1v5 coinor-libcoinutils3v5 colord cpp cpp-8 cups-browsed
cups-filters cups-filters-core-drivers deja-dup duplicity eog espeak-ng-data
evince evince-common evolution-data-server file-roller firefox-esr flatpak
folks-common fuse fwupd fwupd-amd64-signed gcc gcc-8 gcc-8-base gcr gdisk gdm3
gedit gedit-common ghostscript ghostscript-x gir1.2-appstream-1.0
gir1.2-evince-3.0 gir1.2-freedesktop gir1.2-gck-1 gir1.2-gcr-3
gir1.2-gdkpixbuf-2.0 gir1.2-gdm-1.0 gir1.2-glib-2.0 gir1.2-gnomedesktop-3.0
gir1.2-goa-1.0 gir1.2-gspell-1 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0
gir1.2-gtk-3.0 gir1.2-gweather-3.0 gir1.2-ibus-1.0 gir1.2-nm-1.0 gir1.2-nma-1.0
gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-polkit-1.0
gir1.2-rb-3.0 gir1.2-rsvg-2.0 gir1.2-soup-2.4 gir1.2-totem-1.0 gjs
glib-networking glib-networking-services gnome-calculator gnome-calendar
gnome-clocks gnome-contacts gnome-control-center gnome-control-center-data
gnome-desktop3-data gnome-disk-utility gnome-font-viewer gnome-initial-setup
gnome-online-accounts gnome-photos gnome-screenshot gnome-session
gnome-session-bin gnome-session-common gnome-settings-daemon
gnome-settings-daemon-common gnome-shell gnome-shell-common
gnome-shell-extensions gnome-software gnome-software-common
gnome-software-plugin-flatpak gnome-sushi gnome-system-monitor gnome-todo
gnome-tweaks grilo-plugins-0.3 groff-base gsettings-desktop-schemas
gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-libav gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
gstreamer1.0-pulseaudio gstreamer1.0-x gtk-update-icon-cache gtk2-engines-pixbuf
gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse gvfs-libs hplip
hplip-data i965-va-driver ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-libpinyin
ibus-table intel-media-va-driver iproute2 iptables libaa1 libaom0
libappstream-glib8 libappstream4 libapt-pkg-perl libasound2 libasound2-data
libasound2-plugins libaspell15 libass9 libatkmm-1.6-1v5 libavcodec-extra
libavcodec-extra58 libavfilter7 libavformat58 libavresample4 libavutil56
libayatana-ido3-0.4-0 libayatana-indicator3-7 libbabl-0.1-0 libblockdev-part2
libbrotli1 libc-bin libc-dev-bin libc6 libc6-dev libcairo-gobject-perl
libcairo-gobject2 libcairo-perl libcairo2 libcamel-1.2-62 libcdr-0.1-1
libchamplain-0.12-0 libchromaprint1 libclutter-1.0-0 libcolord2 libcupsfilters1
libdazzle-1.0-0 libde265-0 libdjvulibre21 libe-book-0.1-1 libebackend-1.2-10
libedataserverui-1.2-2 libegl-mesa0 libespeak-ng1 libevdocument3-4 libevview3-3
libexempi8 libexif12 libfaad2 libflac8 libflatpak0 libflite1 libfolks-eds25
libfolks25 libfreerdp2-2 libfuse2 libfwupd2 libgail-common libgail18 libgbm1
libgcab-1.0-0 libgcc-8-dev libgcr-ui-3-1 libgd3 libgdk-pixbuf2.0-0
libgdk-pixbuf2.0-bin libgdk-pixbuf2.0-common libgdm1 libgegl-0.4-0 libgexiv2-2
libgfortran5 libgirepository-1.0-1 libgjs0g libgl1-mesa-dri libglapi-mesa
libglib-object-introspection-perl libglib-perl libglib2.0-0 libglib2.0-bin
libglibmm-2.4-1v5 libglx-mesa0 libgme0 libgnome-bluetooth13 libgnome-todo
libgoa-1.0-0b libgoa-backend-1.0-1 libgphoto2-6 libgpod4 libgrilo-0.3-0 libgs9
libgs9-common libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0
libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin
libgtk2.0-0 libgtk2.0-bin libgtkd-3-0 libgtkmm-3.0-1v5 libgutenprint-common
libgutenprint9 libharfbuzz-icu0 libhpmud0 libhtml-parser-perl
libhttp-message-perl libibus-1.0-5 libical3 libinput10 libiptc0 libiw30
liblapack3 liblcms2-2 liblilv-0-0 liblist-moreutils-perl liblocale-gettext-perl
libmediaart-2.0-0 libmetis5 libmodplug1 libmp3lame0 libmpcdec6 libmpg123-0
libmpx2 libmspub-0.1-1 libmwaw-0.3-3 libnautilus-extension1a libnet-dbus-perl
libnet-ssleay-perl libnm0 libnma0 libnorm1 libnotify4 libnspr4 libnss-myhostname
libofa0 libopenjp2-7 libopenmpt0 libopus0 libpackagekit-glib2-18 libpam-systemd
libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpangoxft-1.0-0
libpeas-1.0-0 libpinyin-data libpinyin13 libpixman-1-0 libpng16-16
libpolkit-agent-1-0 libpolkit-gobject-1-0 libpoppler-glib8 libpostproc55
libpulse-mainloop-glib0 libpulse0 libpulsedsp libpython2-stdlib libpython2.7
libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.7
libpython3.7-minimal libpython3.7-stdlib libqt5core5a libqt5dbus5 libqt5gui5
libqt5network5 libqt5qml5 libqt5quick5 libqt5svg5 libqt5waylandclient5
libqt5waylandcompositor5 libqt5widgets5 libqxp-0.0-0
libreoffice-avmedia-backend-gstreamer libreoffice-base-core libreoffice-calc
libreoffice-common libreoffice-core libreoffice-draw libreoffice-gnome
libreoffice-gtk3 libreoffice-impress libreoffice-math libreoffice-writer
librhythmbox-core10 librsvg2-2 librsvg2-common librubberband2 libsane
libsane-common libsane-hpaio libsdl1.2debian libsensors5 libserd-0-0
libsidplay1v5 libslang2 libsmbclient libsndfile1 libsord-0-0 libsoundtouch1
libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspeex1 libspeexdsp1
libspice-client-gtk-3.0-5 libsqlite3-0 libsratom-0-0 libswresample3 libswscale5
libsystemd0 libtag1v5 libtag1v5-vanilla libtcl8.6 libtdb1 libtext-charwidth-perl
libtext-iconv-perl libtiff5 libtk8.6 libtotem0 libtracker-control-2.0-0
libtracker-miner-2.0-0 libtracker-sparql-2.0-0 libtwolame0 libu2f-udev libudev1
libumfpack5 libuuid-perl libvirt-daemon libvirt0 libvisio-0.1-1 libvisual-0.4-0
libvorbis0a libvorbisenc2 libvorbisfile3 libvte-2.91-0 libvted-3-0 libvulkan1
libwbclient0 libwebp6 libwebpmux3 libwinpr2-2 libwps-0.4-4 libxapian30
libxatracker2 libxml-parser-perl libxml2 libxslt1.1 libxtables12 libxvidcore4
libyelp0 libzmf-0.0-0 libzmq5 libzvbi-common libzvbi0 locales lp-solve mawk
mesa-va-drivers mesa-vdpau-drivers mlocate mtr-tiny mutter nautilus nautilus-data
network-manager network-manager-gnome network-manager-pptp
network-manager-pptp-gnome orca packagekit packagekit-tools perl perl-base
plymouth plymouth-label plymouth-themes polari policykit-1 poppler-utils powertop
ppp printer-driver-gutenprint printer-driver-hpcups printer-driver-pnm2ppa
pulseaudio pulseaudio-module-bluetooth pulseaudio-utils pureos-gnome
pureos-standard python-six python2 python2-minimal python2.7 python2.7-minimal
python3 python3-apt python3-brlapi python3-cairo python3-cups python3-dbus
python3-gi python3-gi-cairo python3-gst-1.0 python3-markupsafe python3-minimal
python3-pil python3-pycurl python3-renderpm python3-reportlab
python3-reportlab-accel python3-six python3-smbc python3-uno python3.7
python3.7-minimal qemu-system-common qemu-system-gui qemu-system-x86 qemu-utils
qt5-gtk-platformtheme qtwayland5 rhythmbox rhythmbox-plugins rsyslog rygel
samba-common samba-common-bin samba-dsdb-modules samba-libs sane-utils seahorse
simple-scan speech-dispatcher speech-dispatcher-audio-plugins
speech-dispatcher-espeak-ng systemd thunderbird tilix tilix-common totem
totem-plugins tpm2-abrmd tpm2-tools tracker tracker-extract tracker-miner-fs udev
unattended-upgrades ure wpasupplicant x11-apps xbrlapi xdg-desktop-portal
xdg-desktop-portal-gtk xserver-xephyr xserver-xorg-core
xserver-xorg-input-libinput xserver-xorg-video-intel xwayland yelp
0 upgraded, 0 newly installed, 0 to remove and 500 not upgraded.
starla@starla-mac2021:~$

The wifi is still not working. Therefore I am concluding that the broadcom driver was not installed.

Can you try sudo apt full-upgrade ?

You’ll likely want sudo apt autoremove --purge to get rid of the ‘no longer required’ packages.

1 Like

not working:

sudo apt autoremove --purge
[sudo] password for starla:
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
The following packages will be REMOVED:
enigmail* ethtool* geoip-database* libbind9-161* libdleyna-core-1.0-3* libdns1104* libdns1110*
libevent-core-2.1-6* libevent-pthreads-2.1-6* libgeoip1* libgutenprint-common* libgutenprint9* libhavege1*
libirs161* libisc1100* libisc1105* libisccc161* libisccfg163* libjim0.77* liblouisutdml8* liblwres161*
libreadline5* libusbmuxd4* linux-image-4.19.0-9-amd64* pm-utils* printer-driver-gutenprint* python-apt*
python-gi* webext-ublock-origin* webext-ublock-origin-chromium*
0 upgraded, 0 newly installed, 30 to remove and 497 not upgraded.
After this operation, 317 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database … 224715 files and directories currently installed.)
Removing enigmail (2:2.2.4-0.3) …
Removing ethtool (1:5.9-1) …
Removing geoip-database (20191224-3) …
Removing libbind9-161:amd64 (1:9.11.19+dfsg-2.1) …
Removing libdleyna-core-1.0-3:amd64 (0.4.0-1+b2) …
Removing libdns1104:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u5) …
Removing libirs161:amd64 (1:9.11.19+dfsg-2.1) …
Removing libisccfg163:amd64 (1:9.11.19+dfsg-2.1) …
Removing libdns1110:amd64 (1:9.11.19+dfsg-2.1) …
Removing libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) …
Removing libevent-core-2.1-6:amd64 (2.1.8-stable-4) …
Removing libisc1100:amd64 (1:9.11.5.P4+dfsg-5.1+deb10u5) …
Removing libgeoip1:amd64 (1.6.12-7) …
Removing printer-driver-gutenprint (5.3.1-7) …
Removing libgutenprint9 (5.3.1-7) …
Removing libgutenprint-common (5.3.1-7) …
Removing libhavege1:amd64 (1.9.1-7) …
Removing libisccc161:amd64 (1:9.11.19+dfsg-2.1) …
Removing libisc1105:amd64 (1:9.11.19+dfsg-2.1) …
Removing libjim0.77:amd64 (0.77+dfsg0-3) …
Removing liblouisutdml8:amd64 (2.7.0-5+b1) …
Removing liblwres161:amd64 (1:9.11.19+dfsg-2.1) …
Removing libreadline5:amd64 (5.2+dfsg-3+b13) …
Removing libusbmuxd4:amd64 (1.1.0~git20181007.07a493a-1) …
Removing linux-image-4.19.0-9-amd64 (4.19.118-2+deb10u1) …
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.19.0-9-amd64
/etc/kernel/postrm.d/zz-update-grub:
Generating grub configuration file …
Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported.
Found linux image: /boot/vmlinuz-5.10.0-9-amd64
Found initrd image: /boot/initrd.img-5.10.0-9-amd64
Found linux image: /boot/vmlinuz-4.19.0-14-amd64
Found initrd image: /boot/initrd.img-4.19.0-14-amd64
Found memtest86+ image: /memtest86+.bin
Found memtest86+ multiboot image: /memtest86+_multiboot.bin
done
Removing pm-utils (1.4.1-19) …
Removing python-apt (1.8.4pureos3) …
Removing python-gi (3.30.4-1) …
Removing webext-ublock-origin (1.37.0+dfsg-1~deb11u1) …
Removing webext-ublock-origin-chromium (1.37.0+dfsg-1~deb11u1) …
Processing triggers for libc-bin (2.28-10) …
Processing triggers for man-db (2.9.4-2) …
Processing triggers for cups (2.3.3op2-3+deb11u1) …
(Reading database … 219033 files and directories currently installed.)
Purging configuration files for linux-image-4.19.0-9-amd64 (4.19.118-2+deb10u1) …
Purging configuration files for pm-utils (1.4.1-19) …
Purging configuration files for printer-driver-gutenprint (5.3.1-7) …
Purging configuration files for ethtool (1:5.9-1) …
starla@starla-mac2021:~$ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 https://repo.pureos.net/pureos byzantium InRelease
Hit:3 https://repo.pureos.net/pureos byzantium-security InRelease
Hit:4 https://repo.pureos.net/pureos byzantium-updates InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
497 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
starla@starla-mac2021:~$ sudo apt full-upgrade
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
starla@starla-mac2021:~$

Here is a summary of my projects:

Early in 2020 I installed PureOS on my very first MacBook Pro. There is a thread on this forum about it. I figured out how to install PureOS from a CD, but we never got the wifi to work.
Through a third party (USB wifi manufacturer) I learned that the PureOS version I had installed had a faulty kernel. Through an update that was corrected and the wifi came to live.

During the September 2021 I installed a second MacBook with PureOS amber. I did the updates and through that received the broadcom driver via deb http://deb.debian.org/debian bullseye non-free. And I got this Mac to work pretty quick.

Now I am doing a third installation on another MacBook Pro and having all the above issues. I could not updates from “amber” anymore. Therefore I tried “byzantium”, still having download issues.
I still have not been able to get the necessary boradcom driver for this installation.

The Mac is not at fault. I can swap hard drives and it runs fine on the older PureOS installation.

1 Like

Can you maybe remove libgcc-8-dev and install it again after the upgrade, including any packages that it will remove with it that you require?

Usually -dev packages and related are not vital, and can be re-installed.

sudo apt remove libgcc-8-dev (or reply with the list of packages that it will remove if you have doubts).

1 Like

I removed the libgcc-8-dev and did another autoremove as prompted in the terminal. Then I did update and upgrade and a bunch of stuff happened. I rebooted, still no wifi, did update and upgrade again, see below:

$ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 https://repo.pureos.net/pureos byzantium InRelease
Hit:3 https://repo.pureos.net/pureos byzantium-security InRelease
Hit:4 https://repo.pureos.net/pureos byzantium-updates InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
491 packages can be upgraded. Run ‘apt list --upgradable’ to see them.
starla@starla-mac2021:~$ sudo apt upgrade
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
alsa-utils apg appstream aspell brltty btrfs-progs cheese chromium
chromium-common chromium-sandbox coinor-libcbc3 coinor-libcgl1 coinor-libclp1
coinor-libcoinmp1v5 coinor-libcoinutils3v5 colord cups-browsed cups-filters
cups-filters-core-drivers deja-dup duplicity eog espeak-ng-data evince
evince-common evolution-data-server file-roller firefox-esr flatpak folks-common
fuse fwupd fwupd-amd64-signed gcc-8-base gcr gdisk gdm3 gedit gedit-common
ghostscript ghostscript-x gir1.2-appstream-1.0 gir1.2-evince-3.0
gir1.2-freedesktop gir1.2-gck-1 gir1.2-gcr-3 gir1.2-gdkpixbuf-2.0 gir1.2-gdm-1.0
gir1.2-glib-2.0 gir1.2-gnomedesktop-3.0 gir1.2-goa-1.0 gir1.2-gspell-1
gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gtk-3.0
gir1.2-gweather-3.0 gir1.2-ibus-1.0 gir1.2-nm-1.0 gir1.2-nma-1.0
gir1.2-packagekitglib-1.0 gir1.2-pango-1.0 gir1.2-peas-1.0 gir1.2-polkit-1.0
gir1.2-rb-3.0 gir1.2-rsvg-2.0 gir1.2-soup-2.4 gir1.2-totem-1.0 gjs
glib-networking glib-networking-services gnome-calculator gnome-calendar
gnome-clocks gnome-contacts gnome-control-center gnome-control-center-data
gnome-desktop3-data gnome-disk-utility gnome-font-viewer gnome-initial-setup
gnome-online-accounts gnome-photos gnome-screenshot gnome-session
gnome-session-bin gnome-session-common gnome-settings-daemon
gnome-settings-daemon-common gnome-shell gnome-shell-common
gnome-shell-extensions gnome-software gnome-software-common
gnome-software-plugin-flatpak gnome-sushi gnome-system-monitor gnome-todo
gnome-tweaks grilo-plugins-0.3 groff-base gsettings-desktop-schemas
gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-libav gstreamer1.0-plugins-bad
gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly
gstreamer1.0-pulseaudio gstreamer1.0-x gtk-update-icon-cache gtk2-engines-pixbuf
gvfs gvfs-backends gvfs-bin gvfs-common gvfs-daemons gvfs-fuse gvfs-libs hplip
hplip-data i965-va-driver ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-libpinyin
ibus-table intel-media-va-driver iproute2 iptables libaa1 libaom0
libappstream-glib8 libappstream4 libapt-pkg-perl libasound2 libasound2-data
libasound2-plugins libaspell15 libass9 libatkmm-1.6-1v5 libavcodec-extra
libavcodec-extra58 libavfilter7 libavformat58 libavresample4 libavutil56
libayatana-ido3-0.4-0 libayatana-indicator3-7 libbabl-0.1-0 libblockdev-part2
libbrotli1 libc-bin libc-dev-bin libc6 libc6-dev libcairo-gobject-perl
libcairo-gobject2 libcairo-perl libcairo2 libcamel-1.2-62 libcdr-0.1-1
libchamplain-0.12-0 libchromaprint1 libclutter-1.0-0 libcolord2 libcupsfilters1
libdazzle-1.0-0 libde265-0 libdjvulibre21 libe-book-0.1-1 libebackend-1.2-10
libedataserverui-1.2-2 libegl-mesa0 libespeak-ng1 libevdocument3-4 libevview3-3
libexempi8 libexif12 libfaad2 libflac8 libflatpak0 libflite1 libfolks-eds25
libfolks25 libfreerdp2-2 libfuse2 libfwupd2 libgail-common libgail18 libgbm1
libgcab-1.0-0 libgcr-ui-3-1 libgd3 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-bin
libgdk-pixbuf2.0-common libgdm1 libgegl-0.4-0 libgexiv2-2 libgfortran5
libgirepository-1.0-1 libgjs0g libgl1-mesa-dri libglapi-mesa
libglib-object-introspection-perl libglib-perl libglib2.0-0 libglib2.0-bin
libglibmm-2.4-1v5 libglx-mesa0 libgme0 libgnome-bluetooth13 libgnome-todo
libgoa-1.0-0b libgoa-backend-1.0-1 libgphoto2-6 libgpod4 libgrilo-0.3-0 libgs9
libgs9-common libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0
libgstreamer-plugins-base1.0-0 libgstreamer1.0-0 libgtk-3-0 libgtk-3-bin
libgtk2.0-0 libgtk2.0-bin libgtkd-3-0 libgtkmm-3.0-1v5 libharfbuzz-icu0 libhpmud0
libhtml-parser-perl libhttp-message-perl libibus-1.0-5 libical3 libinput10
libiptc0 libiw30 liblapack3 liblcms2-2 liblilv-0-0 liblist-moreutils-perl
liblocale-gettext-perl libmediaart-2.0-0 libmetis5 libmodplug1 libmp3lame0
libmpcdec6 libmpg123-0 libmspub-0.1-1 libmwaw-0.3-3 libnautilus-extension1a
libnet-dbus-perl libnet-ssleay-perl libnm0 libnma0 libnorm1 libnotify4 libnspr4
libnss-myhostname libofa0 libopenjp2-7 libopenmpt0 libopus0
libpackagekit-glib2-18 libpam-systemd libpango-1.0-0 libpangocairo-1.0-0
libpangoft2-1.0-0 libpangoxft-1.0-0 libpeas-1.0-0 libpinyin-data libpinyin13
libpixman-1-0 libpng16-16 libpolkit-agent-1-0 libpolkit-gobject-1-0
libpoppler-glib8 libpostproc55 libpulse-mainloop-glib0 libpulse0 libpulsedsp
libpython2-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib
libpython3-stdlib libpython3.7 libpython3.7-minimal libpython3.7-stdlib
libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5qml5 libqt5quick5
libqt5svg5 libqt5waylandclient5 libqt5waylandcompositor5 libqt5widgets5
libqxp-0.0-0 libreoffice-avmedia-backend-gstreamer libreoffice-base-core
libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw
libreoffice-gnome libreoffice-gtk3 libreoffice-impress libreoffice-math
libreoffice-writer librhythmbox-core10 librsvg2-2 librsvg2-common librubberband2
libsane libsane-common libsane-hpaio libsdl1.2debian libsensors5 libserd-0-0
libsidplay1v5 libslang2 libsmbclient libsndfile1 libsord-0-0 libsoundtouch1
libsoup-gnome2.4-1 libsoup2.4-1 libsoxr0 libspeex1 libspeexdsp1
libspice-client-gtk-3.0-5 libsqlite3-0 libsratom-0-0 libswresample3 libswscale5
libsystemd0 libtag1v5 libtag1v5-vanilla libtcl8.6 libtdb1 libtext-charwidth-perl
libtext-iconv-perl libtiff5 libtk8.6 libtotem0 libtracker-control-2.0-0
libtracker-miner-2.0-0 libtracker-sparql-2.0-0 libtwolame0 libu2f-udev libudev1
libumfpack5 libuuid-perl libvirt-daemon libvirt0 libvisio-0.1-1 libvisual-0.4-0
libvorbis0a libvorbisenc2 libvorbisfile3 libvte-2.91-0 libvted-3-0 libvulkan1
libwbclient0 libwebp6 libwebpmux3 libwinpr2-2 libwps-0.4-4 libxapian30
libxatracker2 libxml-parser-perl libxml2 libxslt1.1 libxtables12 libxvidcore4
libyelp0 libzmf-0.0-0 libzmq5 libzvbi-common libzvbi0 locales lp-solve mawk
mesa-va-drivers mesa-vdpau-drivers mlocate mtr-tiny mutter nautilus nautilus-data
network-manager network-manager-gnome network-manager-pptp
network-manager-pptp-gnome orca packagekit packagekit-tools perl perl-base
plymouth plymouth-label plymouth-themes polari policykit-1 poppler-utils powertop
ppp printer-driver-hpcups printer-driver-pnm2ppa pulseaudio
pulseaudio-module-bluetooth pulseaudio-utils pureos-gnome pureos-standard
python-six python2 python2-minimal python2.7 python2.7-minimal python3
python3-apt python3-brlapi python3-cairo python3-cups python3-dbus python3-gi
python3-gi-cairo python3-gst-1.0 python3-markupsafe python3-minimal python3-pil
python3-pycurl python3-renderpm python3-reportlab python3-reportlab-accel
python3-six python3-smbc python3-uno python3.7 python3.7-minimal
qemu-system-common qemu-system-gui qemu-system-x86 qemu-utils
qt5-gtk-platformtheme qtwayland5 rhythmbox rhythmbox-plugins rsyslog rygel
samba-common samba-common-bin samba-dsdb-modules samba-libs sane-utils seahorse
simple-scan speech-dispatcher speech-dispatcher-audio-plugins
speech-dispatcher-espeak-ng systemd thunderbird tilix tilix-common totem
totem-plugins tpm2-abrmd tpm2-tools tracker tracker-extract tracker-miner-fs udev
unattended-upgrades ure wpasupplicant x11-apps xbrlapi xdg-desktop-portal
xdg-desktop-portal-gtk xserver-xephyr xserver-xorg-core
xserver-xorg-input-libinput xserver-xorg-video-intel xwayland yelp
0 upgraded, 0 newly installed, 0 to remove and 491 not upgraded.
starla@starla-mac2021:~$

Looks like still a bunch hung up.

Can you try sudo apt full-upgrade ?