I have a new Librem14 as of end of December 2021. I’m new to Linux in general, but a life long System Engineer with Windows (no hate mail please), so have been having lots of fun getting to know PureOS Bundle with GPG, Debian, GNU and intro to the world of sudo. So far I have setup the PureOS environment and ran into errors getting the PureOS Software Updates to work with this message.
Unable to download updates:
The following packages have unmet dependencies:
After searching here and elsewhere for “PureOS Software Updates”, I could not find any post that specifically addresses this error to complete resolution, so I’m creating one here on how I got it to work. Being a novice here, it would be great for the SME’s to review and provide any needed suggestions/corrections for others to benefit from if others have the same issue… which I suspect will be the case since I got identical results with the base PureOS that came pre-installed and the PureOS Live USB install I did subsequently.
I came across a post here suggesting using these commands, which I did and resulted in a huge number of updates.
sudo apt update
sudo apt upgrade
sudo apt autoremove
I then started getting this error and never could resolve it.
Sorry, something went wrong:
Error calling StartServiceByName for org.freedesktop.fwupd: Failed to
activate service ‘org.freedesktop.fwupd’:timed out
Then my new 1GB Samsung 970 EVO Plus NVMe M.2 SSD came in the mail, so I replaced the 860 EVO 250 GB SSD and embarked on installing fresh using the PureOS Live USB that I included in my laptop order.
I guess it’s a good thing that the results from doing the same steps as above resulted in the same exact Software Update errors prior to running the sudo commands and after running them. At least we know the bug is consistent across their base build and the LiveOS USB.
So I went on the search for a solution and found another set of commands to run in a loosely related post.
These first 3 did not fix anything.
sudo apt update --fix-missing
sudo dpkg --configure -a
sudo apt install -f
Then saw this other command mentioned in the post and ran it.
sudo apt full-upgrade
This installed the 14 packages that all the previous commands had identified but indicated were not installed with no explanation or solution on what to fix.
I ran “sudo apt autoremove” one last time before rebooting and now everything shows no updates needed in both the Software app and “sudo apt update” command.
Again, as a novice, I was not trying to understand practically what all the commands were accomplishing… so some may not have been neccessary. I invite the SME’s to review and provide a more concise set of commands if anything seems excessive in my blundering.