Why is yt-dlp not updated?

Running ‘yt-dlp --version’ gives me 2024.08.06, although there are many version between this and the latest 2025.01.26 version: Releases · yt-dlp/yt-dlp · GitHub

One of those releases is needed to use OAuth2.

‘apt list --upgradable’ gives me nothing.

Edit: Performed a ‘dietpi-software reinstall 195’, which fixed the issue.

This is expected behavior as yt-dl is simply downloaded from GitHub. It is not a Debian package that is installed via apt.

this is the way

This is not an issue but works as expected.

Can’t you integrate an automated ‘dietpi-software reinstall x’ for software that installs via other package sources?

No, we probably won’t do that, as it would be a huge effort to automatically check each of the more than 200 software titles on a regular basis. Unfortunately, we are only a very small team with one main developer.

I wasn’t talking about checking anything. Just do a ‘dietpi-software reinstall x’ for all packages that are installed when a certain command is issued.

maybe apt upgrade?

apt is Debian package manager and has nothing to do with DietPi scripts.

dietpi-update?

As already written, we do not currently have the capacity to fully implement something like this. It should be no problem to run dietpi-software reinstall x manually if required.

You can’t iterate installed software in a loop
dietpi-software list | grep ' =2'
and execute
dietpi-software reinstall x? :face_with_raised_eyebrow:

(And I’m sure there are better ways to do it)

All installed software is in the file /boot/dietpi/.installed. However, a distinction must be made there as to which software must be updated and how. This varies from app to app. Some use Debian Package Manager apt, others have a built-in update function via Web UI and still others require a reinstall.

And this information is hard coded to the install-script?

Honestly I`m not sure what you are looking for. You are free to have a look into the installation script and to create your own solution to update your software apps automatically.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.