Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to upgrade Ubuntu to 18.10 #3664

Closed
imaandrew opened this issue Nov 14, 2018 · 5 comments
Closed

Unable to upgrade Ubuntu to 18.10 #3664

imaandrew opened this issue Nov 14, 2018 · 5 comments

Comments

@imaandrew
Copy link

I'm trying to upgrade ubuntu to 18.10. However, whenever I run sudo do-release-upgrade, it runs for a while and then I get the error:

Your system is unable to reach the snap store, please make sure you're connected to the Internet and update any firewall or proxy settings as needed so that you can reach the snap store

and dpkg: error processing archive /tmp/apt-dpkg-install-sZrp5N/6-lxd_1%3a0.4_all.deb (--unpack): new lxd package pre-installation script subprocess returned error exit status 1

Please fill out the below information:

  • Your Windows build number: Microsoft Windows [Version 10.0.18277.1000]

  • What you're doing and what's happening:

  1. sudo apt update && sudo dist-upgrade
  2. sudo do-release-upgrade
  • What's wrong / what should be happening instead:
    Upgrade completes without error
@therealkenc
Copy link
Collaborator

#2972 #2374

@refack
Copy link

refack commented Dec 1, 2018

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:

sudo dpkg --force depends -P lxd
sudo dpkg --force depends -P lxd-client

Then sudo apt upgrade finishes up the upgrade

@LordMonoxide
Copy link

I tried to run those commands, but before the first one would work, I had to reinstall lxd. When it failed to connect and prompted abort/retry/ok, I selected ok, and then the dkpg commands worked and I was able to apt-get upgrade.

@ambrosektal
Copy link

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:

sudo dpkg --force depends -P lxd
sudo dpkg --force depends -P lxd-client

Then sudo apt upgrade finishes up the upgrade

THANK YOU!

@insidewhy
Copy link

insidewhy commented Apr 6, 2019

  1. sudo apt update && sudo dist-upgrade

Should say sudo apt update && sudo apt dist-upgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants