[RESOVLED] E: Sub-process /usr/bin/dpkg error code (1)

  • Newb to Linux here and getting very frustrated. I had OMV all set up and running SAB, Sickbeard and Couch Potato with a Greyhole pool and tried to set up Headphones, as it looked useful. After it upgraded to the latest version the Apply bar is yellow and clicking on Apply just generates an error. I also can't get the Sickbeard web interface to load either, don't know uf that is just coincidence or is linked.


    I have run the command to remove headphones and get the following output



    Ran re-install


    Code
    root@OMV:~# apt-get install openmediavault-headphones
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    openmediavault-headphones is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


    So it seems the uninstall is not working


    In webgui I have the yellow apply bar which won’t go away. When I click Apply I get error



    Failed to execute command 'export LANG=C; invoke-rc.d 'headphones' stop 2>&1': Stopping headphones No process in pidfile '/var/run/headphones.pid' found running; none killed. invoke-rc.d: initscript headphones, action "stop" failed.


    Details shown below



    There are now 2 entries for Headphones in Services on the web gui 


    I hope someone can help as this is driving me crazy.

  • Try:


    Code
    apt-get remove --purge openmediavault-headphones
    apt-get install openmediavault-headphones


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Tried that and still got an error:




    Code
    root@OMV:~# apt-get install openmediavault-headphones
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    openmediavault-headphones is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@OMV:~#
  • Whats the output of:


    Code
    apt-get install -f
    dpkg --configure -a


    Greetings
    David


    PS: Please post the output into codeboxes.

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • Code
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@OMV:~#


    The second command seems to do nothing

    Code
    root@OMV:~# dpkg --configure -a
    root@OMV:~#


    Didn't know how to do code boxes, switched from quick reply and there it is lol. Thanks for the help

  • Code
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@OMV:~#


    The second command seems to do nothing

    Code
    root@OMV:~# dpkg --configure -a
    root@OMV:~#


    Didn't know how to do code boxes, switched from quick reply and there it is lol. Thanks for the help

  • OK trying again


    Code
    root@OMV:~# apt-get clean
    root@OMV:~#


    Code
    root@OMV:~# apt-get install openmediavault-headphones
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    openmediavault-headphones is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    root@OMV:~#
  • OK I did that and got the following output. Went into the webgui and clicked update in the yellow bar and it completed with no errors.
    I don't think I'll risk enabling or uninstalling Headphones again. Don't really need it but it's doing no harm sitting there. Maybe when I can get some kind of backup and restore working I'll have another go


    Thanks a lot for that you saved my sanity. Only problem I have now is no web interface for Sickbeard, it just says "This webpage not available". It was working fine before I enabled Headphones


    Thanks again for the help, you really know your stuff :)


  • pkexec gedit / var / lib / dpkg / status
    Find the damaging package by name and delete its entry.
    Save the file and exit gedit.
    run sudo dpkg - configure -a
    run sudo apt-get -f install just in case.
    Continue if there are no errors.


    dpkg: libc-bin error handling package (--configure)
    Unable to install GitKraken
    dpkg: - dry-run doesn't check dependency?
    Unmet Dependencies immediately after installing VLC
    How to downgrade a package with dpkg
    Help: "aptd" maximizes my processor?
    Why does dpkg give the “Broken pipe” error when installing the update?
    How can I back up packages from an installation that I am not currently downloading
    I can not get dwww for work - does not get 404 not found
    Fixed update - dpkg hangs on "Initial Braille Device Support"
    essay service https://theessayservice.org/udev / dpkg error
    Error updating sudo apt on a persistent download (ubuntu 16.04 LTS)


    You are welcome!

Jetzt mitmachen!

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