Recently with the new update, it seems that when you install anything on DitePi with a fresh new installation of it, it works on the first setup, but when you want to add more software packages, you usually get an error relating to bash-doc and well, that no bueno
. Luckily you can fix this in three easy steps.
-
Add the official raspbian repo: echo ādeb http://archive.raspbian.org/raspbian stretch main contrib non-freeā | sudo tee /etc/apt/sources.list.d/raspi.list
-
Add the gpg key (required to download): wget https://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -
-
Then download bash-doc: sudo apt-get update && sudo apt-get install bash-doc
This should fix the issue with dietpi-software, if you get any more errors, try seeing if the package is installed first! 
dynomite567
Thanks for this.
Actually this should not be necessary. On every Debian APT mirror, as well on every Raspbian mirror, the bash-doc package should be available. We do this installation on every dietpi-software run just as dry-run to check if the APT mirror is available as expected. This prevents further adjustments of the installation process until the broken mirror leads to errors down the road and leave the installation process just half finished.
On RPi images, we preconfigured a mirror director instead of the official one: https://www.mirrorservice.org/sites/archive.raspbian.org/raspbian/
This should lead to faster downloads, if your server is located far away from official mirror location. Normally this should work. A possible reason for the error you faced might be the recent update of the raspbarrypi-sys-mods package. This adjustes the mirror string archive.raspbian.org into raspbian.raspberrypi.org, for whatever reason, and does this in a rough way, not respecting, that this pattern might occur as well in other combinations than just deb http://archive.raspbian.org/⦠Also httpS://archive.raspbian.org/ got broken by this, as httpS://raspbian.raspberrypi.org is not reachableā¦
We fixed this in recent DietPi versions, but it might be, that if you are on earlier DietPi version and APT upgraded raspbarrypi-sys-mods, you are affected by this. Maybe you can verify that this was your case?