@krisu : the main issue seems to be 2022-08-11 18:13:41,161: INFO - + libc6-dev : Breaks: libgcc-8-dev
See Migration to 11 won't start : "libc6-dev : Breaks: libgcc-8-dev" - #43 by Aleks for some info about how to go through
However there’s also a small warning about 2022-08-11 18:13:05,228: WARNING - W: Skipping acquire of configured file 'ui/binary-armhf/Packages' as repository 'http://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
You may need to find the corresponding file in /etc/apt/sources.list
or /etc/apt/sources.list.d/
which contains the raspberry pi URL and remove the “ui” keyword at the end of that line. But sounds like it’s not really blocking the upgrade