Results 1 to 9 of 9

Thread: Crash during upgrade

  1. #1
    Join Date
    Sep 2009
    Beans
    35

    Crash during upgrade

    I went to distro upgrade from karmic to lucid. All the packages were downloaded and it started to install (4 packages made to update). In the same time my pc restarted (with my faulth, an accident). Now when i want to continue with the upgrade process, i get this error:

    Code:
    1. Not all updates can be installed
    2. Broken packages (
    Your system contains broken packages that couldn't be fixed with this software. Please fix them first using synaptic or apt-get before proceeding.)
    When typed apt-get dist-upgrade in terminal, i receive this:
    Code:
    root@stefan-desktop:/home/stefan# apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    You might want to run `apt-get -f install' to correct these.
    The following packages have unmet dependencies:
      gnome-power-manager: Depends: devicekit-power (>= 011) but it is not installable
      indicator-session: Depends: devicekit-power but it is not installable
      ubuntu-desktop: Depends: usplash but it is not installed
      usplash-theme-ubuntu: Depends: usplash (>= 0.5.30) but it is not installed
    E: Unmet dependencies. Try using -f.
    Also tried apt-get dist-upgrade -f:
    Code:
    root@stefan-desktop:/home/stefan# apt-get dist-upgrade -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies:
      gnome-power-manager: Depends: devicekit-power (>= 011) but it is not installable
      indicator-session: Depends: devicekit-power but it is not installable
      ubuntu-desktop: Depends: usplash but it is not installed
      usplash-theme-ubuntu: Depends: usplash (>= 0.5.30) but it is not installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    How to upgrade the sistem ?

  2. #2
    Join Date
    Feb 2008
    Beans
    5,055
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Crash during upgrade

    If it were me, I would back up all my data and do a clean install.

  3. #3
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: Crash during upgrade

    You need to resolve the dependency issues before trying the upgrade again. So try

    Code:
    sudo apt-get install -f
    Code:
    sudo dpkg --configure -a
    If these are successful, try the dist-upgrade again. Otherwise post the output of the above commands.

  4. #4
    Join Date
    Sep 2009
    Beans
    35

    Re: Crash during upgrade

    Quote Originally Posted by sikander3786 View Post
    You need to resolve the dependency issues before trying the upgrade again. So try

    Code:
    sudo apt-get install -f
    Code:
    sudo dpkg --configure -a
    If these are successful, try the dist-upgrade again. Otherwise post the output of the above commands.
    Output of apt-get install -f:
    Code:
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies:
      gnome-power-manager: Depends: devicekit-power (>= 011) but it is not installable
      indicator-session: Depends: devicekit-power but it is not installable
      ubuntu-desktop: Depends: usplash but it is not installed
      usplash-theme-ubuntu: Depends: usplash (>= 0.5.30) but it is not installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies
    dpkg --configure -a:
    Code:
    dpkg: error processing libsdl1.2debian (--configure):
     Package is in a very bad inconsistent state - you should
     reinstall it before attempting configuration.
    Errors were encountered while processing:
     libsdl1.2debian

  5. #5
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

    Re: Crash during upgrade

    Ok try,

    Code:
    sudo aptitude reinstall libsdl1.2debian
    Code:
    sudo aptitude install -f

  6. #6
    Join Date
    Sep 2009
    Beans
    35

    Re: Crash during upgrade

    Quote Originally Posted by sikander3786 View Post
    Ok try,

    Code:
    sudo aptitude reinstall libsdl1.2debian
    Code:
    sudo aptitude install -f
    The result is little bit ling:
    Code:
    http://paste.ubuntu.com/529434/

  7. #7
    Join Date
    Apr 2009
    Location
    Rawalpindi, Pakistan
    Beans
    5,666
    Distro
    Ubuntu Gnome Development Release

  8. #8
    Join Date
    Sep 2009
    Beans
    35

    Re: Crash during upgrade

    Nothing again. But dpkg --configure -a gave this results :
    Code:
    dpkg: error processing libsdl1.2debian (--configure):
     Package is in a very bad inconsistent state - you should
     reinstall it before attempting configuration.
    Errors were encountered while processing:
     libsdl1.2debian
    Is there any way how to install this without the apt-get method ?

  9. #9
    Join Date
    Dec 2009
    Location
    Southern Maryland
    Beans
    1,575
    Distro
    Ubuntu

    Re: Crash during upgrade

    With your system borked the way it is I doubt you will fix it outside of the terminal and going step by step until you resolve the issues. However, you may be able to search Synaptic for each file, as long as Synaptic is working, and search/install each of them as you go through the process. Terminal is much faster if you can just cut/paste what is typed there for you by users helping.

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
  •