Results 1 to 10 of 15

Thread: Upgrading from 14.04 to 15.10 and wont finish

Hybrid View

  1. #1
    Join Date
    May 2008
    Beans
    9

    Upgrading from 14.04 to 15.10 and wont finish

    After apt-get upgrade was running it froze on "Setting up keyboard-configuration" I checked error logs, dpkg.log had:
    2016-03-12 12:30:42 startup packages configure
    2016-03-12 12:30:42 configure keyboard-configuration:all 1.108ubuntu9 <none>
    2016-03-12 12:30:42 status half-configured keyboard-configuration:all 1.108ubuntu9
    I can't figure out why it's not finishing or what to do. Any ideas?

  2. #2
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Upgrading from 14.04 to 15.10 and wont finish

    What state is the installation in now? If the upgrade has not finished, have you shut down and re-started? Or, do you still have an incomplete upgrade that is still frozen?

    What you do will all depend on what you have already done. If you have backed up your data then you have a little less worry if a restart ends up with a completely unusable system.

    If the restart loads to any kind of working desktop environment we can run

    Code:
    sudo apt-get update
    sudo apt-get upgrade
    sudo apt-get dist-upgrade
    And that might finish the upgrade. We can also at the boot menu select Advanced options for Ubuntu and then select recovery mode. At the recovery menu we can select Network to set up an internet connection and then select Root shell prompt and then run

    Code:
    apt-get update
    apt-get upgrade
    apt-get dist-upgrade
    To get back to the recovery menu we type enter and then we can select Resume and see if that gets us to a working desktop. There is one more thing we can do. We can prepare ourselves for the last resort of a fresh install.

    Regards.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


  3. #3
    Join Date
    May 2008
    Beans
    9

    Re: Upgrading from 14.04 to 15.10 and wont finish

    I upgraded via the recommended upgrade popup. So via the package manager i assume. I'm able to boot into 15.10 but I'm not able to manage my packages since it didn't finish configuring a few packages (the keyboard is the one getting stuck).

  4. #4
    Join Date
    Apr 2008
    Beans
    11,567

    Re: Upgrading from 14.04 to 15.10 and wont finish

    Try:

    Code:
    sudo dpkg-reconfigure keyboard-configuration

  5. #5
    Join Date
    May 2008
    Beans
    9

    Re: Upgrading from 14.04 to 15.10 and wont finish

    I'm getting
    Code:
    /usr/sbin/dpkg-reconfigure: keyboard-configuration is broken or not fully installed

  6. #6
    Join Date
    Apr 2008
    Beans
    11,567

    Re: Upgrading from 14.04 to 15.10 and wont finish

    OK, you're going to have to try some things and be sure to post back here any errors. It may also be neccessary to repeat any number of these commands in no specific order. To start:

    Code:
    sudo apt-get update
    Next we'll try --fix-broken and/or --fix-missing suffixes which can be used both with dist-upgrade or with a specific package like:

    Code:
    sudo apt-get install keyboard-configuration --fix-missing
    Or:

    Code:
    sudo apt-get install keyboard-configuration --fix-broken
    Or with dist-upgrade like:

    Code:
    sudo apt-get dist-upgrade --fix-missing
    Or:

    Code:
    sudo apt-get dist-upgrade --fix-broken
    A lesser used, and seldom helpful suffix is --ignore-missing. But it's seldom helpful although once in a while it can break a log jam long enough to get other packages installed and/or upgraded.

    Another helpful command is:

    Code:
    sudo dpkg --configure -a
    And yet another is:

    Code:
    sudo apt-get -f install
    And, as I already said, you may need to repeat any of those in no specific order. If apt-get update shows any errors at all that will prevent you from going any further so let us know.

  7. #7
    Join Date
    Apr 2008
    Beans
    11,567

    Re: Upgrading from 14.04 to 15.10 and wont finish

    What method did you use to upgrade?

  8. #8
    Join Date
    Apr 2008
    Beans
    11,567

    Re: Upgrading from 14.04 to 15.10 and wont finish


  9. #9
    Join Date
    Jul 2008
    Beans
    2,825

    Re: Upgrading from 14.04 to 15.10 and wont finish

    Code:
    sudo apt-get update
    This is what kansasnoob suggested.

  10. #10
    Join Date
    Apr 2008
    Beans
    11,567

    Re: Upgrading from 14.04 to 15.10 and wont finish

    Quote Originally Posted by sammiev View Post
    Code:
    sudo apt-get update
    This is what kansasnoob suggested.
    +1! I'd listed it first in my post #8 because if that shows any errors at all then we need to find out why. Basically if the software cache can't update properly then we can't expect any other package transaction to work properly.

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
  •