Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Ubuntu failed after upgrade from 10.04 to 12.04

  1. #1
    Join Date
    Mar 2011
    Beans
    11

    Question Ubuntu failed after upgrade from 10.04 to 12.04

    Hello,

    I have installed Ubuntu 10.04 (64-Bit) to run with my existing Suse & Win7 partitions.

    It was working fine at the beginning, so I tried to upgrade to 12.04 LTS at first login.

    After some time, it said like this: "process halted because of lot of erros". Then had to restart my computer.

    Now when I start Ubuntu, it doesn't work. It says:

    "disk drive for / is not ready yet or not present.
    Continue to wait, or press S to skip mounting or M for manual recovery"


    I'm completely newby to Linux staff, so any help is apprecaited.

    Thanks in advance!
    Ufuk
    Last edited by ufukeskici; March 16th, 2013 at 11:15 PM.

  2. #2
    Join Date
    Mar 2011
    Beans
    11

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    I have searched the web and tried a solution:
    Code:
    mount -n -o remount,rw /
    dpkg --configure -a
    It worked and now Ubuntu is running.
    But there is a warning on the system bar about package manager.
    When I want to install updates software crashes:
    Code:
    The following packages have unmet dependencies:
    
    ntfs-3g: Depends: libntfs-3g75 but it is not installed
    ubuntu-minimal: Depends: resolvconf but it is not installed
    and wants me to run the following commands:
    Code:
    ufuk@ufuk-ubuntu:~$ apt-get install -f
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    ufuk@ufuk-ubuntu:~$
    How can I fix this issue?
    Last edited by ufukeskici; March 10th, 2013 at 12:35 AM.

  3. #3
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,049
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Go ahead and run:

    Code:
    sudo apt-get install -f
    Post the output or perform the requested actions.

    Clean installs are recommended over in-place upgrades. It sounds like you installed 10.04 and then you immediately tried to install 12.04. Why didn't you just install 12.04 instead? Also, if you didn't perform any upgrades on the 10.04 system, then you might not have a clean base from which to upgrade to 12.04. Just another pitfall of trying to perform an in-place upgrade.
    Last edited by tgalati4; March 10th, 2013 at 12:45 AM.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  4. #4
    Join Date
    Mar 2011
    Beans
    11

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Code:
    ufuk@ufuk-ubuntu:~$ sudo apt-get install -f
    [sudo] password for ufuk: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... Done
    The following packages were automatically installed and are no longer required:
      cups-pk-helper appmenu-gtk openoffice.org-l10n-en-gb
      linux-headers-2.6.32-21-generic appmenu-qt gir1.2-gconf-2.0
      linux-headers-2.6.32-21 appmenu-gtk3 openoffice.org-l10n-common
      gir1.2-panelapplet-4.0
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
      ntfs-3g resolvconf
    The following NEW packages will be installed:
      resolvconf
    The following packages will be upgraded:
      ntfs-3g
    1 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
    1 not fully installed or removed.
    Need to get 0 B/661 kB of archives.
    After this operation, 1,437 kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Preconfiguring packages ...
    (Reading database ... 195863 files and directories currently installed.)
    Unpacking resolvconf (from .../resolvconf_1.63ubuntu16_all.deb) ...
    Preparing to replace ntfs-3g 1:2010.3.6-1ubuntu1 (using .../ntfs-3g_1%3a2012.1.15AR.1-1ubuntu1.2_amd64.deb) ...
    Unpacking replacement ntfs-3g ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    ureadahead will be reprofiled on next reboot
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-3.2.0-38-generic
    Processing triggers for hal ...
    Regenerating hal fdi cache ...
    Setting up resolvconf (1.63ubuntu16) ...
    runlevel:/var/run/utmp: No such file or directory
    resolvconf start/running
    Setting up ubuntu-minimal (1.267.1) ...
    Setting up ntfs-3g (1:2012.1.15AR.1-1ubuntu1.2) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for resolvconf ...
    runlevel:/var/run/utmp: No such file or directory
    Processing triggers for initramfs-tools ...
    update-initramfs: Generating /boot/initrd.img-3.2.0-38-generic
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    is it OK now?

  5. #5
    ibjsb4 is offline Ubuntu addict and loving it
    Join Date
    Sep 2012
    Beans
    4,999

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Looks like it did some good. Will it boot?

  6. #6
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,049
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Code:
    sudo apt-get clean
    sudo apt-get update
    sudo apt-get upgrade
    You will need to perform a few reboots, because there's a lot of new code that needs to be configured and certain packages have to be configured before others, so don't expect stable operation until a few days and a few reboots. Perform the above steps every few days until there are no more updates.

    Every so often, clean out the unused packages:

    Code:
    sudo apt-get autoremove
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  7. #7
    Join Date
    Mar 2011
    Beans
    11

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Quote Originally Posted by ibjsb4 View Post
    Looks like it did some good. Will it boot?
    it boots normally now.


    @tgalati4 thanks for the advices.

  8. #8
    Join Date
    Jan 2010
    Location
    Washington, USA
    Beans
    7
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Hi. Still a newbie here with the same problem. Have enjoyed my Ubuntu journey so far. In this case, I also went from 10.04 to 12.04.

    @ufukeskici- Which commands worked for you? And did you hit 'M' to manually recover to get the command line?

    Thanks in advance for any assistance.

  9. #9
    Join Date
    Mar 2011
    Beans
    11

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    Quote Originally Posted by osbeav View Post
    Hi. Still a newbie here with the same problem. Have enjoyed my Ubuntu journey so far. In this case, I also went from 10.04 to 12.04.

    @ufukeskici- Which commands worked for you? And did you hit 'M' to manually recover to get the command line?

    Thanks in advance for any assistance.
    Yes, please hit "M" button to continue with Ubuntu CLI.

    Then please use these:
    Code:
    mount -n -o remount,rw /
    dpkg --configure -a
    Last edited by ufukeskici; March 13th, 2013 at 03:34 PM.

  10. #10
    Join Date
    Jan 2010
    Location
    Washington, USA
    Beans
    7
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu failed after upgrade from 10.04 to 12.04

    @ufukeskici- Thanks. Can't wait to try this out.

    One more question: what do I do after those commands? Ctrl^d reboots the machine into GRUB. Sorry, still a newbie.

    Thanks again.

Page 1 of 2 12 LastLast

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
  •