Skip to content

Instantly share code, notes, and snippets.

@psyburr
Created July 11, 2024 16:57
Show Gist options
  • Select an option

  • Save psyburr/88d6907df55968cf3e2dcc14e0c20539 to your computer and use it in GitHub Desktop.

Select an option

Save psyburr/88d6907df55968cf3e2dcc14e0c20539 to your computer and use it in GitHub Desktop.
 
DietPi-Update
─────────────────────────────────────────────────────
Phase: Applying pre-patches
 [ ] DietPi-Update | Downloading pre-patches. ..  ..  [ OK ] DietPi-Update | Downloading pre-patches
 [ ] DietPi-Update | Applying execute permission.  [ OK ] DietPi-Update | Applying execute permission
 [ OK ] DietPi-Update | Successfully applied pre-patches
 
DietPi-Update
─────────────────────────────────────────────────────
Phase: Upgrading APT packages
 [ INFO ] DietPi-Update | APT update, please wait...
Hit:1 https://raspbian.mirror.constant.com/raspbian bookworm InRelease
Hit:2 https://dietpi.com/apt bookworm InRelease
Hit:3 https://dietpi.com/apt all InRelease
Hit:4 https://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists...
 [ OK ] DietPi-Update | APT update
 [ INFO ] DietPi-Update | APT upgrade, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
 [ OK ] DietPi-Update | APT upgrade
 
DietPi-Update
─────────────────────────────────────────────────────
Phase: Installing new DietPi code
 [ ] DietPi-Update | Downloading update archive. ..  ..  ..  ..  .. . .. ..  ..  .. .. . ..  ..  ..  ..  .. [ OK ] DietPi-Update | Downloading update archive
 [ ] DietPi-Update | Unpacking update archive.  [ OK ] DietPi-Update | Unpacking update archive
 [ ] DietPi-Update | Removing unused files.  [ OK ] DietPi-Update | Removing unused files
 [ ] DietPi-Update | Hardening update archive mode.  [ OK ] DietPi-Update | Hardening update archive mode
 [ ] DietPi-Update | Installing new DietPi scripts.  [ OK ] DietPi-Update | Installing new DietPi scripts
 [ ] DietPi-Update | Installing new DietPi system files.  [ OK ] DietPi-Update | Installing new DietPi system files
 [ SUB1 ] DietPi-Set_software > verify_dietpi.txt
 [ ] DietPi-Set_software | Downloading current dietpi.txt. ..  ..  ..  ..  .. . .. [ OK ] DietPi-Set_software | Downloading current dietpi.txt
 [ OK ] verify_dietpi.txt | Completed
 [ ] DietPi-Update | sync. ..  ..  ..  ..  .. . .. ..  [ OK ] DietPi-Update | sync
 [ ] DietPi-Update | systemctl daemon-reload. ..  ..  ..  ..  .. . .. ..  ..  .. .. . ..  ..  ..  ..  [ OK ] DietPi-Update | systemctl daemon-reload
 
