Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem installing moOde 4.1
#1
Hi, I have a problem installing the latest version of moode. At stage 6, I keep getting this error (I rebooted ten times):

Code:
////////////////////////////////////////////////////////////////
//
// STEP 6 - Compile and install MPD
//
////////////////////////////////////////////////////////////////

** Create MPD runtime environment
useradd: user 'mpd' already exists
mkdir: cannot create directory ‘/var/lib/mpd’: File exists
mkdir: cannot create directory ‘/var/lib/mpd/music’: File exists
mkdir: cannot create directory ‘/var/lib/mpd/playlists’: File exists
mkdir: cannot create directory ‘/var/log/mpd’: File exists
** Install MPD devlibs
Reading package lists...
Building dependency tree...
Reading state information...
libavahi-client-dev is already the newest version (0.6.32-2).
libboost-dev is already the newest version (1.62.0.1+b4).
libcdio-paranoia-dev is already the newest version (0.83-4.3).
libcurl4-gnutls-dev is already the newest version (7.52.1-5+deb9u5).
libfaad-dev is already the newest version (2.8.0~cvs20161113-1).
libflac-dev is already the newest version (1.3.2-1).
libglib2.0-dev is already the newest version (2.50.3-2).
libicu-dev is already the newest version (57.1-6+deb9u2).
libid3tag0-dev is already the newest version (0.15.1b-12).
libiso9660-dev is already the newest version (0.83-4.3).
libmad0-dev is already the newest version (0.15.1b-8).
libmp3lame-dev is already the newest version (3.99.5+repack1-9).
libmpdclient-dev is already the newest version (2.9-1).
libmpg123-dev is already the newest version (1.23.8-1).
libshout3-dev is already the newest version (2.3.1-3).
libsoxr-dev is already the newest version (0.1.2-2).
libsystemd-dev is already the newest version (232-25+deb9u2).
libvorbis-dev is already the newest version (1.3.5-4+deb9u2).
libwavpack-dev is already the newest version (5.0.0-2+deb9u1).
libwrap0-dev is already the newest version (7.6.q-26).
libyajl-dev is already the newest version (2.1.0-2).
libasound2-dev is already the newest version (1.1.3-5+rpi3).
libavcodec-dev is already the newest version (7:3.2.10-1~deb9u1+rpt1).
libavformat-dev is already the newest version (7:3.2.10-1~deb9u1+rpt1).
The following packages were automatically installed and are no longer required:
 lxkeymap python-cairo python-gobject python-gobject-2 python-gtk2
 python-xklavier
Use 'apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
** Install pre-compiled binary
** Cleanup
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
 lxkeymap python-cairo python-gobject python-gobject-2 python-gtk2
 python-xklavier
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 4,261 kB disk space will be freed.
Do you want to continue? [Y/n] Abort.
** Error: Autoremove failed
** Error: image build exited
** Error: reboot to resume the build

I'm running the script on this build of raspbian:
http://downloads.raspberrypi.org/raspbia...018-03-14/

Is that ok? Where I'm doing wrong? Thanks!
Reply
#2
Hi,

Try editing ./mosbuild/mosbuild_worker.sh

- locate STEP 6 section
- add -y after apt-get in the 2 occurrences of the code block below (apt-get -y autoremove)
OR
- comment out the 2 occurrences of the code block below

Code:
        DEBIAN_FRONTEND=noninteractive apt-get autoremove
        if [ $? -ne 0 ] ; then
            cancelBuild "** Error: Autoremove failed"
        fi

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(04-30-2018, 02:49 PM)Tim Curtis Wrote: Hi,

Try editing ./mosbuild/mosbuild_worker.sh

- locate STEP 6 section
- add -y after apt-get in the 2 occurrences of the code block below (apt-get -y autoremove)
OR
- comment out the 2 occurrences of the code block below

Code:
        DEBIAN_FRONTEND=noninteractive apt-get autoremove
        if [ $? -ne 0 ] ; then
            cancelBuild "** Error: Autoremove failed"
        fi

-Tim

Uh ok, this worked, thanks! I read that someone here used the latest version of raspbian so I used it too and everything went fine; excellent build this one by the way!
Reply
#4
Did you just add -y or did you comment out?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: