[GUIDE] Installing qBittorrent on WD My Cloud for n00bs

This should resolve your problem:

  1. Run this command: apt-get update

This will downloads the package lists from the repositories… or something like that…

  1. Then, run: apt-get install qbittorrent-nox

Followed this guide on qbittorrent forum https://qbforums.shiki.hu/index.php/topic,2696.0.html but I think it broke the firmware. Now I’m reinstalling it again.

ZapaCloud:~# cp /etc/apt/sources.list /etc/apt/sources.list.bak
ZapaCloud:~# echo deb http://ftp.us.debian.org/debian/ sid main >> /etc/apt/sour           ces.list
ZapaCloud:~# apt-get update
Ign http://ftp.us.debian.org wheezy InRelease
Get:1 http://ftp.us.debian.org sid InRelease [256 kB]
Get:2 http://ftp.us.debian.org wheezy Release.gpg [2373 B]
Get:3 http://ftp.us.debian.org sid/main Translation-en [5147 kB]
Get:4 http://ftp.us.debian.org wheezy Release [191 kB]
Get:5 http://ftp.us.debian.org sid/main armhf Packages [7576 kB]
Get:6 http://ftp.us.debian.org wheezy/main armhf Packages [5686 kB]
Get:7 http://ftp.us.debian.org wheezy/main Translation-en [3846 kB]
Fetched 22.7 MB in 1min 8s (331 kB/s)
Reading package lists... Done
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: There is no public key available for the following key IDs:
7638D0442B90D010
W: Ignoring Provides line with DepCompareOp for package libjpeg62
W: Ignoring Provides line with DepCompareOp for package php-psr-http-message-implementation
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
ZapaCloud:~# apt-get install qbittorrent-nox
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libgssglue1
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  ca-certificates gcc-5-base geoip-database libboost-system1.58.0 libc-bin libc6 libgcc1
  libgeoip1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0
  libqt4-network libqt4-xml libqtcore4 libqtdbus4 libstdc++6 libtirpc1
  libtorrent-rasterbar8 nfs-common nfs-kernel-server qtcore4-l10n
Suggested packages:
  glibc-doc locales geoip-bin krb5-doc krb5-user libicu52 libthai0
  libtorrent-rasterbar-dbg open-iscsi watchdog qbittorrent-dbg
The following packages will be REMOVED:
  gcc-4.7-base
The following NEW packages will be installed:
  ca-certificates gcc-5-base geoip-database libboost-system1.58.0 libgeoip1
  libqt4-network libqt4-xml libqtcore4 libqtdbus4 libtorrent-rasterbar8 qbittorrent-nox
  qtcore4-l10n
The following packages will be upgraded:
  libc-bin libc6 libgcc1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3
  libkrb5support0 libstdc++6 libtirpc1 nfs-common nfs-kernel-server
12 upgraded, 12 newly installed, 1 to remove and 260 not upgraded.
Need to get 14.7 MB of archives.
After this operation, 22.8 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ftp.us.debian.org/debian/ sid/main libkeyutils1 armhf 1.5.9-8 [11.4 kB]
Get:2 http://ftp.us.debian.org/debian/ sid/main libk5crypto3 armhf 1.13.2+dfsg-2 [111 kB]
Get:3 http://ftp.us.debian.org/debian/ sid/main libgssapi-krb5-2 armhf 1.13.2+dfsg-2 [131 kB]
Get:4 http://ftp.us.debian.org/debian/ sid/main libkrb5support0 armhf 1.13.2+dfsg-2 [55.7 kB]
Get:5 http://ftp.us.debian.org/debian/ sid/main libkrb5-3 armhf 1.13.2+dfsg-2 [264 kB]
Get:6 http://ftp.us.debian.org/debian/ sid/main nfs-kernel-server armhf 1:1.2.8-9 [103 kB]
Get:7 http://ftp.us.debian.org/debian/ sid/main nfs-common armhf 1:1.2.8-9 [189 kB]
Get:8 http://ftp.us.debian.org/debian/ sid/main libtirpc1 armhf 0.2.5-1 [69.9 kB]
Get:9 http://ftp.us.debian.org/debian/ sid/main libc6 armhf 2.19-22 [3946 kB]
Get:10 http://ftp.us.debian.org/debian/ sid/main libc-bin armhf 2.19-22 [1161 kB]
Get:11 http://ftp.us.debian.org/debian/ sid/main gcc-5-base armhf 5.2.1-22 [167 kB]
Get:12 http://ftp.us.debian.org/debian/ sid/main libstdc++6 armhf 5.2.1-22 [339 kB]
Get:13 http://ftp.us.debian.org/debian/ sid/main libgcc1 armhf 1:5.2.1-22 [38.8 kB]
Get:14 http://ftp.us.debian.org/debian/ sid/main libboost-system1.58.0 armhf 1.58.0+dfsg-3.1 [30.3 kB]
Get:15 http://ftp.us.debian.org/debian/ sid/main libgeoip1 armhf 1.6.6-1+b1 [95.9 kB]
Get:16 http://ftp.us.debian.org/debian/ sid/main libtorrent-rasterbar8 armhf 1.0.6-2+b1 [980 kB]
Get:17 http://ftp.us.debian.org/debian/ sid/main ca-certificates all 20150426 [208 kB]
Get:18 http://ftp.us.debian.org/debian/ sid/main geoip-database all 20151008-1 [1526 kB]
Get:19 http://ftp.us.debian.org/debian/ sid/main qtcore4-l10n all 4:4.8.7+dfsg-3 [662 kB]
Get:20 http://ftp.us.debian.org/debian/ sid/main libqtcore4 armhf 4:4.8.7+dfsg-3 [1400 kB]
Get:21 http://ftp.us.debian.org/debian/ sid/main libqt4-xml armhf 4:4.8.7+dfsg-3 [127 kB]
Get:22 http://ftp.us.debian.org/debian/ sid/main libqtdbus4 armhf 4:4.8.7+dfsg-3 [199 kB]
Get:23 http://ftp.us.debian.org/debian/ sid/main libqt4-network armhf 4:4.8.7+dfsg-3 [523 kB]
Get:24 http://ftp.us.debian.org/debian/ sid/main qbittorrent-nox armhf 3.2.3-2 [2368 kB]
Fetched 14.7 MB in 17s (855 kB/s)
Preconfiguring packages ...
dpkg: warning: files list file for package 'libssh2-1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxau6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblockfile1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwrap0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtagc0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libglib2.0-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-port0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpng12-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtalloc2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libevent-2.0-5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libedit2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libldap-2.4-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-client3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgphoto2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1c2a:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblua5.1-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpkcs11-helper1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcre3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsensors4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libx11-6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libnfsidmap2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libbsd0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libavahi-common-data:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libjpeg8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libsasl2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libcurl3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtirpc1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkrb5support0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'librtmp0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpcap0.8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdevmapper1.02.1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexpat1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libltdl7:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libkeyutils1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libreadline5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libantlr3c-3.2-0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libasound2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxcb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtdb1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxpm4:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libtag1-vanilla:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'liblzo2-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libogg0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfontconfig1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libmagic1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libk5crypto3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssglue1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libunistring0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libwbclient0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfuse2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgssapi-krb5-2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libparted0debian1:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libgd2-xpm:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libconfuse0:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libexif12:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libffi5:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libflac8:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libdbus-1-3:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxml2:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libfreetype6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libxdmcp6:armhf' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'libpam-cap:armhf' missing; assuming package has no files currently installed
(Reading database ... 24499 files and directories currently installed.)
Preparing to replace libkeyutils1:armhf 1.5.5-3 (using .../libkeyutils1_1.5.9-8_armhf.deb) ...
Unpacking replacement libkeyutils1:armhf ...
Preparing to replace libk5crypto3:armhf 1.10.1+dfsg-3 (using .../libk5crypto3_1.13.2+dfsg-2_armhf.deb) ...
Unpacking replacement libk5crypto3:armhf ...
Preparing to replace libgssapi-krb5-2:armhf 1.10.1+dfsg-3 (using .../libgssapi-krb5-2_1.13.2+dfsg-2_armhf.deb) ...
Unpacking replacement libgssapi-krb5-2:armhf ...
Preparing to replace libkrb5support0:armhf 1.10.1+dfsg-3 (using .../libkrb5support0_1.13.2+dfsg-2_armhf.deb) ...
Unpacking replacement libkrb5support0:armhf ...
Preparing to replace libkrb5-3:armhf 1.10.1+dfsg-3 (using .../libkrb5-3_1.13.2+dfsg-2_armhf.deb) ...
Unpacking replacement libkrb5-3:armhf ...
Preparing to replace nfs-kernel-server 1:1.2.6-3 (using .../nfs-kernel-server_1%3a1.2.8-9_armhf.deb) ...
Unpacking replacement nfs-kernel-server ...
dpkg: error processing /var/cache/apt/archives/nfs-kernel-server_1%3a1.2.8-9_armhf.deb (--unpack):
 trying to overwrite '/etc/init.d/nfs-kernel-server', which is also in package nfs 01.00.00-107525
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Exporting directories for NFS kernel daemon....
[ ok ] Starting NFS kernel daemon: nfsd mountd.
dpkg: considering deconfiguration of nfs-kernel-server, which would be broken by installation of nfs-common ...
dpkg: yes, will deconfigure nfs-kernel-server (broken by nfs-common)
Preparing to replace nfs-common 1:1.2.6-3 (using .../nfs-common_1%3a1.2.8-9_armhf.deb) ...
De-configuring nfs-kernel-server ...
Unpacking replacement nfs-common ...
dpkg: error processing /var/cache/apt/archives/nfs-common_1%3a1.2.8-9_armhf.deb (--unpack):
 trying to overwrite '/etc/default/nfs-common', which is also in package nfs 01.00.00-107525
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Exporting directories for NFS kernel daemon....
[ ok ] Starting NFS kernel daemon: nfsd mountd.
[ ok ] Stopping NFS common utilities:.
[ ok ] Starting NFS common utilities:.
dpkg: considering deconfiguration of nfs-common, which would be broken by installation of libtirpc1:armhf ...
dpkg: yes, will deconfigure nfs-common (broken by libtirpc1:armhf)
dpkg: considering deconfiguration of nfs-kernel-server, which would be broken by installation of libtirpc1:armhf ...
dpkg: yes, will deconfigure nfs-kernel-server (broken by libtirpc1:armhf)
Preparing to replace libtirpc1:armhf 0.2.2-5 (using .../libtirpc1_0.2.5-1_armhf.deb) ...
De-configuring nfs-kernel-server ...
De-configuring nfs-common ...
Unpacking replacement libtirpc1:armhf ...
Preparing to replace libc6:armhf 2.17-97 (using .../libc6_2.19-22_armhf.deb) ...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6:armhf ...
Processing triggers for libc-bin ...
Processing triggers for man-db ...
/usr/bin/perl: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
dpkg: error processing man-db (--unpack):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 /var/cache/apt/archives/nfs-kernel-server_1%3a1.2.8-9_armhf.deb
 /var/cache/apt/archives/nfs-common_1%3a1.2.8-9_armhf.deb
 man-db
E: Sub-process /usr/bin/dpkg returned an error code (1)
ZapaCloud:~# wget -O /etc/init.d/qbittorrent-nox-daemon http://launchpadlibrarian.net/38905385/qbittorrent
--2015-10-25 03:10:47--  http://launchpadlibrarian.net/38905385/qbittorrent
Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 91.189.89.229, 91.189.89.228
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2527 (2.5K) [text/plain]
Saving to: `/etc/init.d/qbittorrent-nox-daemon'

100%[=================================================>] 2,527       --.-K/s   in 0s

2015-10-25 03:10:47 (38.0 MB/s) - `/etc/init.d/qbittorrent-nox-daemon' saved [2527/2527]

ZapaCloud:~# chmod 755 /etc/init.d/qbittorrent-nox-daemon
chmod: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
ZapaCloud:~# update-rc.d qbittorrent-nox-daemon defaults
/usr/bin/perl: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
ZapaCloud:~# chmod 755 /etc/init.d/qbittorrent-nox-daemon
chmod: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
ZapaCloud:~# update-rc.d qbittorrent-nox-daemon defaults
/usr/bin/perl: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
ZapaCloud:~# mv -f /etc/apt/sources.list.bak /etc/apt/sources.list
mv: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference
ZapaCloud:~# /etc/init.d/qbittorrent-nox-daemon start
-bash: /etc/init.d/qbittorrent-nox-daemon: Permission denied
ZapaCloud:~# sudo /etc/init.d/qbittorrent-nox-daemon start
sudo: relocation error: /lib/arm-linux-gnueabihf/libc.so.6: symbol _dl_find_dso_for_object, version GLIBC_PRIVATE not defined in file ld-linux-armhf.so.3 with link time reference

I keep trying

Things are getting uglier :frowning:

can’t access through winscp or putty anymore. I’m scared

Hmmm…

Your problem is a result of messing around with the /etc/apt/sources.list file and having it point to the sid (unstable) repository!. If you’re going to do that then you are on your own and don’t be surprised by any problems that occur.

You should be able to reset you mycloud by pressing the reset button on the back as described in the manual.

Yes, you are right. I trusted the guide posted at the link but it didn’t say anything about dependencies. Although I know a bit about linux im still a completely noob. Hence the mess.

I tried two 40secs reset. Afther that the light is white during a time (say 20secs) then turns of and on again and repeats the cycle.

Haven’t succeed in gaining access. What can I do? :worried: