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

Thread: Ubunu Crashed

  1. #1

    Exclamation Ubunu Crashed

    Hi,

    Last night I was trying to install a software and it gives error about conflicting packages. I read on some forum to make:

    Code:
    sudo apt-get -f install
    Once I issued this command it asked me (Yes, do as I want!). And I typed it and it started removing too many packages including some basic packages! I stopped the command before finishing by closing the terminal.

    The system is crashed now, I can not access my Ubuntu. When I select it in boot menu I only see the pink window with the word Ubuntu and the dots under it.

    Any idea how to fix it?

    Regards,
    Be a Bee...Work Like Me

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

    Re: Ubunu Crashed

    That command is the correct one to use to fix broken packages or if a package has unmet dependences. The command may have been removing basic packages that relied upon libraries that would have been in conflict with the libraries used by the new software. The mistake was to stop it while it was working.

    Can you access the Grub menu? You can try selecting an older kernel and see if that get you to a desktop. Other than that I suggest a bit more complicated method.

    1) Select Recovery method.
    2) At the Recovery menu select Failsafe.
    3) Press Esc to back out of Failsafe.
    4) Select Root. That will bring you to a root shell prompt.

    Selecting Root will get you to a root prompt but the file system will be in write only mode. By going into failsafe the file system gets put into read/write mode. which is what you need to make changes (update) the file system. This is why I suggest go into failsafe first.

    At the root shell prompt run these commands one after the other and re-boot and see what happens.

    Code:
    sudo apt-get update
    Code:
    sudo apt-get upgrade
    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

    Re: Ubunu Crashed

    Thanks for your reply. I found out that I can not access the shell. When I select recovery mode, it start printing some stuff on the screen and the it stops and I can not do anything.

    How can I access a shell. I tried ctl+alt+F1 does not work either.
    Be a Bee...Work Like Me

  4. #4
    Join Date
    Feb 2008
    Location
    ɹǝpun uʍop
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Ubunu Crashed

    Quote Originally Posted by Ibrahim mufeed View Post
    I tried ctl+alt+F1 does not work either.
    ... is required from a desktop. Won't get you far in this situation ...

    Try hitting F5 up. You need 'Alt' with that anyhow, from memory.

  5. #5

    Re: Ubunu Crashed

    Guys, I tried eveything.. still can not access the shell!!! I tried everything, but nothing is working.
    Be a Bee...Work Like Me

  6. #6
    Join Date
    Feb 2008
    Location
    ɹǝpun uʍop
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Ubunu Crashed

    Maybe try booting from the LiveCD, or whatever you installed with. That should give you full access. You will find a terminal there and we can dig deeper ...

  7. #7

    Re: Ubunu Crashed

    Quote Originally Posted by Bucky Ball View Post
    Maybe try booting from the LiveCD, or whatever you installed with. That should give you full access. You will find a terminal there and we can dig deeper ...
    I booted using sub. now i am using ubuntu from usb and can access the hard drive but i don't know what to do fix my system. Any suggestion?
    Be a Bee...Work Like Me

  8. #8

    Re: Ubunu Crashed

    How can I change root chroot into the installed system?
    Be a Bee...Work Like Me

  9. #9

    Re: Ubunu Crashed

    I am following the steps in this blog:
    but when I issue:
    sudo chroot /mnt/temp
    I got:
    chroot: failed to run command `/bin/bash': No such file or directory
    Any idea?
    Be a Bee...Work Like Me

  10. #10

    Re: Ubunu Crashed

    I made the chroot command by after this command:
    cp -r /bin /lib /mnt/temp
    and it worked.
    Now when I do anything with apt-get, I get:
    apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12)
    apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12)
    apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/x86_64-linux-gnu/libstdc++.so.6)
    Ideas?!
    Be a Bee...Work Like Me

Page 1 of 2 12 LastLast

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
  •