Migrating from Sabayon

Migrating from Sabayon to MocaccinoOS Desktop

Prepare your system

If you are on a GNOME/MATE/XFCE system you probably do not need Qt related packages. The more you remove prior to migration, the more easy it will go. So for example if we do not need Qt we can uninstall qtcore using Entropy:

1
equo remove dev-qt/qtcore --ask

You can convert a Sabayon system (running Entropy) to Mocaccino OS (running luet) with the following commands as root

1
2
3
4
curl -k https://get.mocaccino.org/luet/get_luet_root.sh | sh
luet install repository/mocaccino-os-commons repository/mocaccino-extra repository/mocaccino-desktop-stable
luet install system/luet-migrate-entropy
luet migrate-entropy

The migrate-entropy script detects packages that are installed and fills the luet database. If you for some reason need to repeat this step, please remove the luet database first. rm /var/luet/db/luet.db

Migrations have been checked for systems running Sabayon 18.05 and newer. You can check which version of Sabayon you are running with cat /etc/sabayon-release.

Upgrading to the latest packages

Install all available newer packages from the Mocaccino repositories using:

1
luet upgrade

And finally, review and merge any changes to your configuration files:

1
etc-update

Remove cached downloads

If you wish to reclaim the disk space used by the upgrade process (downloaded packages and cached metadata), you can do so using:

1
luet cleanup

Manual migration

It is possible to migrate manually a system by running luet migrate-entropy and replacing packages with the layers available in the mOS repositories, for instance, to migrate and replace all packages with the gnome variant:

1
2
3
4
5
6
7
8
curl -k https://get.mocaccino.org/luet/get_luet_root.sh | sh
luet install -y repository/mocaccino-os-commons repository/mocaccino-kernel-stable repository/mocaccino-extra repository/mocaccino-desktop-stable
luet install -y system/luet-migrate-entropy utils/jq
luet migrate-entropy
mkdir -p /etc/mocaccino/
echo "desktop" > /etc/mocaccino/release
installed=$(luet search --installed -o json | jq '.packages | map(.category+"/"+.name+"@"+.version)[]' -rc | xargs echo)
luet replace $installed --for kernel/mocaccino-lts-full --for kernel/mocaccino-lts-modules --for layers/firmware --for system-profile/default-systemd --for system/luet --for layers/system-x --for layers/gnome
Last modified April 7, 2024: Update gaming (5003bda)