Upgrade to Byzantium

Per instructions change repo in sources.list to byzantium from amber. Issued update and then full-upgrade, but I get the following error. What’s the best approach to get past this?
Thanks!

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

Something you could try is to simply remove the things that it says it will break.

In this case, try removing the libgcc-8-dev package first, and then try running the upgrade command again.

Then once the upgrade has passed successfully, you can always try to reinstall the packages that were removed (or some newer versions).

1 Like

Did you ever solve this? The suggestion caused more dependency messages for me. I tried searching the web, but I have not found a solution that has worked or applies to byzantium.

sudo apt remove ibc6-dev libgcc-8-dev
sudo apt dist-upgrade
sudo apt full-upgrade
sudo apt autoremove --purge

most of conflicts came from glibc devel/gcc packages, can be solved by removing gcc.
then reinstalling if needed

note all -dev packaes are headers, so totally not needed for regular running system, those are usable only if you plan to build/compile app depending on library…
so all -dev packages you can simply remove.
most of gcc packakages and compilers too.
then reinstall only those you need to continue dev work.
most of dkms packages like librem-ec driver will automagically reinstall required -dev packages and compilers back.
i hope that helps.

4 Likes

Thank you for the commands and information. (I think you mean libc6-dev.) That fixed it, though I have a few packages being held back.

I would mark this as ‘solved,’ but this is not my thread.

1 Like

for held back packages, most reasonaable approach is
apt remove list af pakgages held
apt autoremove --purge
then apt isntall packages from list held packages that you wish to keep
that will reisntall them
packages held mostly are part of old gcc/glibc stack, and/or packages with cirrcular dependencies.
there is many posts on stack overflow and other places how to hadnle them - just search for debian upgrade instructions.
PureOS is a debian fork, so same rules and methodologies apply.
have fun.

Yes, I did. But what did I do…
I think I just removed some packages and it worked. I don’t think I needed the dev package for example.
Sorry, I’m not much help…

Where can I read those instructions? I looked a bit around the PureOS website, but couldn’t find anything…

1 Like

We’re also working on resolving those issues in the libgcc packages.

2 Likes

Will this work on the L5 or is this just for the laptops?

The Librem 5 has a somewhat different build path but is currently being updated to Byzantium. So you certainly will be able to upgrade your Librem 5 to Byzantium, yes.