without installing another distro over the top of it ... [replace] package managers
The package manager is the distro, though.
$ pacman -S apk-tools
$ apk add alpine-base linux-lts
Then kexec
to alpine's kernel and the initramfs
generated by its installation (which would incidentally "replace" PID 1 with the new /sbin/init
). For clean up you could take a diff of "tar -t
" for all the installed packages from both distros then delete the files only in the old distro's packages.
Make a self-compiled distro your target.
Replace the first step with a compilation of apk
, abuild
everything required by alpine-base
and linux-lts
(git clone aports
to bootstrap that work), then add the package directory to /etc/apk/repositories
before the second step. Next, begin to worry that you haven't fully broken free yet, replace abuild
with a bespoke mybuild
and apk
with tar -x
, grapple with signed binaries, reflect on your own identity and authenticity, then take a tour through gentoo
and find yourself missing the $HOME
you left and its familiar comforts.