Migrate from Debian Bullseye to Chimaera
These instructions are for migrating from the Debian Bullseye release only.
The first step is to change
/etc/apt/sources.list to point to the Chimaera repositories.
root@debian:~# editor /etc/apt/sources.list
sources.list to look like the one provided. Comment out all other lines.
deb http://deb.devuan.org/merged chimaera main deb http://deb.devuan.org/merged chimaera-updates main deb http://deb.devuan.org/merged chimaera-security main #deb http://deb.devuan.org/merged chimaera-backports main
Now update the package lists from the Chimaera repositories.
root@debian:~# apt-get update --allow-insecure-repositories
The Devuan keyring should now be installed so that the repository and packages can be authenticated.
root@debian:~# apt-get install devuan-keyring --allow-unauthenticated
Update the package lists again so that the repositories and packages are authenticated.
root@debian:~# apt-get update
Upgrade the installed packages to the latest versions. Note that this does not complete the migration.
root@debian:~# apt-get upgrade (be careful NOT to use dist-upgrade here)
Once this is done eudev needs to be installed. Note that if Gnome is installed it will be removed by this command, but can be installed again after the migration.
root@debian:~# apt-get install eudev sysvinit-core
The last command may cause package breaks but they will be resolved as part of the migration process.
root@debian:~# apt-get -f install
A reboot is required to change sysvinit to pid1.
Now perform the migration proper.
root@debian:~# apt-get dist-upgrade
Now the migration to Devuan is done, systemd related packages can be removed.
root@devuan:~# apt-get purge systemd libnss-systemd
If the required desktop is not already installed, install it now. The default in Devuan is XFCE.
root@devuan:~# apt-get install task-xfce-desktop
root@devuan:~# apt-get install task-gnome-desktop
Now remove any packages orphaned by the migration process, and any unusable archives left over from the previous Debian installation.
root@devuan:~# apt-get autoremove --purge
root@devuan:~# apt-get autoclean
A script to partially automate this process has been developed and can be used with caution.
This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [CC BY-SA 4.0] license. All trademarks are the property of their respective owners. This work is provided “AS IS” and comes with absolutely NO warranty.