Required Information
- DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=16
G_DIETPI_VERSION_RC=2
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
G_LIVE_PATCH_STATUS[0]='not applicable'
- Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
:bullseye 0
- Kernel version |
Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
- Architecture |
arm64
- SBC model |
RPi 4 Model B (aarch64)
- Power supply used | 5V
- SD card used | SanDisk ultra)
Additional Information (if applicable)
- Software title | mariadb cannot upgrade
[ OK ] DietPi-Update | APT update
[ INFO ] DietPi-Update | APT upgrade, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.5 (>= 1:10.5.19-0+deb11u2) but 1:10.5.18-0+deb11u1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
[FAILED] DietPi-Update | APT upgrade
- Command: apt-get -y --with-new-pkgs upgrade
---------------------------------------------------------------------
- DietPi has encountered an error -
- Please create a ticket: https://github.com/MichaIng/DietPi/issues -
- Copy and paste only the BLUE lines below into the ticket -
---------------------------------------------------------------------
#### Details:
- Date | Mon May 8 11:46:46 CEST 2023
- DietPi version | v8.16.2 (MichaIng/master)
- Image creator |
- Pre-image |
- Hardware | RPi 4 Model B (aarch64) (ID=4)
- Kernel version | `Linux DietPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux`
- Distro | debian 11
- Command | `dietpi-update`
- Exit code | 100
- Software title | DietPi-Update
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. `sudo dietpi-update`
#### Expected behaviour:
<!-- What SHOULD happen? -->
upgrade
#### Actual behaviour:
<!-- What IS happening? -->
Error during installation to last version
#### Additional logs:
Reading package lists…
Building dependency tree…
Reading state information…
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.5 (>= 1:10.5.19-0+deb11u2) but 1:10.5.18-0+deb11u1 is installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
---------------------------------------------------------------------
[FAILED] DietPi-Update | Unable to continue, DietPi-Update will now terminate.
dietpi@DietPi:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mariadb-server : Depends: mariadb-server-10.5 (>= 1:10.5.19-0+deb11u2) but 1:10.5.18-0+deb11u1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
dietpi@DietPi:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
mariadb-server-10.5
Suggested packages:
mailx mariadb-test
Recommended packages:
libhtml-template-perl
The following packages will be upgraded:
mariadb-server-10.5
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
12 not fully installed or removed.
Need to get 4114 kB of archives.
After this operation, 15.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.debian.org/debian bullseye/main arm64 mariadb-server-10.5 arm64 1:10.5.19-0+deb11u2 [4114 kB]
Fetched 4114 kB in 1s (4894 kB/s)
Preconfiguring packages ...
(Reading database ... 42997 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.5_1%3a10.5.19-0+deb11u2_arm64.deb ...
df: /var/lib/mysql/.: No such file or directory
ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.19-0+deb11u2_arm64.deb (--
unpack):
new mariadb-server-10.5 package pre-installation script subprocess returned error exit status 1
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.19-0+deb11u2_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Regards