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
$ sudo 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
$ sudo curl -k https://get.mocaccino.org/luet/get_luet_root.sh | sh
$ sudo luet install repository/mocaccino-os-commons repository/mocaccino-extra repository/mocaccino-desktop-stable
$ sudo luet install system/luet-migrate-entropy
$ sudo 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
$ sudo luet upgrade

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

1
$ sudo 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
$ sudo 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
$ sudo curl -k https://get.mocaccino.org/luet/get_luet_root.sh | sh
$ sudo luet install -y repository/mocaccino-os-commons repository/mocaccino-kernel-stable repository/mocaccino-extra repository/mocaccino-desktop-stable
$ sudo luet install -y system/luet-migrate-entropy utils/jq
$ sudo luet migrate-entropy
$ sudo mkdir -p /etc/mocaccino/
$ sudo echo "desktop" > /etc/mocaccino/release
$ sudo 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 August 3, 2025: Update Discord invite (f32a0fe)