Results 1 to 5 of 5

Thread: mpd daemon asks libx11

  1. #1
    Join Date
    Mar 2012
    Beans
    15

    Red face mpd daemon asks libx11

    I am a linux newbie so please have patience with me!
    I built a ubuntu headless machine as a downloader and media server from hardy. apache2, mysql, sqlite3, mt-daapd, mediatomb, webmin, pyload, transmission. I was not keen on installing extra dependencies to keep the installation small but then I saw mpd and decided to install it but the apt-get install command shows that i also have to libx11 and some dependencies. Could anyone tell me why even though it is not listed in mpd dependencies.
    Thanks

  2. #2
    Join Date
    Nov 2010
    Location
    India
    Beans
    Hidden!

    Re: mpd daemon asks libx11

    https://help.ubuntu.com/community/InstallingSoftware

    in that read "Package Dependencies"

    and you wanna install it now do as
    Code:
    sudo apt-get install -f
    Dont miss anything even it is small. one small pin is enough to bring down a man.


  3. #3
    Join Date
    Mar 2012
    Beans
    15

    Unhappy Re: mpd daemon asks libx11

    Quote Originally Posted by raja.genupula View Post
    https://help.ubuntu.com/community/InstallingSoftware

    in that read "Package Dependencies"

    and you wanna install it now do as
    Code:
    sudo apt-get install -f
    OK! but you see x11 is not a dependency or should not be:
    http://packages.ubuntu.com/hardy/mpd
    also see:
    http://mpd.wikia.com/wiki/Dependencies

    also after a lot of search i found a link for workaround in gentoo,
    http://www.linuxquestions.org/questi...encies-333991/
    any hope in ubuntu? thanks a lot!

  4. #4
    Join Date
    Feb 2009
    Location
    Dallas, TX
    Beans
    7,790
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: mpd daemon asks libx11

    Hi superbike.

    I was curious and tried a simulate install of mpd in my home server. This is what I got:
    Code:
    sudo apt-get -s install mpd
    [sudo] password for ...: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      libao2 libasound2 libaudiofile0 libavcodec52 libavformat52 libavutil49 libcue1 libfaad2 libflac8 libgsm1 libice6 libid3tag0 libjack0 libmad0 libmms0
      libmpcdec3 libogg0 liboil0.3 libpulse0 libresid-builder0c2a libsamplerate0 libschroedinger-1.0-0 libshout3 libsidplay2 libsm6 libsndfile1 libspeex1
      libtheora0 libvorbis0a libvorbisenc2 libvorbisfile3 libwavpack1 libxi6 libxtst6
    Suggested packages:
      libaudio2 libesd0 libesd-alsa0 libasound2-plugins jackd pulseaudio speex mpd-client icecast2
    The following NEW packages will be installed:
      libao2 libasound2 libaudiofile0 libavcodec52 libavformat52 libavutil49 libcue1 libfaad2 libflac8 libgsm1 libice6 libid3tag0 libjack0 libmad0 libmms0
      libmpcdec3 libogg0 liboil0.3 libpulse0 libresid-builder0c2a libsamplerate0 libschroedinger-1.0-0 libshout3 libsidplay2 libsm6 libsndfile1 libspeex1
      libtheora0 libvorbis0a libvorbisenc2 libvorbisfile3 libwavpack1 libxi6 libxtst6 mpd
    ...
    You are kind of right! I wonder why that be?

    There are 2 X11 libraries as dependencies: libxi6 libxtst6. Here's more information about them:
    Code:
    apt-cache search libxtst6
    libxtst6 - X11 Testing -- Resource extension library
    
    apt-cache search libxi6
    libxi6 - X11 Input extension library
    As you, my first reaction was surprise. However, note that you are not installing the whole X Windows system, but just a couple of libraries. As a test, check how long the list libraries that Xorg would install:
    Code:
    sudo apt-get -s install xorg
    Just some thoughts.
    Regards.

  5. #5
    Join Date
    Mar 2012
    Beans
    15

    Re: mpd daemon asks libx11

    Quote Originally Posted by papibe View Post
    Hi superbike.

    I was curious and tried a simulate install of mpd in my home server. This is what I got: .....
    Here is my output:

    Code:
    apt-get install mpd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
      libao2 libasound2 libaudiofile0 libcue1 libfaad2 libice6 libjack0 libmad0 libmms0 libmpcdec3 libpulse0 libresid-builder0c2a libsamplerate0 libshout3 libsidplay2 libsm6 libsndfile1 libwavpack1 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxtst6 x11-common
    Suggested packages:
      libaudio2 libesd0 libesd-alsa0 libasound2-plugins jackd pulseaudio mpd-client icecast2
    The following NEW packages will be installed:
      libao2 libasound2 libaudiofile0 libcue1 libfaad2 libice6 libjack0 libmad0 libmms0 libmpcdec3 libpulse0 libresid-builder0c2a libsamplerate0 libshout3 libsidplay2 libsm6 libsndfile1 libwavpack1 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxext6 libxi6 libxtst6 mpd x11-common
    0 upgraded, 28 newly installed, 0 to remove and 67 not upgraded.
    Need to get 4875kB of archives.
    After this operation, 12.8MB of additional disk space will be used.
    Do you want to continue [Y/n]
    But the problem is not just with installing the X but what bothers me is that graphics system is being asked for by a gui-less audio player!.

    I will have to take up source codes for light reading.
    every single package sends the size of the installation funnily high ... i wonder what the reason could be.
    i started with an absolute stripped down version 380mb and only with the above declared packages mt-daapd et al it now is above
    1gig. (will try with a stripped down fedora).
    Last edited by superbike; March 16th, 2012 at 12:19 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •