:: Re: [DNG] Fwd: Distribution upgrade…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Antony Stone
Datum:  
To: dng
Betreff: Re: [DNG] Fwd: Distribution upgrade issue
On Monday 22 February 2021 at 22:26:17, Hector Gonzalez Jaime via Dng wrote:

> I've seen your original problem frequently, mysql and mariadb both are
> turned off during upgrades, and then apt-get goes on to install other
> packages, which might require a database to be running and have no
> control over this. A workaround is, whenever you have mysql (or
> mariadb) present, update it first and alone, like this:
>
> apt-get update
> apt-get install default-mysql-server      # this command depends on your
> version, just reinstall mysql's server first.
> apt-get upgrade
> apt-get dist-upgrade

>
> This way mysql gets updated first, and will be running for the rest of
> your system.


I like that - it sounds like an excellent tip (hard to see how it might be
included in an automated update process, but that would of course be even
better).

Have you ever mentioned this to the Debian project, to see whether they
consider this either to be a bug in the upgrade process, or at least a
workaround worth documenting for people doing the upgrade?


Antony.

--
The truth is rarely pure, and never simple.

- Oscar Wilde

                                                   Please reply to the list;
                                                         please *don't* CC me.