Fetched 82.0 MB in 2min 32s (538 kB/s)
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/o/openssl/libssl-dev_1.1.1k-1+deb11u1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/o/openssl/libssl1.1_1.1.1k-1+deb11u1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/s/systemd/systemd-sysv_247.3-6+rpi1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/o/openssl/openssl_1.1.1k-1+deb11u1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Running apt update --fix-missing returns
Err:1 http://mirror.aarnet.edu.au/pub/raspbian/raspbian bullseye/main armhf systemd-sysv armhf 247.3-6+rpi1
404 Not Found [IP: 202.158.214.106 80]
Err:2 http://mirror.aarnet.edu.au/pub/raspbian/raspbian bullseye/main armhf libssl-dev armhf 1.1.1k-1+deb11u1
404 Not Found [IP: 202.158.214.106 80]
Err:3 http://mirror.aarnet.edu.au/pub/raspbian/raspbian bullseye/main armhf libssl1.1 armhf 1.1.1k-1+deb11u1
404 Not Found [IP: 202.158.214.106 80]
Err:4 http://mirror.aarnet.edu.au/pub/raspbian/raspbian bullseye/main armhf openssl armhf 1.1.1k-1+deb11u1
404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/s/systemd/systemd-sysv_247.3-6+rpi1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/o/openssl/libssl-dev_1.1.1k-1+deb11u1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/o/openssl/libssl1.1_1.1.1k-1+deb11u1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Failed to fetch http://mirror.aarnet.edu.au/pub/raspbian/raspbian/pool/main/o/openssl/openssl_1.1.1k-1+deb11u1_armhf.deb 404 Not Found [IP: 202.158.214.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Please let me know what I can do to fix these errors.
Looks like the apt package server mirror at Raspbian side has some issues. I would recommend to wait and try again later. Not really something to do in your side.
DietPi will never force a Debian destro upgrade via
dietpi-update
. There are to many things that might not work as a destro upgrade is quite a have thing, going to update more than 200 packages. Therefore we created a guide on our blog giving a general guidance.
I’ve read the blog post. Do I need to enter the commands in the code blocks separately or could I just copy and paste the code blocks per se and hit enter after every block? Because the code blocks are not code friendly formatted and I am a beginner.
And if I run into any problems, could I just restore my dietpi backup?
On windows you can use W32 disk imager to create an img file
curl is a tool we use to get some data from internet source. After an unsuccessful upgrade and restore performed, this tool is failing. Therefore better to have the image file created to avoid such issues.
I restored yesterday and realised that curl was broken today. I ran the other commands you have in the other thread without success. Is my only option now is to restore from my SD card backup?
To investigate the curl issue, can you please do the following:
apt install pax-utils
lddtree /usr/bin/curl
Yeah since we couldn’t find the reason for the error after restoring the Buster backup, restoring the SD card is the only solution. I’ll try to replicate and investigate this evening.
The code blocks can also be copy&pasted as well, btw. Only downside is that all commands are executed regardless if one failed. So executing them one by one indeed gives you more control over the process.
Here’s the result. Let me know if there is anything else. I intend to restore from the SD card soon.
root@DietPi:~# apt install pax-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
paxctl
The following NEW packages will be installed:
pax-utils
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 71.0 kB of archives.
After this operation, 223 kB of additional disk space will be used.
Get:1 http://mirror.aarnet.edu.au/pub/raspbian/raspbian buster/main armhf pax-utils armhf 1.2.4-1 [71.0 kB]
Fetched 71.0 kB in 1s (66.0 kB/s)
Selecting previously unselected package pax-utils.
(Reading database ... 32092 files and directories currently installed.)
Preparing to unpack .../pax-utils_1.2.4-1_armhf.deb ...
Unpacking pax-utils (1.2.4-1) ...
Setting up pax-utils (1.2.4-1) ...
The question is how it is possible that restoring the backup does not restore this library as well, as all old files should be restored. Or if there is something patching the ELF header of this file after it was restored.
Hello, I’m just following the HOW TO UPGRADE TO “BULLSEYE” blog post, and have this warning after the apt update step:
W: Skipping acquire of configured file 'ui/binary-armhf/Packages' as repository 'https://archive.raspberrypi.org/debian bullseye InRelease' doesn't have the component 'ui' (component misspelt in sources.list?)
This is for a headless install, this seems to allude to a ‘ui’ / user interface? - Is this something I can ignore, or should I backtrack?