[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Upgrading the system and installing Gambas from binary packages


On Tuesday, November 25th, 2025 at 06:07, Admin <admin@xxxxxxxxxx> wrote:

> 24.11.2025 23:13, gbWilly пишет:
> 
> > On Monday, November 24th, 2025 at 16:46, Gianluigi gradobag@xxxxxxxxxxx wrote:
> > 
> > > Benoit, gbWilly, Lee
> > > 
> > > The wiki is missing a warning that when automatically upgrading to a
> > > later system version, you must delete the old Gambas and additional
> > > repositories, then reinstall everything following the instructions for
> > > the new system version.
> > > 
> > > Regards
> > > Gianluigi
> > > No you don't, you simply change the source to point to the newer distribution before you do a distro update (like from jammy to noble for example).
> > 
> > Distro updates mainly comes down to:
> > apt-get update
> > apt-get upgrade
> > apt-get full-upgrade
> > apt-get autoremove
> > reboot
> > 
> > Next prepare the system for the actual distro upgrade by:
> > Edit all source references to point to the new distro (so gambas source reference included if installed from OSB for example)
> > 
> > Next do:
> > apt-get update
> > apt upgrade --without-new-pkgs (minimal upgrade -> advised)
> > apt-get full-upgrade
> > reboot
> > 
> > Your system should reboot with your gambas3 upgraded
> > Where in that process do you see gambas being removed (provided you installed from repository)?
> > 
> > gbWilly
> > 
> > GambOS
> > Gambas3 for Debian/Ubuntu
> > 
> > ...there is always a Catch if things go wrong!
> 
> Actually on Debian Gambas really prevents, for example, updating from 11
> to 12. If Gambas is installed under Debian 11, and you change bullseye
> to bookworm in sources.list, when dist-updating Gambas packages, it
> causes conflicts of dependencies. You have to remove Gambas first, then
> dist-upgrade, then install new Gambas from packages using apt. I cannot
> provide you with more information, I kinda got used to it, treating it
> as a feature, not a bug, and I don't remember which dependency was a
> problem, but I updated quite a few 11th to 12th always facing this
> problem, going through dpkg --fix-broken all the time. So yes, globally
> Gianluigi is right.

Are you using the official debian gambas? I have not have this trouble using my own gambas repositories and OSB should work fine as well (haven't tested).

gbWilly