This involves downloading new versions of every single package and could take a couple of hours to complete.
I wasn't planning on moving Commodore OS to Debian 12 until next year and it would be after substantial testing.
As the procedure doesn't appear to be script-able(yet) I probably will have to start COS3 from a base Debian 12 and apply changes on top again.
I have tried this and it has worked after a fashion, but appears to be a little flaky and breaks a few minor things.
These things might be of no concern to you.
A few issues that I have noticed are:
My own update functionality appears to be broken. (probably because gksu is no longer supported.)
- There are some theme issues with some apps. (Nautilus gtk3 filemanager in particular which I'm deprecating anyway)
- The Dock seems to go awol sometimes. (comes and goes)
- Workspace selection in the top menu disappeared. (comes and goes which is weird)
- Graphics rendering appears slightly less fluid (sometimes).
- All Commodore emulators won't launch. (probably a $PATH variable reset. Can be fixed.)
- Debian logo appears instead of CommodoreOS title in Plymouth boot animation. (can be fixed)
- Firefox reset to MX-Linux page again.
- Duplicate package warnings. (Can be fixed)
I might attempt to pre-empt with some work-arounds in update 1. Or not. The list is getting long and the longer it takes......
BTW Update 1 will ALSO be available for download as a entire distro download as will COS3 next year.
WARNING:
If your hardware is already working fine and you have high res display capability then I don't recommend the following procedure just yet.
You will be deviating form the pre-packed distro and I might not be able to assist if there are issues at this time.
If there are breaking issues lets keep them in this thread and perhaps we can include issue fixes in the script.
This script will differ from others found online and is specific to Commodore OS.
At the very least you can perform this upgrade and likely get your graphics working by issuing the following commands.
You will effectively be guinea pigs.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
READ CAREFULLY:
Unfortunately the distro upgrade command cannot be left unattended(maybe, I changed the command, and need to confirm) as it stops and prompts you several times which includes GUI dialogs.
When prompted press enter at the prompts to ACCEPT THE DEFAULT which is to keep the current scripts. It will not work otherwise!!!!
When the dialog appears prompting you to allow services to be stopped and restarted, select the checkbox so they are...otherwise you will be prompted several times.
There will likely be many warnings and errors to ignore.
If the dist-upgrade command fails at the end due to a trigger processing timeout run it again.
If you reboot and end up in text mode, login "Commodore" and "C=" for password(if you haven't changed it)
Be sure to run the commands entitled "some fixes" below.
Commands to issue from the command line: (the ones not beginning with # or echo)
Code: Select all
echo "clean apt cache"
sudo apt clean
echo "Update apt repositories from bullseye to bookworm"
find /etc/apt -type f -name "*.list" -print0 | xargs -0 sudo sed -i.bak "s/bullseye/bookworm/g"
echo "Add optional non-free repos"
echo "deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware" | sudo tee /etc/apt/sources.list
echo "update software repositories"
sudo apt update
echo "Install software updates"
#DO BELOW LINE INSTEAD FOR UNATTENDED. sudo apt dist-upgrade -y
sudo NEEDRESTART_MODE=a apt-get dist-upgrade --yes
# TBD Need to remove mx-linux entries from sources.
echo "Update software repositories"
sudo apt update
echo "Remove unnecessary packages"
sudo apt autoremove -y
echo "Clean apt cache"
sudo apt clean
echo "Apply some fixes"
sudo apt -y install task-mate-desktop
sudo apt install cairo-dock -y
# TBD Need to fix duplicate sources entries.
echo "reboot"
sudo reboot now
Good luck.