Bug#1033234: MariaDB-Server not installing

2023-03-25 Thread Otto Kekäläinen
If you want this fixed, try to reproduce the issue again in a
container or virtual machine. I am sure there was something special in
your situation that you did not yet share, perhaps related to previous
MySQL/MariaDB installations on the system the new install interacted
with or something.

Related:
- https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/26
- https://bugs.launchpad.net/ubuntu/+source/mariadb-10.6/+bug/2011293



Bug#1033234: MariaDB-Server not installing

2023-03-25 Thread Timothy M Butterworth
On Sat, Mar 25, 2023 at 7:23 PM Otto Kekäläinen  wrote:

> Version: 1:10.11.2-1
> Tags: moreinfo
> Control: retitle -1 initscript action "stop" failed while running 'apt
> install mariadb-server'
>
> Hi!
>
> Can you please provide a reproducible case? Perhaps something I can
> run in a Docker container of LXD container to see this happening?
>

Otto,

Thanks for the response. I got it to install. I copied the mariadb.service
file and made a soft link from it to mysql.service. I was able to
successfully run `systemctl stop` against both service files. There was
nothing to stop since there was no database installed but I tricked the
script into thinking that it stopped the database. Anyway it was a little
hacky but I got mariadb-server installed. Sorry I can not help you
reproduce the issue.

Tim

What happens if you run manually these
>
> invoke-rc.d mariadb stop
> ps faux | grep mariadb
> ps faux | grep mysql
>


-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀


Bug#1033234: MariaDB-Server not installing

2023-03-25 Thread Otto Kekäläinen
Version: 1:10.11.2-1
Tags: moreinfo
Control: retitle -1 initscript action "stop" failed while running 'apt
install mariadb-server'

Hi!

Can you please provide a reproducible case? Perhaps something I can
run in a Docker container of LXD container to see this happening?

What happens if you run manually these

invoke-rc.d mariadb stop
ps faux | grep mariadb
ps faux | grep mysql



Bug#1033234: MariaDB-Server not installing

2023-03-20 Thread Timothy M Butterworth
package: mariadb-server

On Mon, Mar 20, 2023 at 10:02 AM Timothy M Butterworth <
timothy.m.butterwo...@gmail.com> wrote:

> MariaDB
>
> On Mon, Mar 20, 2023 at 9:16 AM Timothy M Butterworth <
> timothy.m.butterwo...@gmail.com> wrote:
>
>> All,
>>
>> The mariadb-server package fails to install and generates error messages.
>>
>> apt install mariadb-server
>> Reading package lists... Done
>> Building dependency tree... Done
>> Reading state information... Done
>> Suggested packages:
>>  mailx mariadb-test netcat-openbsd
>> The following NEW packages will be installed:
>>  mariadb-server
>> 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
>> 120 not fully installed or removed.
>> Need to get 0 B/3,581 kB of archives.
>> After this operation, 54.5 MB of additional disk space will be used.
>> Preconfiguring packages ...
>> (Reading database ... 327299 files and directories currently installed.)
>> Preparing to unpack .../mariadb-server_1%3a10.11.2-1_amd64.deb ...
>> Failed to stop mariadb.service: Unit mariadb.service not loaded.
>> invoke-rc.d: initscript mariadb, action "stop" failed.
>> Failed to stop mysql.service: Unit mysql.service not loaded.
>> invoke-rc.d: initscript mysql, action "stop" failed.
>> Attempt to stop MariaDB/MySQL server returned exitcode 5
>> There is a MariaDB/MySQL server running, but we failed in our attempts to
>> stop it.
>> Stop it yourself and try again!
>> dpkg: error processing archive
>> /var/cache/apt/archives/mariadb-server_1%3a10.11.2-1_amd64.deb (--unpack):
>> new mariadb-server package pre-installation script subprocess returned
>> error exit status 1
>> Errors were encountered while processing:
>> /var/cache/apt/archives/mariadb-server_1%3a10.11.2-1_amd64.deb
>>
>> I only have mariadb-client installed. There are no mariadb or mysql unit
>> files even installed.
>>
>> Thanks
>>
>> Tim
>>
>>
>> --
>> ⢀⣴⠾⠻⢶⣦⠀
>> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
>> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
>> ⠈⠳⣄⠀⠀
>>
>
>
> --
> ⢀⣴⠾⠻⢶⣦⠀
> ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
> ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
> ⠈⠳⣄⠀⠀
>


-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
⠈⠳⣄⠀⠀