Yesterday I did an inline upgrade of my Devuan 4 (Chimaera) to Devuan 5 (Daedalus).
I did the following, and it all went smoothly
- Make sure Devuan 4 is updated
apt update
apt upgrade
- Change
/etc/apt/sources.list
deb http://deb.devuan.org/merged deadalus main contrib non-free
deb http://deb.devuan.org/merged daedalus-updates main contrib non-free
deb http://deb.devuan.org/merged daedalus-security main contrib non-free
- Update with daedalus
apt update
apt upgrade
4.Do the distro upgrade
apt dist-upgrade
- Cleanup
apt autoremove --purge
apt autoclean
It all seemed to work, apart from some annoying messages about filezilla-server
- Reboot into MX and do
update-grub
- Reboot again
Devuan boots OK
but
On the grub menu, it is still called Chimaera
and the file /etc/os-release
has
nevj@trinity:~$ cat /etc/os-release
PRETTY_NAME="Devuan GNU/Linux 4 (chimaera)"
NAME="Devuan GNU/Linux"
VERSION_ID="4"
VERSION="4 (chimaera)"
VERSION_CODENAME="chimaera"
ID=devuan
ID_LIKE=debian
HOME_URL="https://www.devuan.org/"
SUPPORT_URL="https://devuan.org/os/community"
BUG_REPORT_URL="https://bugs.devuan.org/"
and the file /etc/issue
has
nevj@trinity:~$ cat /etc/issue
Devuan GNU/Linux 4 \n \l
but
/proc/version
has
nevj@trinity:~$ cat /proc/version
Linux version 6.1.0-12-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.52-1 (2023-09-07)
So it knows it is Debian 12 ( which is Devuan 5) , but the files in /etc
do not reflect its true identity
I googled how to fix it, and found the following
# apt-get install base-files
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
base-files is already the newest version (11.1+devuan4).
0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
.....
So the package system thinks it is Debian 11 (Devuan 4) and says that the base files are up to date.
Does anyone know how to fix this? … I am tempted to wipe the lot and do a new install of Devuan 5.
I dont think I should edit the files in /etc… there are warnings that doing such a thing could break the system. Especially not /etc/issue