I want to upgrade from 6.34 to newst version but I have this error.
"Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/jessie-support/.update/version
curl: (22) The requested URL returned error: 404"
I know my version is too old, but I have a lot of services there and I can’t start over.
Is there any option to upgrade without problems?
Thank you so much!
DietPi-Update
─────────────────────────────────────────────────────
Phase: Checking for available DietPi update
[ OK ] DietPi-Update | Checking network connectivity
[ OK ] DietPi-Update | Checking DNS resolver
[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/stretch/.update/version
[ OK ] DietPi-Update | Got valid latest version: 7.9.4
[ INFO ] DietPi-Update | Your Debian version is too low to update to the current branch: Unknown (0)
[ INFO ] DietPi-Update | We're switching to an alternative branch: jessie-support
[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/jessie-support/.update/version
curl: (22) The requested URL returned error: 404
[FAILED] DietPi-Update | Unable to get latest version.
[ INFO ] DietPi-Update | Please check the target Git repository and your network connection, then rerun dietpi-update.
[ INFO ] DietPi-Update | If this error persists, please report at: https://github.com/MichaIng/DietPi/issues
[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:3 https://deb.debian.org/debian stretch InRelease
Hit:4 https://deb.debian.org/debian stretch-updates InRelease
Hit:5 https://deb.debian.org/debian stretch-backports InRelease
Hit:6 https://deb.debian.org/debian stretch Release
Reading package lists...
[ OK ] DietPi-Update | APT update
[ INFO ] DietPi-Update | No APT upgrades were found, not creating variable: G_AGUP_COUNT
Creating a bug report/issue
Required Information
- DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=34
G_DIETPI_VERSION_RC=3
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
- Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
Unknown
- Kernel version |
uname -a
Linux DietPi 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64 GNU/Linux
- SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
Native PC (x86_64)
Yes your system is extremely old, outdated and not supported anymore.
What exactly is your aim to update DietPi version? Or do you plan as well to update the Debian version from Stretch > Buster > Bullseye? Because just updating DietPi scripts will not update any software package you might running as this most probably require a manual Debian version update.
can you share your current version
cat /etc/debian_version
I try to upgrade and pass for each version Stretch > Buster > Bullseye.
My current version is 9.13
Maybe a min. Debian version 10 (Buster) is required. Let’s check with our developer @MichaIng before going ahead. As well, can you share installed software
dietpi-software list | grep ' =2 '
This is my list.
ID 0 | =2 | OpenSSH Client: Feature-rich SSH, SFTP and SCP client |
ID 5 | =2 | ALSA: Advanced Linux Sound Architecture |
ID 6 | =2 | X.Org X Server: aka X11 - X Window System implementation |
ID 23 | =2 | LXDE: ultra lightweight desktop | +ALSA +X.Org X Server +browser | Graphical Desktop Environments and Utilities - DietPi.com Docs
ID 28 | =2 | TigerVNC Server: desktop for remote connection | +desktop | Remote Desktop Access Software Options - DietPi.com Docs
ID 39 | =2 | ReadyMedia: (MiniDLNA) media streaming server (dlna, upnp) | | Media Systems Software Options - DietPi.com Docs
ID 44 | =2 | Transmission: BitTorrent server with web interface (C) | | BitTorrent and Download Tools Software Options - DietPi.com Docs
ID 73 | =2 | Fail2Ban: prevents brute-force attacks with ip ban | | System Security Software Options - DietPi.com Docs
ID 94 | =2 | ProFTPD: Efficient, lightweight FTP server | | File Servers Options - DietPi.com Docs
ID 96 | =2 | Samba Server: Feature-rich SMB/CIFS server | | File Servers Options - DietPi.com Docs
ID 103 | =2 | DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot | | Log System Choices - DietPi.com Docs
ID 104 | =2 | Dropbear: Lightweight SSH server | | SSH Server Choices - DietPi.com Docs
ID 109 | =2 | NFS Server: Network File System server | | File Servers Options - DietPi.com Docs
ID 113 | =2 | Chromium: web browser for desktop or autostart | +ALSA +X.Org X Server | Graphical Desktop Environments and Utilities - DietPi.com Docs
At least Stretch is required to update further, also just to a support branch since we dropped Stretch support already as well.
Ah, but you upgraded to Stretch already. Do this to update DietPi to latest version available for Stretch:
G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=stretch' /boot/dietpi.txt
dietpi-update 1
Then you can follow our guides to further upgrade to Buster and Bullseye. After each upgrade, first check whether all services are still running as expected:
I tried it, but in the second update appear this error
chmod -R g-w DietPi-master
chmod: cannot access ‘DietPi-master’: No such file or directory
- Date | Fri Jul 22 00:43:35 CEST 2022
- DietPi version | v6.34.3 (MichaIng/master)
- Image creator |
- Pre-image |
- Hardware | Native PC (x86_64) (ID=21)
- Kernel version |
Linux DietPi 4.19.0-21-amd64 #1 SMP Debian 4.19.249-2 (2022-06-30) x86_64 GNU/Linux
- Distro | buster (ID=5)
- Command |
chmod -R g-w DietPi-master
- Exit code | 1
- Software title | DietPi-Update
Steps to reproduce:
Can you share the full output of the update? If the output is to long, copy it into a log.txt
and attach it to the post simply.
Can you try:
G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=master' /boot/dietpi.txt
dietpi-update 1
1 Like
Thank you so much, now I have the 8.6.1!
1 Like