The Linux Ship of Theseus

  1. pick any distro and install it.

  2. Then, without installing another distro over the top of it, slowly convert it into another distro by replacing package managers, installed packages, and configurations.

System must be usable and fully native to the new distro (all old packages replaced with new ones).

No flatpaks, avoid snaps where physically possible, native packages only.

EDIT: Some clarification on some of the clever tools brought up here:

chroot, dd, debootstrap, and partition editors that allow you to install the new system in an empty container or blanket-overwrite the old system go against the spirit of this challenge.

These are very useful and valid tools under a normal context and I strongly recommend learning them.

You can use them if you prefer, but The ship of Theseus was replaced one board at a time. We are trying to avoid dropping a new ship in the harbor and tugging the old one out.

It may however be a good idea to use them to test out the target system in a safe environment as you perform the migration back in the real root, so you have a reference to go by.


Easy: pick two similar distros, such as Ubuntu and Debian or Manjaro and Arch and go from the base to the derivative.

Medium: Same as easy but go from the derivative to the base.

Hard: Pick two disparate distros like Debian and Artix and go from one to the other.

Nightmare: Make a self-compiled distro your target.

      • Semperverus@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 hours ago

        The beauty of this exercise is you can make it as easy or challenging as you want just by changing the targets, and finding different combinations can keep things interesting.

  • d_k_bo@feddit.org
    link
    fedilink
    arrow-up
    5
    ·
    9 hours ago

    I think it would be very interesting to convert e.g. a regular Fedora installation into a (so-called “immutable”) Fedora Silverblue installation or vice-versa.

  • Go-On-A-Steam-Train@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    11 hours ago

    I “broke” linux mint just by trying to pop KDE on, had to timeshift because it messed up my keyboard layout and a whole bunch of other things with my display.

    I don’t know how people do these crazy changes without pain, and have a feeling the answer is simply “there’s pain” 😂

    • Semperverus@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 hours ago

      This goes against the spirit of the challenge, but as its a singleplayer game (unless you bring friends and SSH!) you can definitely choose to allow dd, chroot, and similar tools

      • NSRXN@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        ·
        9 hours ago

        it is pretty terrifying to debootstrap over ssh. constantly checking that you’re on the correct system, and using the chrooted terminal. it’s like a high wire act. at least the first few times.

  • villainy@lemmy.world
    link
    fedilink
    arrow-up
    11
    ·
    13 hours ago

    I have seen dozens of systems migrated from Gentoo to CentOS by live swapping the userspace and eventually rebooting into the new kernel. A hair raising experience to be sure.

  • Jonathan@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    16 hours ago

    “Medium: Same as easy but go from the derivative to the base.”

    I can’t quite recall, but I think I did exactly that with Ubuntu -> Debian once upon a time. I think Ubuntu was only a year or so old though, so there wasn’t a huge amount of divergence back then. As a bonus anecdote I also attempted a semi-successful build of Gentoo on a PPC Mac around the same time (nothing before or after that has compared in its level of nightmare).

    • StrawberryPigtails@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      14 hours ago

      I also attempted a semi-successful build of Gentoo on a PPC Mac around the same time (nothing before or after that has compared in its level of nightmare).

      Amen!

  • sntx@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    10 hours ago

    Shouldn’t everyone that installed Arch the right way be able to do it on most distros, simply after installing Pacman?

    Though I think changing (shrink, create new, migrate, delete old) the partition layout would count as installing another distro on top…

    Want a challange? Start with something like Silverblue.

    • swab148@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      10 hours ago

      Arch already has apt in the repo, so I’d imagine it’s not super hard to build your own Debian from there.

  • Overspark@feddit.nl
    link
    fedilink
    arrow-up
    8
    ·
    15 hours ago

    I once switched from Debian i386 to amd64 in-place. That was MUCH harder than you would expect, I guess somewhere between medium and hard in your list. That server is still running that install btw, so in the end it all worked out.

  • steeznson@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    15 hours ago

    It is quite easy to go slackware -> gentoo from what I remember but minimalist distros might be cheating