[RESOLVED] minidlna cant install

  • I am new to this openmediavault, but so far am liking it a lot.
    I have managed to install a torrent client without any issues, but when I try to install the minidlna from the plugins I get the following error.
    I am running version 0.4.27.
    I have tried via ssh
    apt-get update
    apt-get -f install
    apt-get dist-upgrade
    but still get the error


    error below


    Reading package lists...
    Building dependency tree...
    Reading state information...
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 18 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up openmediavault-minidlna (1.0.23-cvs20111203-static-4) ...
    /var/lib/dpkg/info/openmediavault-minidlna.postinst: 85: omv_config_import_user: not found
    dpkg: error processing openmediavault-minidlna (--configure):
    subprocess installed post-installation script returned error exit status 127
    configured to not write apport reports
    Errors were encountered while processing:
    openmediavault-minidlna
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Done ...

    • Offizieller Beitrag

    The plugin you are trying to install is too old. Not sure how you even got that version.


    Try:


    Code
    apt-get remove minidlna openmediavault-minidlna
    wget http://packages.omv-plugins.org/pool/main/m/minidlna/minidlna_1.0.25-2-23~1.gbpdcecf1_i386.deb
    wget http://packages.omv-plugins.org/pool/main/o/openmediavault-minidlna/openmediavault-minidlna_0.4-9~1.gbpa4376d_all.deb
    dpkg -i minidlna_1.0.25-2-23~1.gbpdcecf1_i386.deb
    dpkg -i openmediavault-minidlna_0.4-9~1.gbpa4376d_all.deb

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thanks for this. The plugin was in the plugin list.
    Never mind, I ran your commands and there was an error


    I now have the dlna plugin listed in my web interface, but it cannot be enabled.


    Error #4000:
    exception 'OMVException' with message 'Failed to execute command 'sudo omv-mkconf minidlna 2>&1': update-rc.d: error: no runlevel symlinks to modify, aborting!
    update-rc.d: using dependency based boot sequencing' in /var/www/openmediavault/module/minidlna.inc:74
    Stack trace:
    #0 [internal function]: MiniDLNAModule->updateService(Array, Array, false)
    #1 /usr/share/php/openmediavault/notify.inc(123): call_user_func_array(Array, Array)
    #2 /var/www/openmediavault/rpc/minidlna.inc(201): OMVNotifyDispatcher->notify(8, 'org.openmediava...', Array, Array, false)
    #3 [internal function]: MiniDLNARpc->set(Array)
    #4 /usr/share/php/openmediavault/rpc.inc(265): call_user_func_array(Array, Array)
    #5 /usr/share/php/openmediavault/rpc.inc(98): OMVRpc::exec('MiniDLNA', 'set', Array)
    #6 /var/www/openmediavault/rpc.php(44): OMVJsonRpcServer->handle()
    #7 {main}

  • ssh output
    SSH :
    root@openmediavault:/etc/apt/sources.list.d# apt-get remove minidlna openmediavault-minidlna
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package minidlna is not installed, so not removed
    The following packages will be REMOVED:
    openmediavault-minidlna
    0 upgraded, 0 newly installed, 1 to remove and 18 not upgraded.
    1 not fully installed or removed.
    After this operation, 6,337 kB disk space will be freed.
    Do you want to continue [Y/n]? y
    (Reading database ... 31686 files and directories currently installed.)
    Removing openmediavault-minidlna ...

  • root@openmediavault:/etc/apt/sources.list.d# dpkg -i minidlna_1.0.25-2-23~1.gbpdcecf1_i386.deb
    Selecting previously deselected package minidlna.
    (Reading database ... 31667 files and directories currently installed.)
    Unpacking minidlna (from minidlna_1.0.25-2-23~1.gbpdcecf1_i386.deb) ...
    dpkg: dependency problems prevent configuration of minidlna:
    minidlna depends on libavcodec52 (>= 4:0.5.1-1) | libavcodec-extra-52 (>= 4:0.5.1-1); however:
    Package libavcodec52 is not installed.
    Package libavcodec-extra-52 is not installed.
    minidlna depends on libavformat52 (>= 4:0.5.1-1) | libavformat-extra-52 (>= 4:0.5.1-1); however:
    Package libavformat52 is not installed.
    Package libavformat-extra-52 is not installed.
    minidlna depends on libavutil49 (>= 4:0.5.1-1) | libavutil-extra-49 (>= 4:0.5.1-1); however:
    Package libavutil49 is not installed.
    Package libavutil-extra-49 is not installed.
    dpkg: error processing minidlna (--install):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    minidlna
    root@openmediavault:/etc/apt/sources.list.d# dpkg -i openmediavault-minidlna_0.4-9~1.gbpa4376d_all.deb
    Selecting previously deselected package openmediavault-minidlna.
    (Reading database ... 31676 files and directories currently installed.)
    Unpacking openmediavault-minidlna (from openmediavault-minidlna_0.4-9~1.gbpa4376d_all.deb) ...
    dpkg: dependency problems prevent configuration of openmediavault-minidlna:
    openmediavault-minidlna depends on minidlna (>= 1.0.24); however:
    Package minidlna is not configured yet.
    dpkg: error processing openmediavault-minidlna (--install):
    dependency problems - leaving unconfigured
    Processing triggers for openmediavault ...
    Updating locale files ...
    Errors were encountered while processing:
    openmediavault-minidlna

  • I seem to have solved it. Not entirely sure, but I did the following


    apt-get remove minidlna openmediavault-minidlna
    cd /var/lib/dpkg/info
    rm openmediavault-minidlna*
    apt-get install libavcodec52
    apt-get -f install


    then install the commands as earlier and now it seems to be OK


    Many thanks for you help.

  • If you run into dependency issues apt-get -f install will install all needed dependencies so it is waste of time to do 1 by 1. Also, make sure you run an "apt-get upgrade". I see your system is in need of some upgrades.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!