Results 1 to 5 of 5

Thread: ushare package installation error

  1. #1
    Join Date
    Oct 2014
    Beans
    6

    ushare package installation error

    Hi. Quick background. I've got a headless box running ubuntu server 18.04 (upgraded from 16.04). I use it for home file storage and media sharing via ushare. I've inherited a newer desktop with an SSD on which I have performed a clean install of ubuntu server 18.04. I'm getting everything set up, but I keep getting an install error when I try to install ushare. I have tried purging, apt-get remove --purge --auto-remove ushare, reboot, and reinstall. Output is:

    Job for ushare.service failed because the control process exited with error code .
    See "systemctl status ushare.service" and "journalctl -xe" for details.
    invoke-rc.d: initscript ushare, action "start" failed.
    ● ushare.service - LSB: uShare
    Loaded: loaded (/etc/init.d/ushare; generated)
    Active: failed (Result: exit-code) since Fri 2018-10-12 14:25:38 UTC; 7ms ago
    Docs: man:systemd-sysv-generator(8)
    Process: 3042 ExecStart=/etc/init.d/ushare start (code=exited, status=2)


    Oct 12 14:25:38 motorsport systemd[1]: Starting LSB: uShare...
    Oct 12 14:25:38 motorsport ushare[3042]: /etc/init.d/ushare: 31: .: Can't open / etc/default/rcS
    Oct 12 14:25:38 motorsport systemd[1]: ushare.service: Control process exited, c ode=exited status=2
    Oct 12 14:25:38 motorsport systemd[1]: ushare.service: Failed with result 'exit- code'.
    Oct 12 14:25:38 motorsport systemd[1]: Failed to start LSB: uShare.
    dpkg: error processing package ushare (--configure):
    installed ushare package post-installation script subprocess returned error exi t status 1
    Processing triggers for libc-bin (2.27-3ubuntu1) ...
    Processing triggers for libgdk-pixbuf2.0-0:amd64 (2.36.11-2) ...
    Processing triggers for ureadahead (0.100.0-20) ...
    Processing triggers for systemd (237-3ubuntu10.3) ...
    Errors were encountered while processing:
    ushare
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Any help here is much appreciated!

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: ushare package installation error

    Is "net-tools" installed?
    as it is needed by /var/lib/dpkg/info/ushare.config
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags | System-info | Forum Guide lines | Arch Linux, Debian Unstable, FreeBSD

  3. #3
    Join Date
    Oct 2014
    Beans
    6

    Re: ushare package installation error

    Yes it is installed

  4. #4
    Join Date
    Oct 2014
    Beans
    6

    Re: ushare package installation error

    Probably not the right way to do it, but I figured it out. I just created /etc/default/rcS and left it blank. Then reinstalled without issue.

  5. #5
    Join Date
    Oct 2014
    Beans
    6

    Re: ushare package installation error

    I also then copied the rcS file contents from my existing server:

    # '0' means always, -1 or 'infinite' disables the feature
    #TMPTIME=0


    # spawn sulogin during boot, continue normal boot if not used in 30 seconds
    #SULOGIN=no


    # do not allow users to log in until the boot has completed
    #DELAYLOGIN=no


    # be more verbose during the boot process
    #VERBOSE=no


    # automatically repair filesystems with inconsistencies during boot
    #FSCKFIX=no

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
  •