Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
bullseye 0
Kernel version | uname -a
Linux DietPi 5.15.76-v7l+ #1597 SMP Fri Nov 4 12:14:58 GMT 2022 armv7l GNU/Linux
SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
RPi 4 Model B (armv7l)
Power supply used | (EG: 5V 1A RAVpower)
Official Rpi4 Power Supply of a Pi400
SD card used | Sandisk Ultra 16Gb
Additional Information (if applicable)
Software title | Dietpi
Was the software title installed freshly or updated/migrated? No
Can this issue be replicated on a fresh installation of DietPi? ¿?
← If you sent a “dietpi-bugreport”, please paste the ID here → 0c4338e8-281a-4d02-b781-83f1657eb1ba
Steps to reproduce
I write
sudo dietpi-update
and… gets the error
Expected behaviour
Update my version
Actual behaviour
The updating process does not continue…
Extra details
APT upgrade
│ - Command: apt-get -y upgrade
│ - Exit code: 100
│ - DietPi version: v8.11.2 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 |
│ DISTRO: 6
│ - Image creator: DietPi Core Team
│ - Pre-image: from scratch
│ - Error log:
│ 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.18-0+deb11u1) but
│ it is not installed
I also checked I can’t uninstall services , f ex PLEX:
APT purge for: plexmediaserver │
│ - Command: apt-get -y --allow-change-held-packages autopurge plexmediaserver │
│ - Exit code: 100 │
│ - DietPi version: v8.11.2 (MichaIng/master) | HW_MODEL: 4 | HW_ARCH: 2 | DISTRO: 6 │
│ - Image creator: DietPi Core Team │
│ - Pre-image: from scratch │
│ - Error log: │
│ 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.18-0+deb11u1) but it is not going to be 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 netcat-openbsd
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
mariadb-server-10.5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 3678 kB of archives.
After this operation, 58.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.debian.org/debian bullseye/main armhf mariadb-server-10.5 armhf 1:10.5.18-0+deb11u1 [3678 kB]
Fetched 3678 kB in 9s (424 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 34009 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb ...
/var/lib/mysql: found previous version 10.5
Unpacking mariadb-server-10.5 (1:10.5.18-0+deb11u1) ...
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb (--unpack):
unable to create '/usr/lib/mysql/plugin/auth_ed25519.so.dpkg-new' (while processing './usr/lib/mysql/plugin/auth_ed25519.so'): Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
dietpi@DietPi:~$ sudo apt update && apt upgrade
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
root@DietPi:/# 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 netcat-openbsd
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
mariadb-server-10.5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 3678 kB of archives.
After this operation, 58.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.debian.org/debian bullseye/main armhf mariadb-server-10.5 armhf 1:10.5.18-0+deb11u1 [3678 kB]
Fetched 3678 kB in 13s (281 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 34009 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb ...
/var/lib/mysql: found previous version 10.5
Unpacking mariadb-server-10.5 (1:10.5.18-0+deb11u1) ...
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb (--unpack):
unable to create '/usr/lib/mysql/plugin/auth_ed25519.so.dpkg-new' (while processing './usr/lib/mysql/plugin/auth_ed25519.so'): Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@DietPi:/# apt update && apt upgrade
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://downloads.plex.tv/repo/deb public InRelease
Hit:6 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
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.18-0+deb11u1) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@DietPi:/# apt install --reinstall mariadb-server-10.5
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
mailx mariadb-test netcat-openbsd
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
mariadb-server-10.5
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/3678 kB of archives.
After this operation, 58.6 MB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 34009 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb ...
/var/lib/mysql: found previous version 10.5
Unpacking mariadb-server-10.5 (1:10.5.18-0+deb11u1) ...
dpkg: error processing archive /var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb (--unpack):
unable to create '/usr/lib/mysql/plugin/auth_ed25519.so.dpkg-new' (while processing './usr/lib/mysql/plugin/auth_ed25519.so'): Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/mariadb-server-10.5_1%3a10.5.18-0+deb11u1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@DietPi:/sbin# dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin