I’m following this guide for the manual upgrade of Buster to Bullseye https://dietpi.com/blog/?p=811#2.2.3-upgrade-the-system so far everything’s been fine but I’m now stuck at this section:
dietpi-services stop
# NB: Type/paste the next 2 commands individually into the console!
apt upgrade
apt full-upgrade
/boot/dietpi/func/dietpi-obtain_hw_model
. /boot/dietpi/func/dietpi-globals
I stopped the services and did the upgrade but I’m a bit stuck with the full-upgrade command, does it need to be all one line? If I do this
apt full-upgrade /boot/dietpi/func/dietpi-obtain_hw_model . /boot/dietpi/func/dietpi-globals
I get:
Reading package lists... Done
E: Unsupported file /boot/dietpi/func/dietpi-obtain_hw_model given on commandline
E: Unsupported file . given on commandline
E: Unsupported file /boot/dietpi/func/dietpi-globals given on commandline
root@DietPi:/#
If I try it on multiple lines like in the guide it runs apt full-upgrade alone and I end up with
root@DietPi:/# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Error!
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev : Breaks: libgcc-8-dev (< 8.4.0-2~) but 8.3.0-6+rpi1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
root@DietPi:/# /boot/dietpi/func/dietpi-obtain_hw_model
root@DietPi:/# . /boot/dietpi/func/dietpi-globals