-
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian Bookworm testing and upgrade script feedback #6227
Comments
Used the script to update 6 VM's. On 4 it worked without issue on 2 it errored out. Strange thing is they all had a base template...... |
|
can you share following from the 2 VM's having an issue and another example from a system working
|
Working:
Not working:
|
Sorry. This is the non working. NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID Working: |
Actually that swap is not needed... Guess it's a leftover off debian 11 install (installed it from debian 11 iso) and then converted via dietpi script. |
The GRUB package needs to know where it can flash GRUB to. Since we cannot know the device name you flash the image to, we use ship them with dpkg --configure grub-pc and select the correct device name, which seems to be Since DietPi v7.5, it is adjusted automatically on first boot: d430094 |
Tried to run, got:
|
Try dpkg --configure -a or apt -f install or apt update
apt install grub-pc instead. Not sure which state your packages are exactly on each VM. |
Doesn't help.
|
This is on a system where the Bookworm upgrade script just failed? Seems all fine. You can force the configuration with dpkg-reconfigure grub-pc |
Btw apt package source seems to be bullseye still. |
This a bullseye system before the upgrade script (rolled back) because the update script was failing (this is why I reported here as asked on the announcement). |
But you have the issue with Grub already on the Bullseye system? |
No issues whatsoever! Runs fine. |
Tried the upgrade script again. Errored out. /usr/sbin/dpkg-reconfigure: grub-pc is broken or not fully installed |
Now I entered "dpkg --configure -a" and I could choose the device. Seems OK now. |
But as shown above, |
Yes. |
This would mean the issue was already there on Bullseye and just popped up due to the Bookworm upgrade. Right? |
Bullseye was running fine and I had no issue booting..... So I can't tell if there was an issue. |
Makes all sense then. You could have done |
OK.... Doesn't make to me but then. As I was not experiencing any issue booting. |
Which virtualizer is it? Probably check its settings, use latest hardware/controller types etc. Usually with GRUB the very first output is "Loading GRUB", followed by "Loading initrd" or similar. If there is really nothing visible at all, then this is either on a hardware/emulation level where software should not have any effect on, or it is not a boot issue, but a shutdown issue. Probably some service is hanging. By default, it should be killed after 90 seconds. You could enable persistent system logs and see whether something is caught: dietpi-software uninstall 103
mkdir /var/log/journal
reboot Persistent logs should be enabled after this reboot. So do another reboot then, and check via If you did use Unbound, e.g. behind Pi-hole, then you would recognise it being down, since no client would be able to resolve any hostname. So I guess it is currently not in use anyway? So you could just uninstall it, or if needed, check where the error is coming from: journalctl -u unbound |
The script is requesting a 'dist' file from a server that doesn't have any 'bookworm' dist files. (Manually visiting Is there another repo that hosts them? Or should the script be updated?
|
You would need to manually switch back this particular repository to Bullseye. |
Found this forum post (that I must've overlooked) when searching for more info: https://dietpi.com/forum/t/dietpi-update-error-with-release-file-pkg-ltec-ch-bookworm/17519/2 The solution here:
|
It might be useful to update the section on wsdd in the DietPi Samba guide (https://dietpi.com/docs/software/file_servers/#__tabbed_2_5) accordingly to prevent problems during the update. |
I guess we need to differentiate between Bullseye and Bookworm. On Bullseye it will be dedicated |
But thanks for the hint! Now I know why the lists have Btw, I recognised just now that EDIT: PR to update docs: MichaIng/DietPi-Docs#961 |
Without the ingenious DietPi OS, I would not have been able to give this hint. |
Just FYI: I updated my Raspberry Pi 3B and for some reason it rebooted during the apt upgrade phase. |
Probably some service was hanging on shutdown. A reboot during APT upgrades should not happen, so probably a power/voltage issue, or theoretically emergency shutdown due to critical temperature. Keep an eye on: dmesg -l 0,1,2,3 whether you see some voltage related kernel errors. |
Hello everyone,
Error doing job: Task exception was never retrieved
|
How long did you wait? At this point some packages are downloaded. Sometimes this could take a while depending on apt package server speed. As well the mixture of Bullseye and Bookworm might be ok. Some apps don't offer a Bookworm repository. It depends on the individual apps. |
@Joulinar I did not time it. I will restart the procedure and wait at least 1 hour and report back! |
@Joulinar ok sorry for the inconvenience, I indeed just needed to wait longer... ( thx for the feedback ) |
What takes so long is collecting/calculating all package/upgrade information without APT cache and compressed package lists for such large upgrades (large number of packages to upgrade), indeed. APT seems to do this pretty ineffective, at least it definitely does not uncompress all lists first, then all parsing and calculation, but seems to do decompression/parsing for each and every package, or in chunks, over and over again. In The |
I'll close this now. For any issue or question regarding the script or Bookworm in general, please open a new issue. |
This issue aims to collect feedback, testing results and info around the upcoming Debian Bookworm release.
Please read our article to get an overview: T.b.d.
Additional info can be found on our wiki: https://github.com/MichaIng/DietPi/wiki/Debian-Bookworm-testing
To run the Bookworm migration script on Bullseye systems:
sudo bash <(curl -sSf 'https://raw.githubusercontent.com/MichaIng/DietPi/master/.meta/dietpi-bookworm-upgrade')
The text was updated successfully, but these errors were encountered: