All of lore.kernel.org
 help / color / mirror / Atom feed
* Distro upgrade strategies
@ 2020-06-19 12:16 hboddington
  2020-06-19 14:05 ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 8+ messages in thread
From: hboddington @ 2020-06-19 12:16 UTC (permalink / raw)
  To: yocto@lists.yoctoproject.org

Hello all,

I'm struggling conceptually with a recommended upgrade strategy for our distribution (i.e. the resultant distribution on an ARM-based embedded device, not the development SDK itself).  I had initially assumed that a package manager (we're using DNF) could be used to upgrade a distribution from one version to the next, but every time I've used it to try to deploy a large upgrade (e.g.,  Zeus->Dunfell) I've run into problems.  Currently, if I try to use DNF to upgrade from a Zeus-based distribution my DNF installation breaks ("ModuleNotFoundError: No module named 'dnf'") and I can't even shut the device down ("/run/initctl: No such file or directory").  However, if I install the Dunfell-based distribution from a raw image (without upgrading through Zeus) then everything works fine.  I'm not getting an errors in my build or indication that something went wrong, but obviously something is amiss.

Questions:
  1) Am I missing something?  Is it reasonable to expect that I can upgrade the whole distro using DNF?  I've read the wiki page about System Updates (https://wiki.yoctoproject.org/wiki/System_Update) and DNF (or any other package manager) is not listed - does that imply it's not up to the job?
  2) If I do continue using DNF, how do I troubleshoot the above issues?  I don't mean specifically those issues, but I want to learn to fish.  Some packages got broken.  Was it caused by the distro I'm upgrading from?  To?  What's the best way of tracing it back?  I tried looking through the various commits but obviously there were a lot of changes made from one distro to another.  The above scenario seems also to be a perfect storm because now that DNF is broken I don't have a mechanism to downgrade anything.

I can't help but think that I'm swimming against the current here, or that I've done something fundamentally wrong - I'd appreciate any insight or advice.  Thank you!

Hugh

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-21 14:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-19 12:16 Distro upgrade strategies hboddington
2020-06-19 14:05 ` [yocto] " Alexander Kanavin
2020-06-19 14:35   ` csimmonds
2020-06-19 14:38     ` Alexander Kanavin
2020-06-21  7:11     ` Adrian Bunk
2020-06-21 12:09       ` Stefano Babic
2020-06-21 13:46         ` Adrian Bunk
2020-06-21 14:04           ` Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.