Problem with installing Wordpress through dietpi-software

Hi, i have problem with installing WordPress to my RPI4, I am using latest Dietpi version.

Any idea?

Can you share

apt update 
1 Like
apt update
Hit:1 https://download.docker.com/linux/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye InRelease
Hit:3 https://archive.raspberrypi.org/debian bullseye InRelease
Hit:4 https://deb.debian.org/debian bullseye-updates InRelease
Hit:5 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:6 https://deb.debian.org/debian bullseye-backports InRelease
Hit:7 https://packagecloud.io/ookla/speedtest-cli/debian bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
#### Details:
- Date           | Sun Nov 19 15:34:39 GMT 2023
- DietPi version | v8.24.1 (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         | bookworm (ID=7,RASPBIAN=0)
- Command        | `apt-get -y --allow-change-held-packages install php8.2-fpm php8.2-apcu php8.2-curl php8.2-gd php8.2-mbstring php8.2-xml php8.2-zip php8.2-mysql php8.2-redis`
- Exit code      | 100
- Software title | DietPi-Software
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...
#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...
#### Actual behaviour:
<!-- What IS happening? -->
- ...
#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...
#### Additional logs:
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package php8.2-fpm
E: Couldn't find any package by glob 'php8.2-fpm'
E: Couldn't find any package by regex 'php8.2-fpm'
E: Unable to locate package php8.2-apcu
E: Couldn't find any package by glob 'php8.2-apcu'
E: Couldn't find any package by regex 'php8.2-apcu'
E: Unable to locate package php8.2-curl
E: Couldn't find any package by glob 'php8.2-curl'
E: Couldn't find any package by regex 'php8.2-curl'
E: Unable to locate package php8.2-gd
E: Couldn't find any package by glob 'php8.2-gd'
E: Couldn't find any package by regex 'php8.2-gd'
E: Unable to locate package php8.2-mbstring
E: Couldn't find any package by glob 'php8.2-mbstring'
E: Couldn't find any package by regex 'php8.2-mbstring'
E: Unable to locate package php8.2-xml
E: Couldn't find any package by glob 'php8.2-xml'
E: Couldn't find any package by regex 'php8.2-xml'
E: Unable to locate package php8.2-zip
E: Couldn't find any package by glob 'php8.2-zip'
E: Couldn't find any package by regex 'php8.2-zip'
E: Unable to locate package php8.2-mysql
E: Couldn't find any package by glob 'php8.2-mysql'
E: Couldn't find any package by regex 'php8.2-mysql'
E: Unable to locate package php8.2-redis
E: Couldn't find any package by glob 'php8.2-redis'
E: Couldn't find any package by regex 'php8.2-redis'

There is something not fitting on your system. It seems to be a Debian Bookworm but your apt package source is pointing to Bullseye still :thinking: Did you tried to upgrade your system manually?

I had reinstalled my system using dietpi-backup. Could this have confused something?

How do I update manually? sudo apt update & upgrade?

Usually the backup should restore whole system at once and not just parts.

How did you upgrade before?

I always update the system with dietpi-update command.

But this will never upgrade your system from Bullseye to Bookworm. Did you did anything else? Something manually?

If you don’t recall I recommend following to migrate your system fully Debian Bookworm has been released – DietPi Blog

1 Like

Did you did anything else? Something manually?

I did not do anything manually regarding the system update. I just used dietpi-update command.

Then, i should upgrade manually my os using this command?

sudo bash -c "$(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.meta/dietpi-bookworm-upgrade')"

Yes

@howardroark
Did you do the upgrade already? If not, could you please paste the output of the following commands?

cat /etc/debian_version
cat /boot/dietpi/.hw_model
/boot/dietpi/func/dietpi-obtain_hw_model
cat /boot/dietpi/.hw_model

I did upgrade already. But I haven’t tested installing WordPress yet after the upgrade.

cat /etc/debian_version
12.2
G_HW_MODEL=4
G_HW_MODEL_NAME='RPi 4 Model B (aarch64)'
G_HW_ARCH=3
G_HW_ARCH_NAME='aarch64'
G_HW_CPUID=0
G_HW_CPU_CORES=4
G_DISTRO=7
G_DISTRO_NAME='bookworm'
G_ROOTFS_DEV='/dev/sda2'
G_HW_UUID='XXXX'
G_RASPBIAN=0
G_HW_ONBOARD_WIFI=1
G_HW_REVISION='d03114'
G_HW_PCB_REVISION=4
G_HW_MEMORY_SIZE=8192
G_HW_MANUFACTURER='Sony UK'
G_HW_MODEL=4
G_HW_MODEL_NAME='RPi 4 Model B (aarch64)'
G_HW_ARCH=3
G_HW_ARCH_NAME='aarch64'
G_HW_CPUID=0
G_HW_CPU_CORES=4
G_DISTRO=7
G_DISTRO_NAME='bookworm'
G_ROOTFS_DEV='/dev/sda2'
G_HW_UUID='XXXX'
G_RASPBIAN=0
G_HW_ONBOARD_WIFI=1
G_HW_REVISION='d03114'
G_HW_PCB_REVISION=4
G_HW_MEMORY_SIZE=8192
G_HW_MANUFACTURER='Sony UK'

No problem, we had other cases to test. :slight_smile:

When I use the apt-upgrade command, I see an output like this. Is this normal?

The following packages have been kept back:
** rpi-eeprom**

apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  rpi-eeprom
The following packages will be upgraded:
  containerd.io firmware-atheros firmware-brcm80211 firmware-iwlwifi firmware-misc-nonfree firmware-realtek
6 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 67.0 MB of archives.
After this operation, 129 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://download.docker.com/linux/debian bookworm/stable arm64 containerd.io arm64 1.6.25-1 [20.5 MB]
Get:2 https://archive.raspberrypi.org/debian bookworm/main arm64 firmware-atheros all 1:20230210-5+rpt2 [16.8 MB]
Get:3 https://archive.raspberrypi.org/debian bookworm/main arm64 firmware-brcm80211 all 1:20230210-5+rpt2 [5849 kB]
Get:4 https://archive.raspberrypi.org/debian bookworm/main arm64 firmware-iwlwifi all 1:20230210-5+rpt2 [9337 kB]
Get:5 https://archive.raspberrypi.org/debian bookworm/main arm64 firmware-misc-nonfree all 1:20230210-5+rpt2 [13.0 MB]
Get:6 https://archive.raspberrypi.org/debian bookworm/main arm64 firmware-realtek all 1:20230210-5+rpt2 [1492 kB]
Fetched 67.0 MB in 8s (7970 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 28389 files and directories currently installed.)
Preparing to unpack .../0-containerd.io_1.6.25-1_arm64.deb ...
Unpacking containerd.io (1.6.25-1) over (1.6.24-1) ...
Preparing to unpack .../1-firmware-atheros_1%3a20230210-5+rpt2_all.deb ...
Unpacking firmware-atheros (1:20230210-5+rpt2) over (1:20230210-5+rpt1) ...
Preparing to unpack .../2-firmware-brcm80211_1%3a20230210-5+rpt2_all.deb ...
Unpacking firmware-brcm80211 (1:20230210-5+rpt2) over (1:20230210-5+rpt1) ...
Preparing to unpack .../3-firmware-iwlwifi_1%3a20230210-5+rpt2_all.deb ...
Unpacking firmware-iwlwifi (1:20230210-5+rpt2) over (1:20230210-5+rpt1) ...
Preparing to unpack .../4-firmware-misc-nonfree_1%3a20230210-5+rpt2_all.deb ...
Unpacking firmware-misc-nonfree (1:20230210-5+rpt2) over (1:20230210-5+rpt1) ...
Preparing to unpack .../5-firmware-realtek_1%3a20230210-5+rpt2_all.deb ...
Unpacking firmware-realtek (1:20230210-5+rpt2) over (1:20230210-5+rpt1) ...
Setting up firmware-iwlwifi (1:20230210-5+rpt2) ...
Setting up firmware-atheros (1:20230210-5+rpt2) ...
Setting up firmware-misc-nonfree (1:20230210-5+rpt2) ...
Setting up firmware-brcm80211 (1:20230210-5+rpt2) ...
Setting up firmware-realtek (1:20230210-5+rpt2) ...
Setting up containerd.io (1.6.25-1) ...

Yes, we set it on hold on last update due some issue with RPI package dependencies. Will be removed on next update or you do it manually Package raspi-firmware is not configured yet · Issue #6747 · MichaIng/DietPi · GitHub

1 Like