Some reinstalls of software after upgrade from Buster to Bullseye fail Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by Joulinar »

The error log stays empty, correct?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
fhals
Posts: 35
Joined: Mon Sep 07, 2020 10:00 am

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by fhals »

Now it's getting wicked.
Your steps were the ones I intended to do...
When you do a

Code: Select all

sudo -u mysql /usr/sbin/mariadbd
is your result 'Illegal instruction' too?
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by Joulinar »

ahh I did not notice that there is an additional user joining the topic.

Anyway, DietPi version is totally unrelated as it has no influence in MariaDB functionality.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
nigelf
Posts: 10
Joined: Wed Sep 29, 2021 1:33 pm

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by nigelf »

to reply in order:

yes the error.log stays empty (in as much as it doesn't even get created)
yes sudo -u mysql /usr/sbin/mariadbd gives 'illegal instruction'
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by Joulinar »

guys could you both share your system details

#### Required Information
- DietPi version | cat /boot/dietpi/.version
- Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
- Kernel version | uname -a
- SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
fhals
Posts: 35
Joined: Mon Sep 07, 2020 10:00 am

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by fhals »

cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=6
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='not applicable'
G_LIVE_PATCH_STATUS[1]='not applied'
G_LIVE_PATCH_STATUS[2]='not applied'
G_LIVE_PATCH_STATUS[3]='not applied'

echo $G_DISTRO_NAME $G_RASPBIAN
bullseye

uname -a
Linux DietPi 3.16.85+ #1 SMP PREEMPT Tue Jun 30 19:02:35 CEST 2020 aarch64 GNU/Linux

echo $G_HW_MODEL_NAME
Odroid C2 (aarch64)
nigelf
Posts: 10
Joined: Wed Sep 29, 2021 1:33 pm

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by nigelf »

G_DIETPI_VERSION_CORE=7
G_DIETPI_VERSION_SUB=6
G_DIETPI_VERSION_RC=2
G_GITBRANCH='beta'
G_GITOWNER='MichaIng'
bullseye
Linux 3.16.85+ #1 SMP PREEMPT aarch64 GNU/Linux
Odroid C2 (aarch64) (!!)
nigelf
Posts: 10
Joined: Wed Sep 29, 2021 1:33 pm

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by nigelf »

..it might be worth mentioning that error.log seems to be disabled by default (/etc/mysql/mariadb.conf.d/50-server.conf)

Code: Select all

# When running under systemd, error logging goes via stdout/stderr to journald
# and when running legacy init error logging goes to syslog due to
# /etc/mysql/conf.d/mariadb.conf.d/50-mysqld_safe.cnf
# Enable this if you want to have error logging into a separate file
#log_error = /var/log/mysql/error.log
so no surprise that it doesn't get written to ;-)
nigelf
Posts: 10
Joined: Wed Sep 29, 2021 1:33 pm

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by nigelf »

looking for Odroid C2 mariadb issues is interesting though I haven't yet found 'the' solution

https://forum.odroid.com/viewtopic.php?t=40016
fhals
Posts: 35
Joined: Mon Sep 07, 2020 10:00 am

Re: Some reinstalls of software after upgrade from Buster to Bullseye fail

Post by fhals »

How could I overlook this?
Great find.
Unfortunately nothing will be logged. Neither in error, nor in general log.
Post Reply