Closed abstractionmage closed 2 months ago
Hmm, you have a very mixed OS, actually I am unsure which Debian version it really is, but there are APT sources for Sid/testing, Bullseye and Buster mixed, and our script is not able to detect the version.
Can you show the following:
cat /etc/debian_version /etc/os-release
dpkg -l base-files
ls -l /etc/apt/sources.list.d
Of course:
$ cat /etc/debian_version /etc/os-release
trixie/sid
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
$ dpkg -l base-files
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-======================================
ii base-files 13.5 arm64 Debian base system miscellaneous files
(END)
$ ls -l /etc/apt/sources.list.d
total 16
-rw-r--r-- 1 root root 62 Mar 11 2023 docker.list
-rw-r--r-- 1 root root 94 Sep 29 2023 kopia.list
-rw-r--r-- 1 root root 58 Aug 12 2021 raspi.list
-rw-r--r-- 1 root root 59 Sep 17 2021 zerotier.list
can you share content of your source list
for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done
You have http://ftp.de.debian.org/debian sid
in your sources.list
, and the OS hence seems to have upgraded to Debian Sid/unstable (shown as upcoming release Trixie/sid). DietPi v8.14 is indeed not able to detect this Debian version yet. This was added with v8.19.
We could manually put support inside:
G_CONFIG_INJECT 'G_DISTRO=' 'G_DISTRO=8' /boot/dietpi/.hw_model
G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=master' /boot/dietpi.txt
dietpi-update 1
should do it. But the major problem is that you are on an unstable Sid system, which is highly discouraged, volatile, potentially insecure, basically a playground for developers, not intended to be used by end users. Did you add http://ftp.de.debian.org/debian sid
intentionally to your sources.list
or did some misleading guide instruct to do so?
Since Debian cannot really be downgraded, I would actually set up a fresh DietPi Bookworm system. You could also remove the Debian Sid entry from APT sources, and replace the Bookworm sources with Trixie ones. If you did not run apt upgrade
for a longer time, most packages should be upgraded to Debian Trixie/testing (which is much better than Sid/unstable), a safer and more stable version.
Thanks, with the commands above I was indeed able to update to the latest version of DietPi (v9.7.1).
And you're right, I don't remember when or why but it appears that I have indeed added sid sources to my /etc/apt/sources.list
at some point to get something to work.
Since I haven't updated my system for a few months at this point I removed the sid sources and replaced bookworm sources with trixie ones as you suggested, which seems to have worked for the most part. I still ran into a few dependency problems when upgrading my system, but nothing that I couldn't resolve by purging a few packages I didn't need anymore anyway (mainly GTK and QT libraries and the programs depending on them, but on my headless raspberry pi I don't really need those anyway).
Thanks again, I just want to say that I'm deeply grateful for your support and your helpful suggestions. This level of assistance really goes above and beyone everything I could've imagined from the owner of a somewhat popular linux distro 💙
Great that it worked. I can imagine a bunch of the package conflicts was due to the 64-bit time_t transition Debian currently does: https://wiki.debian.org/ReleaseGoals/64bit-time
Basically all libraries are renamed to have a t64
suffix. I fear the moment when all this renaming is reverted 🙈.
Creating a bug report/issue
Required Information
DietPi version |
cat /boot/dietpi/.version
Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
Kernel version |
uname -a
SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)Power supply used | (EG: 5V 1A RAVpower)
SD card used |
Additional Information (if applicable)
Steps to reproduce
dietpi-update
as rootExpected behaviour
Actual behaviour
jessie-support
Extra details
Here's the full output log:
So since the
dietpi-update
command no longer works, how can I update the dietpi version on my raspberry pi now?