Results 1 to 4 of 4

Thread: Uninstalled network manager

  1. #1
    Join Date
    Dec 2013
    Beans
    2

    Uninstalled network manager

    I accidentally uninstalled my network manager, and now I can't reinstall it. How can I connect to wifi through command line, or install network manager another way?

  2. #2
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Uninstalled network manager: Please Help!!

    Welcome to the forums robbie9513 !

    Please try this -

    1) Open a terminal (Ctrl-Alt-T) and run the following command in it -
    Code:
    apt-get install --reinstall --print-uris network-manager-gnome
    It should return some output, at the bottom of which it should give you one or more download URIs of the required packages.

    2) Copy these URIs and use them to download the packages on another computer where internet is working.

    3) Copy the downloaded package(s) back to your Ubuntu desktop in a new, empty folder. For sake of clarity, let's name this folder "netman"

    4) Open a terminal, change to this directory and install the package(s) as follows -
    Code:
    cd Desktop/netman
    sudo dpkg -i *

    This method assumes your package manager database has the information about default packages and their package URIs, which sometimes requires that the database has been updated at least once. If the apt-get command suggested above doesn't return any URIs, it means the database does not have this information. In that case, you can do the same from the live cd/usb from which you installed the OS. Make sure it is exactly same one from which you installed Ubuntu. NM and a working wireless should be available on the live session to make things easy.
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

  3. #3
    Join Date
    Dec 2013
    Beans
    2

    Re: Uninstalled network manager: Please Help!!

    This worked so well. Thank you!!!

  4. #4
    Join Date
    Mar 2010
    Location
    India
    Beans
    8,116

    Re: Uninstalled network manager: Please Help!!

    You're welcome !
    Varun
    Help others by marking threads as [SOLVED], if they are. (See how)
    Wireless Script | Use Code Tags

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
  •