Results 1 to 4 of 4

Thread: Ubuntu unmet dependencies

  1. #1
    Join Date
    Dec 2015
    Beans
    49

    Exclamation Ubuntu unmet dependencies

    I update to ubuntu 18 from 16 LTS

    And now I get the following errors whenever I update

    Checking connectivity with the snap store
    ==> Installing the LXD snap from the latest track for ubuntu-18.10
    error: cannot perform the following tasks:
    - Run install hook of "lxd" snap if present (run hook "install": /var/lib/snapd not root-owned 1001:1000)
    dpkg: error processing archive /var/cache/apt/archives/lxd_1%3a0.4_all.deb (--unpack):
    new lxd package pre-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/lxd_1%3a0.4_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Ubuntu unmet dependencies

    I am seeing there is a bug report on this issue, though there is no workaround listed, yet. https://bugs.launchpad.net/ubuntu/+s...d/+bug/1807856

    I also found this https://github.com/Microsoft/WSL/issues/3664 with the following text possibly fixing the error;
    For future reference:
    After aborting the do-release-upgrade script I was left with a working system, just had a broken lxd. These two lines fixed that:

    Code:
    sudo dpkg --force depends -P lxd
    sudo dpkg --force depends -P lxd-client
    Then sudo apt upgrade finishes up the upgrade
    This link, https://askubuntu.com/questions/1119...the-snap-store offers the same advice given in the above quote.

    I hope this is helpful.

  3. #3
    Join Date
    Dec 2015
    Beans
    49

    Re: Ubuntu unmet dependencies

    YAY! thanks it worked

  4. #4
    Join Date
    Feb 2010
    Location
    South of the Maple Trees
    Beans
    Hidden!
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: Ubuntu unmet dependencies

    Awesome! That's very good to hear.

    Please click on the Thread Tools dropdown in the upper right to mark this thread as solved.

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
  •