dos2unix is a binary itself and since we can’t use apt-get freely on v4 firmwares, we can’t install it from standard Debian repo.
If you’re converting crlf in one of your scripts, just use the one-liners I’ve posted above. If you really need the executable on MyCloud, just take one of the one-liner and place it in a new file e.g. below:
dos2unix available in my repo: Repository with software worked on v4 firmware
Also available Apache2/PHP5/MySQL for upgrade existing webserver (Be careful!) or use it inside Chroot (At different port).
Warning! Do not upgrade Apache2/PHP5 using apt-get even on 64k repos. You will definately break something i.e. WD stuffs. Also no point doing this on chroot due to abvious port conflicts unless you changed either of the ports but still two Apache daemons running taking up more resources. Unless you know what you’re doing
Frankly I don’t fancy using apt-get on MyCloud even on 64k repos due to inconsistent dependency conflicts. If you want to use apt-get, use it on a clean Debian.
Why not? Its standart package manager in Debian-based systems. Its powerful and easy.
Also my repo - is clone of official repo, but all soft rebuilded for support 64k (v4 firmware), so - all dependencies solved.
One more “+”: Is a easy update/upgrade (Yes, sometime i upgrade packages in repo).
As WD also couldn’t use all power of APT/Dpkg/Packages and made a heap of crutches.
In attempt it will be updated - everything will fall off. That it didn’t occur - it is necessary to remove garbage from WD from dependences of normal packages (In /var/lib/dpkg/info/ need remove wd-nas files and edit apache/php and other .info files for remove WD stuff from it)
You quoted only partial of my reply. I said I don’t fancy using apt-get on the MyCloud. But I still use apt-get/aptitude on pure Debian/Ubuntu systems I have. I would have switched MyCloud to pure Debian but I choose not to.
Also your 64k repo is not really maintained all up to date. Just apps and deps that you’ve built manually as I did. Even Jessie/SID is not all 64k updated. This is the main reason I insisted of not maintaining 64k repos despite all the feedback I got. A good example is @alirz1 trying to install a simple dos2unix (advanced users like you and me don’t need this) but get killed attempting to run it. But we still appreciate your effort for the repo though.
And most of all my approach is different from yours. I want users especially all my donors to be able to install all these without messing or removing so called WD garbage. Because unlike you and me, a normal user who doesn’t understand all these could easily break their NAS even with your 64k repo.
I try to install your package. WebHosting… (FW is v04.04.02-105)
It goes well to point 81 where stops with the message:
Unable to install required file! ‘webhosting-mods_1.0.0’.
Is this on a fresh firmware? Try service perl-fcgi restart;. If you can start the service then it’s good else maybe you could try installing again, usually installation issues occur before point 81.
Guide added to the first post: GoDaddy DDNS Updater.
This guide is useful for those who’s using GoDaddy domain and having its DNS records pointing to a dynamic public IP for home based solutions i.e. personal hosting, remote access or remote CCTV surveillance. Hope it helps…