Results 1 to 8 of 8

Thread: Need help reinstalling Unity (Uninstalled by accident)

  1. #1
    Join Date
    Jun 2011
    Beans
    25

    Need help reinstalling Unity (Uninstalled by accident)

    I was learning Terminal codes and to practice wanted to uninstall compiz (CCSM). I was stupid and put 'compiz' as the program into the terminal. I hadnt realized what I had done until I restarted.

    I have no UI when logging into my Ubuntu 11.10. There is a terminal box. I tried installing unity again using the code but it is unable to fetch the archives, or something along that line.

    Can anyone help me get Unity back?

  2. #2
    Join Date
    Jun 2007
    Location
    Minneapolis, MN
    Beans
    749
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Need help reinstalling Unity (Uninstalled by accident)

    try:
    Code:
    sudo apt-get install ubuntu-desktop
    Moderation in all things; including moderation.

  3. #3
    Join Date
    Jun 2011
    Beans
    25

    Re: Need help reinstalling Unity (Uninstalled by accident)

    I used
    Code:
    dpkg -l | grep compiz
    to confirm that I do not have compiz.

    I tried
    Code:
    unity --replace
    as well as
    Code:
    unity --reset
    Both informed me that unity is not installed.

    When I try
    Code:
    sudo apt-get install compiz
    or
    Code:
    sudo apt-get install unity
    or
    Code:
    sudo apt-get install ubuntu-desktop
    I get the same error
    Code:
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    The core of my problem is the error. What is it and how do I get around it?
    Last edited by asad.bukhari; November 26th, 2011 at 10:32 PM.

  4. #4
    Join Date
    Sep 2011
    Beans
    567
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Need help reinstalling Unity (Uninstalled by accident)

    The error message suggests to run apt-get update. Try running that command, then try installing Compiz and Unity again.
    Say no to Microsoft. Say yes to open source.

  5. #5
    Join Date
    Jun 2011
    Beans
    25

    Re: Need help reinstalling Unity (Uninstalled by accident)

    I entered
    Code:
    sudo apt-get update
    but only receive further errors
    Code:
    W: Failed to fetch http://[Several different websites] Could not resolve the archive
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    The several different websites were:
    • archives.canonical.com
      security.ubuntu.com
      extras.ubuntu.com
      us.archive.ubuntu.com
      deb.opera.com


    I cannot post the actual code b/c I have no means to do so. I return to my windows partition to post here.

    Is this a major issue?
    Is there a way to resolve it?

  6. #6
    Join Date
    Sep 2011
    Location
    Wherever I go, Here I am
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Need help reinstalling Unity (Uninstalled by accident)

    sudo apt-get autoremove
    sudo apt-get upgrade--fix-broken
    Please mark your thread as Solved when appropriate || My WIKI
    ---------------------------


  7. #7
    Join Date
    Jun 2011
    Beans
    25

    Re: Need help reinstalling Unity (Uninstalled by accident)

    Code:
    sudo apt-get autoremove
    Did a lot.

    However,
    Code:
    sudo apt-get upgrade--fix-broken
    Resulted in:
    Code:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove & 0 not upgraded
    I tried to install unity, compiz, etc but still had the same error.
    Now what?

  8. #8
    Join Date
    Jun 2011
    Beans
    25

    Re: Need help reinstalling Unity (Uninstalled by accident)

    Does anyone else know a solution to this?

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
  •