Been awhile - looking for help updating distro

So it’s been awhile since I turned on my Librem 15v4, and I am looking for help with updating/upgrading my distro to byzantium. The last time I was on the forums I watched a few threads on how it was unstable at the time, so I stayed on Amber, however, I was hoping that since it’s been a couple years I could move to byzantium - as perhaps it is stable now. So in short, just looking for help in how to do that, or is it recommended I stay on Amber for stablity? Thanks to anyone in advance for the help.

I’m not sure how much longer Purism is going to support Amber, but it is recommended to upgrade to Byzantium.

Make a backup of any files on your laptop that you can’t lose (on an external drive, USB Flash memory or cloud).

Then, edit your sources.list file:
sudo nano /etc/apt/sources.list

Change amber to byzantium in the file and save it (CTL+X, then Y, then ENTER).

Then issue the following commands:
sudo apt update
sudo apt full-upgrade

When done, reboot.

2 Likes

thank you so much man, was looking to get advice just like this, cheers!

not sure if you can help me, but I followed your instructions but end up getting this when issuing sudo apt full-upgrade:
'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
so I am stuck here it seems, as I can’t run sudo apt upgrade or full-upgrade, and about 580 packages need upgrade, so perhaps half of byzantium packages installed, but not sure outside of the linux kernel has updated to 5.10

Can you post the output from this?
cat /etc/apt/sources.list /etc/apt/sources.list.d/*

Try removing any of the problematic packages, like this:
sudo apt remove libgcc-8-dev

Then, see if you can finish the upgrade.

2 Likes

yes, sorry it’s quite large:
deb https://repo.pureos.net/pureos/ byzantium main
deb https://repo.pureos.net/pureos/ byzantium-security main
deb https://repo.pureos.net/pureos/ byzantium-updates main

deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main

deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main

deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_10/ /

deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_10/ /

NordVPN releases, stable

deb https://repo.nordvpn.com/deb/nordvpn/debian stable main

NordVPN releases, stable

deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
deb https://apt.syncthing.net/ syncthing stable
deb https://apt.syncthing.net/ syncthing stable

TeamViewer DEB repository list

NOTE: Manual changes to this file

- prevent it from being updated by TeamViewer package updates

- will be lost after using the ‘teamviewer repo’ command

The original file can be restored with this command:

cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list

which has the same effect as ‘teamviewer repo default’

NOTE: It is preferred to use the following commands to edit this file:

teamviewer repo - show current repository configuration

teamviewer repo default - restore default configuration

teamviewer repo disable - disable the repository

teamviewer repo stable - make all regular TeamViewer packages available (default)

teamviewer repo preview - additionally, make feature preview packages available

teamviewer repo development - additionally, make the latest development packages available

deb https://linux.teamviewer.com/deb stable main

deb https://linux.teamviewer.com/deb preview main

deb https://linux.teamviewer.com/deb development main

TeamViewer DEB repository list

NOTE: Manual changes to this file

- prevent it from being updated by TeamViewer package updates

- will be lost after using the ‘teamviewer repo’ command

The original file can be restored with this command:

cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list

which has the same effect as ‘teamviewer repo default’

NOTE: It is preferred to use the following commands to edit this file:

teamviewer repo - show current repository configuration

teamviewer repo default - restore default configuration

teamviewer repo disable - disable the repository

teamviewer repo stable - make all regular TeamViewer packages available (default)

teamviewer repo preview - additionally, make feature preview packages available

teamviewer repo development - additionally, make the latest development packages available

deb https://linux.teamviewer.com/deb stable main

deb https://linux.teamviewer.com/deb preview main

deb https://linux.teamviewer.com/deb development main

THIS FILE IS AUTOMATICALLY CONFIGURED

You may comment out this entry, but any other modifications may be lost.

deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main

THIS FILE IS AUTOMATICALLY CONFIGURED

You may comment out this entry, but any other modifications may be lost.

deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main

so I attempted to remove libgcc-8-dev, but I get this:
The following packages have unmet dependencies:
gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-9~deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

listen, thanks for the help man!

In my experience, upgrades rarely work correctly with extra repos and their packages.

I recommend that you delete every package that isn’t from amber or byzantium and you delete all those extra repos. Then do the upgrade. Then re-add the extra repos and install their packages after the upgrade.

1 Like

ok man I will give that a try when I get back from work, thanks alot

See also Upgrade to Byzantium

Yes, Ubuntu version upgrades do that automatically i.e. disable all extra repos before the upgrade. After the upgrade it does not then re-enable any extra repos. I guess the thinking is that

  • it is up to you to work out whether your specific extra software is compatible with the new version of Ubuntu and, if so, which version of that extra software you might need
  • it is important for fault isolation to establish a working baseline i.e. the system worked immediately after the version upgrade and only fell over once you started polluting the system with extra repos :slight_smile:
1 Like

so I disabled all third party repos, and followed instructions in the link you shared, however, it seemed to work for that person but not for me, I used:
sudo apt remove ibc6-dev libgcc-8-dev
but then I get this in return:
The following packages have unmet dependencies:
gsettings-desktop-schemas : Breaks: mutter (< 3.31.4) but 3.30.2-9~deb10u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

not sure where to go from here, damn I thought waiting 2 years to upgrade to byzantium would be easy, guess I was very wrong lol

ok so I ended up running:
sudo apt remove gsettings-desktop-schemas and I think I borked it totally, and now I cannot even boot into pureos, it just gets stuck on the boot screen (I have latest pureboot with encrypted drive) so I am not sure what to do now, if I flash pureos byzantium from a flash drive can I upgrade it properly? I have the libremkey and all that, so not sure if I am fxckd right now man, ugh

What do you mean by “boot screen”? What exactly do you see?

1 Like

so I am stuck on the pureos screen after I type in my luks pw to decrypt drive, I tried to boot the latest kernel 5.10 but it just gets stuck on a pureos screen, then I tried to boot pureos with the 4.19 kernel, but that also gets stuck at pureos screen. I should have mentioned I am using encrypted luks w/librem key and pureboot, so I am not sure what I can even do at this point outside of OEM factory restore where I would have to setup my drive/librem key again, so yeah not sure what I can do but it doesn’t look good

edit: so once I type my pw in if I choose to boot kernel 4.19, it gets stuck at ‘cryptsetup setup successfully’ with the progress bar for decrypting drive, so yeah, might be screwed here
also, I downloaded pureos byzantium and flashed w/etcher to USB drive, but didn’t know if I could use that to essentially upgrade/fix my system without having to OEM reset

Do you get to a working command prompt or does it just freeze during boot?
Maybe Purism support has a suggestion.

I never encrypt my drives because it is so hard to rescue files in these situations.

1 Like

yeah my man, I backed up files but I am thinking I’ll need to totally oem this thing, as I use the librem key so I will mess with it but whatever I do I will post it here in case someone else has this happen

Can you drop to tty after you enter your luks password? Ctrl+f1 or f2 or f3, then you can try to reinstall whatever it was that you uninstalled from the command line.

1 Like

yes I can but I can’t get the wifi adapter up, any suggestions?

¿Ethernet?