Dietpi: YMPD installation broken on stretch armv6

Created on 3 Aug 2018  Â·  5Comments  Â·  Source: MichaIng/DietPi

Required Information:

Additional Information (if applicable):

  • Software title | DietPi-Software

Expected behaviour:

YMPD installation

Actual behaviour:

mpd_0.20.11-1_armv6.deb file was not found in repo (but mpd_0.20.18-1_armv6.deb was here).

Steps to reproduce:

Installing MPD music player daemon with DietPi-Software

Additional logs:

Log file contents:
Spider mode enabled. Check if remote file exists.
--2018-08-03 16:16:06--  http://dietpi.com/downloads/binaries/all/mpd_0.20.11-1_armv6.deb
Resolving dietpi.com (dietpi.com)... 185.101.93.93
Connecting to dietpi.com (dietpi.com)|185.101.93.93|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://dietpi.com/downloads/binaries/all/mpd_0.20.11-1_armv6.deb [following]
Spider mode enabled. Check if remote file exists.
--2018-08-03 16:16:07--  https://dietpi.com/downloads/binaries/all/mpd_0.20.11-1_armv6.deb
Connecting to dietpi.com (dietpi.com)|185.101.93.93|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
Remote file does not exist -- broken link!!!
Bug Solution available

All 5 comments

@magicfoxt
Thanks for your report. Jep the old versions are indeed missing.

@Fourdee
Did you recently remove the old binaries from the server? Although a dietpi-update fixes this, for we should keep the old ones to prevent such issues.

https://github.com/Fourdee/DietPi/blob/0a6e43cac45ab4e7639b4c0be878c75f87451350/dietpi/dietpi-software#L3727

  • mpd_0.20.11-1_ for pre v6.4

https://github.com/Fourdee/DietPi/blob/6e9c18b2ee3b89f3a5dc1092149866dfb3f18f38/dietpi/dietpi-software#L3724

  • mpd_0.19.21_arm64.deb for pre v6.9 (?)

Could be also solved via symlinks, so the newest version will be installed. We should really safe the binaries/packages without version string, thus we can update them without needing to adjust download link and/or keep old binaries.

To fix now, I suggest you update DietPi to the current version.
If for some reason you want to stay on v6.3, you could do the following:
sed -i 's/mpd_0.20.11-1/mpd_0.20.18-1/g' /DietPi/dietpi/dietpi-software

We will resolve/recreate the old binaries on the server.

€: Okay, I resolved it for now via symlinks server side. I hope there is no reason for 0.20.18-1 not running on older DietPi versions.

Thanks for you reply and actions.

@MichaIng

Did you recently remove the old binaries from the server? Although a dietpi-update fixes this, for we should keep the old ones to prevent such issues.

Probably due to server move and me trying to clean up the new one. Although updating DietPi resolves this and your symlink fix, however, my mistake.

@magicfoxt

If you would be so kind as to confirm this is now working? We can mark this as resolved.

Yes, I confirm it's working for me and I did a dietpi-update to be up to date ;)
Many thanks for your support !

@magicfoxt
Thanks for feedback, I will mark this as closed then 🙂.

Was this page helpful?
0 / 5 - 0 ratings