Header Upgrades Amber

Hello,
I am ultimately trying to upgrade my Lib 13v4 from Amber to Byzantium. After trying 3 times and failing and having to restore my backup image I think the problem may be in the following?

I have noticed after Amber updates that the terminal reports that I can remove an Image and that Headers can be downloaded. (Attached screen shot).

How exactly should I proceed? I have no coding experience.

I believe this may be some of the issue with my wanting to upgrade to byzantium?

Thank you.
Frank

I could be wrong but I don’t think it will ever automatically upgrade from A to B. So what you may be hunting around for is instructions for how to carry out that upgrade.

Failing in what way? I see no error message in your screenshot.

You should post here the significant lines from /etc/apt/sources.list i.e. excluding blank lines and comments.

I’m not sure but upgrade only upgrades packages within a distribution version, if I understand correctly. Try using dist-upgrade instead to upgrade distribution version with apt-get.

The failure comes at reboot. After passing my luks password authentication goes to black screen wit blinking white cursor top left corner with no way to enter user password to get access to the desk top.

I followed the info sent to me for the upgrade via email from support. Changing the repositories, using the sudo commands. I also updated the coreboot at their recommendation.

As of now, I want to remove what is being asked to remove in the terminal output and install the items listed as upgradable at the end of the output in the screenshot.

Hello thanks for you reply.

So something along the lines of:

sudo apt-get with addition of the syntax in each of the last thee lines in the terminal screen attachment I posted?

On the screencap is see sudo apt upgrade but for this I’d try (if it works) sudo apt-get dist-upgrade. Also there is the sudo apt full-upgrade [but I doubt it will help with distro - more with what’s kept back, for often good reason].
As always, they should give you list of upgradable stuff (if able) and option to accept or not.

Thank you much for your patience. I will give this a try. Should I “autoremove” the image listed above prior to using the command you referenced?

Autoremove is just cleanup of files that are not needed anymore. You can do that afterwards too - the process may take care of it too.

One caveat to this is that the suggested commands usually work in a normal system but if I read right, you may have already done some less than successful upgrading (that blinking prompt) and I’m doubtful the upgrade commands will fix the system. Maybe, maybe not. Consider that you may have to move on from upgrading to doing a completely new install and just move some files from the old system (which may be more efficient and more complete than fixing several problems).

Thanks much for your time…:smiley:

Did it work?

When I get home from work, I’ll givie it a try and post back. Hopefully it works.

1 Like

It shouldn’t make any difference either way - other than freeing up some disk space. (Did you check both partitions for sufficient available disk space?)

However before I let Linux autoremove a kernel, I confirm what I am currently running with
uname -r
and ideally what other kernel versions would remain after the autoremove.

If you aren’t running 4.19.0-22 then, sure, let it remove that.

1 Like

I used the sudo command for auto-remove and rebooted the L13.
After reboot I used the sudo commands for update and upgrade and it reported nothing to be upgradable…in other words the last 3 items in the screen capture I posted are gone.
My next step is to back up an image of what I have now and then try the upgrade again with the repository changes and sudo commands.
After changing the repos to byzantium when I perform the 3 sudo commands for update, upgrade without packages, and full upgrade is it necessary to reboot after each command output?
Also, in my last failed upgrading process I get a blue window for a yes/ no question for auto reboot in regrds acknowledgement of certain library installations…answering no would allow the computer to automatically do it…yes would have my acknowledge all…does it matter?
Also my last failed attempt indicated a failure to get/install some kind of library or file called “Perl”…???

I appreciate you for your time and consideration!

This goes to area that I haven’t encountered. For the dist-upgrade, it should look for the newer repo, so there shouldn’t be any need to manually change that. If your system is up to date on your distro version, you should only need to use the dist-upgrade. Reboots are also prompted, so shouldn’t need to do those extra. Auto reboots should be fine (I’m not knowledgeable any need to go manual - probably just for some special needs and setups if you have those - I’d trust the system [although, backups are always a good idea regardless]). I have no idea what the perl might reference.

Thank you I appreciate you for your input.

No, dist-upgrade does not let you upgrade from Amber to Byzantium. You can get the full explanation of dist-upgrade with man apt-get on your local system.

Whereas Ubuntu for example has it’s own command line tool do-release-upgrade to switch to newer versions, Debian has not. In the official manual it is told there to upgrade the current install with full-upgrade and then replace all occurencies of the current versions codename in etc/apt/sources.list. to the new codename and then do:

sudo apt clean
sudo apt update
sudo apt upgrade
sudo apt full-upgrade
sudo apt autoremove
sudo reboot

Adapted from here: https://wiki.debian.org/DebianUpgrade

PureOS is based on Debian and has afaik also no command-line tool to upgrade to newer releases.