DietPi-Update
─────────────────────────────────────────────────────
Phase: Applying incremental patches
 [ INFO ] DietPi-Update | Current version : v9.2.1
 [ INFO ] DietPi-Update | Latest version : v9.6.1
 [ INFO ] DietPi-Patch | Patching to DietPi v9.3...
 [ SUB2 ] DietPi-Set_software > apt-mirror (dietpi)
 [ ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt bookworm main rpi3' > /etc/apt/sources.list.d/dietpi.list.  [ OK ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt bookworm main rpi3' > /etc/apt/sources.list.d/dietpi.list
 [ ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt all rpi' >> /etc/apt/sources.list.d/dietpi.list.  [ OK ] DietPi-Set_software | eval echo 'deb https://dietpi.com/apt all rpi' >> /etc/apt/sources.list.d/dietpi.list
 [ OK ] apt-mirror dietpi | Completed
 [ INFO ] DietPi-Patch | APT update, please wait...
Hit:1 https://dietpi.com/apt bookworm InRelease
Hit:2 https://raspbian.mirror.constant.com/raspbian bookworm InRelease
Hit:3 https://dietpi.com/apt all InRelease
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
E: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Sub-process apt-key returned an error code (29)Err:1 https://dietpi.com/apt bookworm InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Hit:4 https://archive.raspberrypi.com/debian bookworm InRelease
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
E: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Sub-process apt-key returned an error code (29)Err:2 https://raspbian.mirror.constant.com/raspbian bookworm InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
E: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Sub-process apt-key returned an error code (29)Err:3 https://dietpi.com/apt all InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
/usr/bin/apt-key: 95: cannot create /dev/null: Permission denied
E: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Sub-process apt-key returned an error code (29)Err:4 https://archive.raspberrypi.com/debian bookworm InRelease
gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dietpi.com/apt bookworm InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://raspbian.mirror.constant.com/raspbian bookworm InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dietpi.com/apt all InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://archive.raspberrypi.com/debian bookworm InRelease: gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: Failed to fetch https://raspbian.mirror.constant.com/raspbian/dists/bookworm/InRelease gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: Failed to fetch https://dietpi.com/apt/dists/bookworm/InRelease gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: Failed to fetch https://dietpi.com/apt/dists/all/InRelease gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: Failed to fetch https://archive.raspberrypi.com/debian/dists/bookworm/InRelease gpgv, gpgv2 or gpgv1 required for verification, but neither seems installed
E: Some index files failed to download. They have been ignored, or old ones used instead.
 [FAILED] DietPi-Patch | APT update
- Command: apt-get -y -eany update
[?1049h[?1h=(B)0[?25l                                               RPi 3 Model B+ (armv7l) | IP: 192.168.1.3 | Use│ APT update │ - Command: apt-get -y -eany update │ - Exit code: 100 │ - DietPi version: v9.3.0 (MichaIng/master) │ | HW_MODEL: 3 | HW_ARCH: 2 | DISTRO: 7 │ - Error log: │ Hit:1 https://dietpi.com/apt bookworm │ InRelease │ Hit:2 │ https://raspbian.mirror.constant.com/raspbi │ an bookworm InRelease │ Hit:3 https://dietpi.com/apt all InRelease │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied │ E: gpgv, gpgv2 or gpgv1 required for │ verification, but neither seems installed │ Sub-process apt-key returned an error code │ (29)Err:1 https://dietpi.com/apt bookworm │ InRelease │ gpgv, gpgv2 or gpgv1 required for │ verification, but neither seems installed │ Hit:4 │ https://archive.raspberrypi.com/debian │ bookworm InRelease │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied │ E: gpgv, gpgv2 or gpgv1 required for │ verification, but neither seems installed │ │ Retry : Re-run the last comman ↑ │ DietPi-Config : Edit network, APT/NTP ▮ │ │ │ <Ok> <Exit> │ │└─────────────────────────────────────────────┘┘─ RPi 3 Model B+ (armv7l) | IP: 192.168.1.3 | Use │ APT update  │ - Command: apt-get -y -eany update  │ - Exit code: 100  │ - DietPi version: v9.3.0 (MichaIng/master)  │ | HW_MODEL: 3 | HW_ARCH: 2 | DISTRO: 7  │ - Error log:  │ Hit:1 https://dietpi.com/apt bookworm  │ InRelease  │ Hit:2  │ https://raspbian.mirror.constant.com/raspbi  │ an bookworm InRelease  │ Hit:3 https://dietpi.com/apt all InRelease  │ /usr/bin/apt-key: 95: cannot create  │ /dev/null: Permission denied  │ /usr/bin/apt-key: 95: cannot create  │ /dev/null: Permission denied  │ /usr/bin/apt-key: 95: cannot create  │ /dev/null: Permission denied  │ E: gpgv, gpgv2 or gpgv1 required for  │ verification, but neither seems installed  │ Sub-process apt-key returned an error code  │ (29)Err:1 https://dietpi.com/apt bookworm  │ InRelease  │ gpgv, gpgv2 or gpgv1 required for  │ verification, but neither seems installed  │ Hit:4   │ Sub-process apt-key returned an error code │ (29)Err:2 │ https://raspbian.mirror.constant.com/raspbi │ an bookworm InRelease │ gpgv, gpgv2 or gpgv1 required for │ verification, but neither seems installed │ /usr/bin/apt-key: 95: cannot create │ /dev/null: Permission denied Retry : Re-run the last commanRetry : Re-run the last comman<Ok><Ok><Exit>[?25h [?1l>[?1049l [FAILED] DietPi-Patch | Unable to continue, DietPi-Patch will now terminate.
 [FAILED] DietPi-Update | An error occurred during incremental patching. Please check the above log or /var/tmp/dietpi/logs/dietpi-update.log for errors, and rerun "dietpi-update" after the cause has been solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment