WD MC 분류

WD My Cloud에 MPD 설치하여 음악 재생 머신으로 사용하기 - 1편

컨텐츠 정보

본문

0. 들어가며


마클에 USB사운드카드 꼽고 거기에 스피커 물려서, 마클에 있는 음악을 직접 플레이할 수 있습니다.


플레이 조작은 원격으로 폰이나 컴퓨터로 가능하구요. 


간단하게 카페나 매장에 설치해두고, 폰으로 조작하면 되겠죠. ㅎㅎ


컴퓨터는 켤 필요도 없어지구요.



1. 사운드 관련 커널 추가하기



cd /lib/modules/3.2.26/kernel


위 명령어로 커널폴더로 이동합니다.



wget --no-check-certificate https://www.dropbox.com/s/kmx3uysjf8ix6w4/sound.zip


위 명령어로 커널을 다운 받습니다. (출처 : http://community.wd.com/t5/WD-My-Cloud/WD-My-Cloud-USB-audio-Play-music-Solution/m-p/674239)



WDMyCloud:/lib/modules/3.2.26/kernel# wget --no-check-certificate 


https://www.dropbox.com/s/kmx3uysjf8ix6w4/sound.zip

--2014-02-04 20:10:13--  https://www.dropbox.com/s/kmx3uysjf8ix6w4/sound.zip

Resolving www.dropbox.com (www.dropbox.com)... 108.160.165.20

Connecting to www.dropbox.com (www.dropbox.com)|108.160.165.20|:443... connected.

WARNING: The certificate of `www.dropbox.com' is not trusted.

WARNING: The certificate of `www.dropbox.com' hasn't got a known issuer.

HTTP request sent, awaiting response... 302 FOUND

Location: https://dl.dropboxusercontent.com/s/n65auke10korh0i/sound.zip?


token_hash=AAHPHa9M0FRvA8xGGaW1SzcWvJEgatnsm_SttG2HzA3gew [following]

--2014-02-04 20:10:15--  https://dl.dropboxusercontent.com/s/n65auke10korh0i/sound.zip?


token_hash=AAHPHa9M0FRvA8xGGaW1SzcWvJEgatnsm_SttG2HzA3gew

Resolving dl.dropboxusercontent.com (dl.dropboxusercontent.com)... 107.21.115.150

Connecting to dl.dropboxusercontent.com (dl.dropboxusercontent.com)|107.21.115.150|:443... 


connected.

WARNING: The certificate of `dl.dropboxusercontent.com' is not trusted.

WARNING: The certificate of `dl.dropboxusercontent.com' hasn't got a known issuer.

HTTP request sent, awaiting response... 200 OK

Length: 239138 (234K) [application/zip]

Saving to: `sound.zip'


100%[======================================>] 239,138      156K/s   in 1.5s


2014-02-04 20:10:18 (156 KB/s) - `sound.zip' saved [239138/239138]


WDMyCloud:/lib/modules/3.2.26/kernel#



위와 같이 sound.zip으로 저장됩니다.




unzip sound.zip


위 명령어로 압축을 풉니다.




rm -rf sound.zip


위 명령어로 압축파일을 삭제합니다.




chmod -R 775 /lib/modules/3.2.26/kernel/sound


위 명령어로 커널 폴더 권한 설정을 합니다.




nano /lib/modules/3.2.26/modules.dep


위 명령어로 모듈 설정으로 들어갑니다.



kernel/fs/fat/fat.ko:

kernel/fs/fat/vfat.ko: kernel/fs/fat/fat.ko

kernel/fs/fat/msdos.ko: kernel/fs/fat/fat.ko

kernel/fs/fuse/fuse.ko:

kernel/fs/xfs/xfs.ko:

kernel/crypto/ocf/ocf.ko:

kernel/crypto/ocf/cryptodev.ko: kernel/crypto/ocf/ocf.ko

kernel/crypto/ocf/cryptosoft.ko: kernel/crypto/ocf/ocf.ko

kernel/drivers/scsi/scsi_wait_scan.ko:

kernel/arch/arm/oprofile/oprofile.ko:

kernel/lib/crc-ccitt.ko:

pfe.ko:


위와 같이 있습니다.


바로 밑에



kernel/sound/soundcore.ko:

kernel/sound/usb/snd-usb-audio.ko:

kernel/sound/usb/snd-usbmidi-lib.ko:

kernel/sound/core/snd.ko:

kernel/sound/core/snd-hwdep.ko:

kernel/sound/core/snd-page-alloc.ko:

kernel/sound/core/snd-pcm.ko:

kernel/sound/core/snd-rawmidi.ko:

kernel/sound/core/snd-timer.ko:

kernel/sound/core/seq/snd-seq.ko:

kernel/sound/core/seq/snd-seq-device.ko:

kernel/sound/core/seq/snd-seq-midi.ko:

kernel/sound/core/seq/snd-seq-midi-event.ko:



위 내용을 그대로 붙여 넣습니다.


컨트롤 + O, 엔터, 컨트롤 + X로 저장 후 닫습니다.



depmod -a


modprobe snd-usb-audio


위의 두 명령어로 커널을 적용합니다.




lsmod


위 명령어로 커널이 잘 들어갔는지 확인 가능합니다.



WDMyCloud:/lib/modules/3.2.26/kernel# lsmod

Module                  Size  Used by

snd_usb_audio          91951  0

snd_usbmidi_lib        28710  1 snd_usb_audio

snd_rawmidi            19260  1 snd_usbmidi_lib

snd_seq_device          6344  1 snd_rawmidi

snd_hwdep               5305  1 snd_usb_audio

snd_pcm                75357  1 snd_usb_audio

snd_page_alloc          5991  1 snd_pcm

snd_timer              19038  1 snd_pcm

snd                    49155  7 


snd_timer,snd_pcm,snd_hwdep,snd_seq_device,snd_rawmidi,snd_usbmidi_lib,snd_usb_audio

soundcore               6403  1 snd

ufsd                  577696  0

pfe                   429037  0

fuse                   70569  1

WDMyCloud:/lib/modules/3.2.26/kernel#


위와 같이 나오면 정상입니다.




그리고 부팅 할때마다 적용시키려면 



nano /etc/modules


위 명령어로 들어가서



맨 밑에 


snd-usb-audio


붙여넣고, 컨트롤 + O, 엔터, 컨트롤 + X로 저장 후 닫습니다.




2. 패키지 리스트 업데이트


우선 소스 리스트가 정상인지 확인합니다.


cat /etc/apt/sources.list


위 명령어로 보면


deb http://ftp.us.debian.org/debian/ wheezy main

#deb http://ftp.us.debian.org/debian/ sid main

#deb http://ftp.us.debian.org/debian/ experimental main

#deb-src http://ftp.us.debian.org/debian/ wheezy main



위와 같이 wheezy에만 #이 없는지 확인합니다.


위와 다르다면 



nano /etc/apt/sources.list


위 명령어로 들어가서 다 지우고


deb http://ftp.us.debian.org/debian/ wheezy main

#deb http://ftp.us.debian.org/debian/ sid main

#deb http://ftp.us.debian.org/debian/ experimental main

#deb-src http://ftp.us.debian.org/debian/ wheezy main


위 내용을 붙여넣은 다음, 컨트롤 + O, 엔터, 컨트롤 + X로 저장 후 닫습니다.




apt-get update


위 명령어로 패키지 리스트를 업데이트 합니다.



WDMyCloud:/lib/modules/3.2.26/kernel# apt-get update

Ign http://ftp.us.debian.org wheezy InRelease

Get:1 http://ftp.us.debian.org wheezy Release.gpg [1672 B]

Get:2 http://ftp.us.debian.org wheezy Release [168 kB]

Get:3 http://ftp.us.debian.org wheezy/main armhf Packages [5693 kB]

Get:4 http://ftp.us.debian.org wheezy/main armhf Packages [5693 kB]

Get:5 http://ftp.us.debian.org wheezy/main Translation-en [3852 kB]

Fetched 7845 kB in 5min 40s (23.0 kB/s)

Reading package lists... Done

WDMyCloud:/lib/modules/3.2.26/kernel#



위와 같이 진행됩니다.




3. ALSA 유틸리티 설치하기



apt-get install alsa-utils


위 명령어로 설치합니다.



WDMyCloud:/lib/modules/3.2.26/kernel# apt-get install alsa-utils

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  alsa-base libpci3 libsamplerate0 pciutils

Suggested packages:

  alsa-oss oss-compat

The following NEW packages will be installed:

  alsa-base alsa-utils libpci3 libsamplerate0 pciutils

0 upgraded, 5 newly installed, 0 to remove and 78 not upgraded.

Need to get 2895 kB of archives.

After this operation, 4641 kB of additional disk space will be used.

Do you want to continue [Y/n]? ^C

WDMyCloud:/lib/modules/3.2.26/kernel# apt-get install alsa-utils

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  alsa-base libpci3 libsamplerate0 pciutils

Suggested packages:

  alsa-oss oss-compat

The following NEW packages will be installed:

  alsa-base alsa-utils libpci3 libsamplerate0 pciutils

0 upgraded, 5 newly installed, 0 to remove and 78 not upgraded.

Need to get 2895 kB of archives.

After this operation, 4641 kB of additional disk space will be used.

Do you want to continue [Y/n]? y

Get:1 http://ftp.us.debian.org/debian/ wheezy/main libpci3 armhf 1:3.1.9-6 [51.6 kB]

Get:2 http://ftp.us.debian.org/debian/ wheezy/main alsa-base all 1.0.25+3~deb7u1 [61.1 kB]

Get:3 http://ftp.us.debian.org/debian/ wheezy/main libsamplerate0 armhf 0.1.8-5 [1349 kB]

Get:4 http://ftp.us.debian.org/debian/ wheezy/main pciutils armhf 1:3.1.9-6 [277 kB]

Get:5 http://ftp.us.debian.org/debian/ wheezy/main alsa-utils armhf 1.0.25-4 [1156 kB]

Fetched 2895 kB in 14s (198 kB/s)

Selecting previously unselected package libpci3:armhf.

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 ... 24496 files and directories currently installed.)

Unpacking libpci3:armhf (from .../libpci3_1%3a3.1.9-6_armhf.deb) ...

Selecting previously unselected package alsa-base.

Unpacking alsa-base (from .../alsa-base_1.0.25+3~deb7u1_all.deb) ...

Selecting previously unselected package libsamplerate0:armhf.

Unpacking libsamplerate0:armhf (from .../libsamplerate0_0.1.8-5_armhf.deb) ...

Selecting previously unselected package pciutils.

Unpacking pciutils (from .../pciutils_1%3a3.1.9-6_armhf.deb) ...

Selecting previously unselected package alsa-utils.

Unpacking alsa-utils (from .../alsa-utils_1.0.25-4_armhf.deb) ...

Processing triggers for man-db ...

Setting up libpci3:armhf (1:3.1.9-6) ...

Setting up alsa-base (1.0.25+3~deb7u1) ...

Setting up libsamplerate0:armhf (0.1.8-5) ...

Setting up pciutils (1:3.1.9-6) ...

Setting up alsa-utils (1.0.25-4) ...

Processing triggers for libc-bin ...

WDMyCloud:/lib/modules/3.2.26/kernel#



위와 같이 설치가 됩니다.




4. 소리 출력 테스트


USB 사운드카드가 필요한데요. 


전 초저가형을 사서 달았습니다. (링크 바로가기)



USB 사운드카드를 꼽고 10초 쯤 있다가


cat /proc/asound/cards


위 명령어로 사운드카드를 인식하는지 봅니다.


WDMyCloud:/lib/modules/3.2.26/kernel# cat /proc/asound/cards

 0 [Set            ]: USB-Audio - USB Headphone Set

                      USB Headphone Set at usb-xhci-hcd-1, full speed

WDMyCloud:/lib/modules/3.2.26/kernel#


위와 비슷하게 나오면 인식하는 것입니다.




이때 USB 사운드카드에 이어폰이나 스피커를 연결해둡니다.




FTP로 Public폴더에 음악 넣고



aplay /shares/Public/파일이름.mp3



위와 같은 형식으로 테스트 해봅니다.


이상한 소리가 나와야 정상입니다.



WDMyCloud:/lib/modules/3.2.26/kernel# aplay /shares/Public/red.mp3

Playing raw data '/shares/Public/red.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono

^CAborted by signal Interrupt...

WDMyCloud:/lib/modules/3.2.26/kernel#



그리고 컨트롤+C 누르면 꺼집니다.




혹시 위 명령으로 스피커나 이어폰에서 소리가 안나오거나 에러가 뜬다면



nano /etc/modprobe.d/alsa-base.conf


위 명령어로 들어가서


options snd-usb-audio index=-2



options snd-usb-audio index=0


로 바꾼 후 컨트롤 + O, 엔터, 컨트롤 + X로 저장 후 닫습니다.



reboot


위 명령어로 재부팅합니다.



소리가 잘 나오면 위 작업을 할 필요 없습니다.




4. MPD 설치하기


ALSA가 소리를 나오게 하는 패키지라면, MPD는 음악재생 환경을 만들어주는 패키지라고 보면 됩니다.



apt-get install mpd


위 명령어로 mpd를 설치합니다.



WDMyCloud:/lib/modules/3.2.26/kernel# apt-get install mpd

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following extra packages will be installed:

  ca-certificates libao-common libao4 libasyncns0 libaudiofile1 libavahi-glib1

  libavcodec53 libavformat53 libavutil51 libcurl3-gnutls libdirac-encoder0

  libfaad2 libgsm1 libice6 libid3tag0 libjack-jackd2-0 libjson0 libmad0

  libmikmod2 libmms0 libmp3lame0 libmpcdec6 libopenjpeg2 liborc-0.4-0

  libpulse0 libschroedinger-1.0-0 libshout3 libsm6 libsndfile1 libspeex1

  libtheora0 libva1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx1

  libwavpack1 libx11-xcb1 libx264-123 libxext6 libxi6 libxtst6 libxvidcore4

  x11-common

Suggested packages:

  libaudio2 libesd0 libesd-alsa0 jackd2 pulseaudio-esound-compat oss-compat

  pulseaudio speex avahi-daemon icecast2 mpd-client

The following NEW packages will be installed:

  ca-certificates libao-common libao4 libasyncns0 libaudiofile1 libavahi-glib1

  libavcodec53 libavformat53 libavutil51 libcurl3-gnutls libdirac-encoder0

  libfaad2 libgsm1 libice6 libid3tag0 libjack-jackd2-0 libjson0 libmad0

  libmikmod2 libmms0 libmp3lame0 libmpcdec6 libopenjpeg2 liborc-0.4-0

  libpulse0 libschroedinger-1.0-0 libshout3 libsm6 libsndfile1 libspeex1

  libtheora0 libva1 libvorbis0a libvorbisenc2 libvorbisfile3 libvpx1

  libwavpack1 libx11-xcb1 libx264-123 libxext6 libxi6 libxtst6 libxvidcore4

  mpd x11-common

0 upgraded, 45 newly installed, 0 to remove and 78 not upgraded.

Need to get 9061 kB of archives.

After this operation, 27.1 MB of additional disk space will be used.

Do you want to continue [Y/n]?

Y

.

.

.

ckage 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 ... 24606 files and directories currently installed.)

Unpacking libasyncns0:armhf (from .../libasyncns0_0.8-4+b1_armhf.deb) ...

Selecting previously unselected package libaudiofile1:armhf.

Unpacking libaudiofile1:armhf (from .../libaudiofile1_0.3.4-2_armhf.deb) ...

Selecting previously unselected package libavahi-glib1:armhf.

Unpacking libavahi-glib1:armhf (from .../libavahi-glib1_0.6.31-2_armhf.deb) ...

Selecting previously unselected package libavutil51:armhf.

Unpacking libavutil51:armhf (from .../libavutil51_6%3a0.8.6-1_armhf.deb) ...

Selecting previously unselected package libdirac-encoder0:armhf.

Unpacking libdirac-encoder0:armhf (from .../libdirac-encoder0_1.0.2-6_armhf.deb) ...

Selecting previously unselected package libgsm1:armhf.

Unpacking libgsm1:armhf (from .../libgsm1_1.0.13-4_armhf.deb) ...

Selecting previously unselected package libmp3lame0:armhf.

Unpacking libmp3lame0:armhf (from .../libmp3lame0_3.99.5+repack1-3_armhf.deb) ...

Selecting previously unselected package libopenjpeg2:armhf.

Unpacking libopenjpeg2:armhf (from .../libopenjpeg2_1.3+dfsg-4.7_armhf.deb) ...

Selecting previously unselected package liborc-0.4-0:armhf.

Unpacking liborc-0.4-0:armhf (from .../liborc-0.4-0_1%3a0.4.16-2_armhf.deb) ...

Selecting previously unselected package libschroedinger-1.0-0:armhf.

Unpacking libschroedinger-1.0-0:armhf (from .../libschroedinger-1.0-0_1.0.11-2_armhf.deb) ...

Selecting previously unselected package libspeex1:armhf.

Unpacking libspeex1:armhf (from .../libspeex1_1.2~rc1-7_armhf.deb) ...

Selecting previously unselected package libtheora0:armhf.

Unpacking libtheora0:armhf (from .../libtheora0_1.1.1+dfsg.1-3.1_armhf.deb) ...

Selecting previously unselected package libva1:armhf.

Unpacking libva1:armhf (from .../libva1_1.0.15-4_armhf.deb) ...

Selecting previously unselected package libvorbis0a:armhf.

Unpacking libvorbis0a:armhf (from .../libvorbis0a_1.3.2-1.3_armhf.deb) ...

Selecting previously unselected package libvorbisenc2:armhf.

Unpacking libvorbisenc2:armhf (from .../libvorbisenc2_1.3.2-1.3_armhf.deb) ...

Selecting previously unselected package libvpx1:armhf.

Unpacking libvpx1:armhf (from .../libvpx1_1.1.0-1_armhf.deb) ...

Selecting previously unselected package libx264-123:armhf.

Unpacking libx264-123:armhf (from .../libx264-123_2%3a0.123.2189+git35cf912-1_armhf.deb) ...

Selecting previously unselected package libxvidcore4:armhf.

Unpacking libxvidcore4:armhf (from .../libxvidcore4_2%3a1.3.2-9_armhf.deb) ...

Selecting previously unselected package libavcodec53:armhf.

Unpacking libavcodec53:armhf (from .../libavcodec53_6%3a0.8.6-1_armhf.deb) ...

Selecting previously unselected package libavformat53:armhf.

Unpacking libavformat53:armhf (from .../libavformat53_6%3a0.8.6-1_armhf.deb) ...

Selecting previously unselected package libcurl3-gnutls:armhf.

Unpacking libcurl3-gnutls:armhf (from .../libcurl3-gnutls_7.26.0-1+wheezy6_armhf.deb) ...

Selecting previously unselected package libfaad2:armhf.

Unpacking libfaad2:armhf (from .../libfaad2_2.7-8_armhf.deb) ...

Selecting previously unselected package x11-common.

Unpacking x11-common (from .../x11-common_1%3a7.7+3~deb7u1_all.deb) ...

Selecting previously unselected package libice6:armhf.

Unpacking libice6:armhf (from .../libice6_2%3a1.0.8-2_armhf.deb) ...

Selecting previously unselected package libjack-jackd2-0:armhf.

Unpacking libjack-jackd2-0:armhf (from .../libjack-jackd2-0_1.9.8~dfsg.4+20120529git007cdc37-


5_armhf.deb) ...

Selecting previously unselected package libmikmod2:armhf.

Unpacking libmikmod2:armhf (from .../libmikmod2_3.1.12-5_armhf.deb) ...

Selecting previously unselected package libmms0:armhf.

Unpacking libmms0:armhf (from .../libmms0_0.6.2-3_armhf.deb) ...

Selecting previously unselected package libmpcdec6:armhf.

Unpacking libmpcdec6:armhf (from .../libmpcdec6_2%3a0.1~r459-4_armhf.deb) ...

Selecting previously unselected package libjson0:armhf.

Unpacking libjson0:armhf (from .../libjson0_0.10-1.2_armhf.deb) ...

Selecting previously unselected package libsm6:armhf.

Unpacking libsm6:armhf (from .../libsm6_2%3a1.2.1-2_armhf.deb) ...

Selecting previously unselected package libsndfile1:armhf.

Unpacking libsndfile1:armhf (from .../libsndfile1_1.0.25-5_armhf.deb) ...

Selecting previously unselected package libx11-xcb1:armhf.

Unpacking libx11-xcb1:armhf (from .../libx11-xcb1_2%3a1.5.0-1+deb7u1_armhf.deb) ...

Selecting previously unselected package libxext6:armhf.

Unpacking libxext6:armhf (from .../libxext6_2%3a1.3.1-2+deb7u1_armhf.deb) ...

Selecting previously unselected package libxi6:armhf.

Unpacking libxi6:armhf (from .../libxi6_2%3a1.6.1-1+deb7u1_armhf.deb) ...

Selecting previously unselected package libxtst6:armhf.

Unpacking libxtst6:armhf (from .../libxtst6_2%3a1.2.1-1+deb7u1_armhf.deb) ...

Selecting previously unselected package libpulse0:armhf.

Unpacking libpulse0:armhf (from .../libpulse0_2.0-6.1_armhf.deb) ...

Selecting previously unselected package libshout3:armhf.

Unpacking libshout3:armhf (from .../libshout3_2.2.2-8_armhf.deb) ...

Selecting previously unselected package libvorbisfile3:armhf.

Unpacking libvorbisfile3:armhf (from .../libvorbisfile3_1.3.2-1.3_armhf.deb) ...

Selecting previously unselected package libwavpack1:armhf.

Unpacking libwavpack1:armhf (from .../libwavpack1_4.60.1-3_armhf.deb) ...

Selecting previously unselected package ca-certificates.

Unpacking ca-certificates (from .../ca-certificates_20130119_all.deb) ...

Selecting previously unselected package libao-common.

Unpacking libao-common (from .../libao-common_1.1.0-2_armhf.deb) ...

Selecting previously unselected package libao4.

Unpacking libao4 (from .../libao4_1.1.0-2_armhf.deb) ...

Selecting previously unselected package libid3tag0.

Unpacking libid3tag0 (from .../libid3tag0_0.15.1b-10_armhf.deb) ...

Selecting previously unselected package libmad0.

Unpacking libmad0 (from .../libmad0_0.15.1b-7_armhf.deb) ...

Selecting previously unselected package mpd.

Unpacking mpd (from .../mpd_0.16.7-2+b1_armhf.deb) ...

Processing triggers for man-db ...

Setting up libasyncns0:armhf (0.8-4+b1) ...

Setting up libaudiofile1:armhf (0.3.4-2) ...

Setting up libavahi-glib1:armhf (0.6.31-2) ...

Setting up libavutil51:armhf (6:0.8.6-1) ...

Setting up libdirac-encoder0:armhf (1.0.2-6) ...

Setting up libgsm1:armhf (1.0.13-4) ...

Setting up libmp3lame0:armhf (3.99.5+repack1-3) ...

Setting up libopenjpeg2:armhf (1.3+dfsg-4.7) ...

Setting up liborc-0.4-0:armhf (1:0.4.16-2) ...

Setting up libschroedinger-1.0-0:armhf (1.0.11-2) ...

Setting up libspeex1:armhf (1.2~rc1-7) ...

Setting up libtheora0:armhf (1.1.1+dfsg.1-3.1) ...

Setting up libva1:armhf (1.0.15-4) ...

Setting up libvorbis0a:armhf (1.3.2-1.3) ...

Setting up libvorbisenc2:armhf (1.3.2-1.3) ...

Setting up libvpx1:armhf (1.1.0-1) ...

Setting up libx264-123:armhf (2:0.123.2189+git35cf912-1) ...

Setting up libxvidcore4:armhf (2:1.3.2-9) ...

Setting up libavcodec53:armhf (6:0.8.6-1) ...

Setting up libavformat53:armhf (6:0.8.6-1) ...

Setting up libcurl3-gnutls:armhf (7.26.0-1+wheezy6) ...

Setting up libfaad2:armhf (2.7-8) ...

Setting up x11-common (1:7.7+3~deb7u1) ...

[ ok ] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix.

Setting up libice6:armhf (2:1.0.8-2) ...

Setting up libjack-jackd2-0:armhf (1.9.8~dfsg.4+20120529git007cdc37-5) ...

Setting up libmikmod2:armhf (3.1.12-5) ...

Setting up libmms0:armhf (0.6.2-3) ...

Setting up libmpcdec6:armhf (2:0.1~r459-4) ...

Setting up libjson0:armhf (0.10-1.2) ...

Setting up libsm6:armhf (2:1.2.1-2) ...

Setting up libsndfile1:armhf (1.0.25-5) ...

Setting up libx11-xcb1:armhf (2:1.5.0-1+deb7u1) ...

Setting up libxext6:armhf (2:1.3.1-2+deb7u1) ...

Setting up libxi6:armhf (2:1.6.1-1+deb7u1) ...

Setting up libxtst6:armhf (2:1.2.1-1+deb7u1) ...

Setting up libpulse0:armhf (2.0-6.1) ...

Setting up libshout3:armhf (2.2.2-8) ...

Setting up libvorbisfile3:armhf (1.3.2-1.3) ...

Setting up libwavpack1:armhf (4.60.1-3) ...

Setting up ca-certificates (20130119) ...

Setting up libao-common (1.1.0-2) ...

Setting up libao4 (1.1.0-2) ...

Setting up libid3tag0 (0.15.1b-10) ...

Setting up libmad0 (0.15.1b-7) ...

Setting up mpd (0.16.7-2+b1) ...

[....] Starting Music Player Daemon: mpdFailed to load database: Failed to open database file 


"/var/lib/mpd/tag_cache": No such file or directory

. ok

Processing triggers for libc-bin ...

Processing triggers for ca-certificates ...

Updating certificates in /etc/ssl/certs... 158 added, 0 removed; done.

Running hooks in /etc/ca-certificates/update.d....done.

WDMyCloud:/lib/modules/3.2.26/kernel#



위와 같이 진행됩니다.


Fail이 떠도 무시합니다.



/etc/init.d/mpd stop


위 명령어로 mpd를 정지합니다.




관련자료

  • 서명
    우성짱의 NAS를 운영하고 있습니다.

    저의 즐거움이 여러분의 즐거움이면 좋겠습니다.

댓글 8개 / 1페이지

Jei Minkei님의 댓글

안녕하세요. Wdmc사고선 눈팅으로 많은 도움이 되었습니다. 여기서나마 감사인사 드립니다.
감사인사와 함께 묻어가는 이기적인 질문인데 gd때문에 php를 jessie로 깔았습니다.
그후에 mpd를 깔게 되면 벽돌이 되는데 (물리적 복구를 하도 해봐서 걱정도 안됩니다.)
위에 소스리스트 에서 deb http://ftp.us.debian.org/debian/ wheezy main 이부분이 걸리는 것 같습니다.
wheezy 부분을 jessie로 바꾸면 괜찮을까요?

Jei Minkei님의 댓글

일단 실패입니다. Wheezy-backports에선 mpd가 설치조차 되질 않네요. H5ai의 썸네일을 포기할수 없어 mpd를 포기하기로 했습니다. 이것저것 해보며 많은것을 배웠네요 ^^ 감사합니다.

우성군님의 댓글의 댓글

헐 그렇군요. 모든 걸 만족시키기 어렵나봅니다.

복구 능력이 된다면 순정 데비안도 도전해보세요.

다 될거예요.
Total 99 / 5 Page
RSS
WD My Cloud에 rtorrent + rutorrent 설치하기 댓글 47

WD MC 0. 펌웨어 버전 확인하기해당 강좌는 WDMyCloud v03.04.01-230 이하 버전에서만 정상 작동합니다.v04.xx.xx-xxx 이상 …

WD My Book Live에서 MMS프로토콜 라디오 녹음하기

WD MBL 1. 라디오가 저장 될 폴더 생성임의로 radio라는 폴더로 admin만 접근 가능하게 생성하였습니다.이후 과정은 마이 클라우드의 그것과 거의 …

WD My Cloud로 MMS프로토콜 라디오 녹음하기

WD MC 1. 들어가며http://cafe.naver.com/pogolinux/1282위 링크의 강좌 내용과 거의 동일합니다.마이 클라우드에 맞게 /de…

WD My Cloud에 MPD 설치하여 음악 재생 머신으로 사용하기 - 2편 댓글 12

WD MC 5. MPD 설정 수정하기본격적으로 수정하기 전에MC에서 USB사운드카드를 어떤 번호로 인식하는지 알아야 합니다.aplay -l위 명령어로 알 …

WD My Cloud에 MPD 설치하여 음악 재생 머신으로 사용하기 - 1편 댓글 8

WD MC 0. 들어가며마클에 USB사운드카드 꼽고 거기에 스피커 물려서, 마클에 있는 음악을 직접 플레이할 수 있습니다.플레이 조작은 원격으로 폰이나 컴…

WD My Book Live에 SMI 자막 인식하는 minidlna 설치하기 댓글 14

WD MBL 1. 들어가며MBL에 깔려 있는 DLNA 미디어 서버는 구형스마트TV에서 SMI 자막 파일을 인식할 수 없습니다.최신 스마트TV에서만 SMI 파…

최근글


새댓글


알림 0