PINE64
"Unable to download updates: The following packages have unmet dependencies:" - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: "Unable to download updates: The following packages have unmet dependencies:" (/showthread.php?tid=12641)

Pages: 1 2


RE: "Unable to download updates: The following packages have unmet dependencies:" - MikeMan - 03-03-2021

Happy :-) Flashed a new image to the eMMC and all is very well again. :-)
Used the instructions I found here https://forum.pine64.org/showthread.php?tid=9444&highlight=flash
And a flashing prog. called Etcher from Sourceforge.
The latest nightly seems pretty snappy compared to the version the phone shipped with and has quite a few other nice refinements - like network settings up where you can easily find it. Default encryption is gone, but that makes for a better first user set-up experience and can always be added later, I guess.

Note to anyone wanting to flash eMMC; 'jumpdrive' as referred to on the forum is a piece of software NOT a type of memory card from Lexar.


RE: "Unable to download updates: The following packages have unmet dependencies:" - cybercow - 03-03-2021

Just for clearance sake: apt-get or just apt if you prefer the apt, can handle such situations.
If you do just
Code:
[sudo] apt upgrade
it is only upgrading already installed packages. if some have new dependencies you can install them using
Code:
[sudo] apt-get upgrade --with-new-pkgs
or with
Code:
[sudo] apt-get dist-upgrade
. the exclamation around "sudo" means that this is only needed if you aren't root.


RE: "Unable to download updates: The following packages have unmet dependencies:" - MikeMan - 03-03-2021

Thanks Cybercow.
Been using Linux for a couple of decades and have
managef to get by with very little terminal knowledge.
(no, "terminal knowledge" is not a medical condition)
No excuse now that my Pinephone will be on
the road with me.
Cheers


RE: "Unable to download updates: The following packages have unmet dependencies:" - ryo - 04-23-2021

(02-12-2021, 03:34 PM)Pines Wrote:
(12-28-2020, 03:27 AM)ryo Wrote:
Code:
alias appupdate = "sudo apt update && sudo apt upgrade && sudo apt autoremove"

As per this blog post it should be:
Code:
sudo apt update
sudo apt dist-upgrade
sudo apt autoremove

But I also saw and performed these ones, from their Troubleshooting page:
Code:
sudo apt-get install packagekit-tools
sudo pkcon repair
sudo pkcon get-updates
sudo pkcon update

My experience with Debian for more than 2 decades has proven me that you should be careful with "dist-upgrade", it can potentially break the OS since it installs literally every single update (even if it's conflicting for example), which is why I prefer to recommend "upgrade" instead.
I generally only use "dist-upgrade" when upgrading to the latest or next Debian release.

Blog post Wrote:For this drop into the terminal King’s Cross (also called kgx, it has a subway logo).

Good to know it represents a metro, didn't even know that.