Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Unable to locate package

  1. #1
    Join Date
    Nov 2010
    Beans
    3

    Unable to locate package

    I just installed Ubuntu 10.10 Server and started playing with it. I would like to install some additional packages using apt-get, but every time I am confronted with "E: Unable to locate package xyz". What's wrong?

  2. #2
    Join Date
    Oct 2009
    Location
    Elgin, IL USA
    Beans
    2,526
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Unable to locate package

    Are you doing sudo apt-get install xyz? It may depend which repository those packages are in and whether those repositories are enabled. I am no expert on apt-get, but if you list which packages you are looking for, someone may be able to help.

  3. #3
    Join Date
    Nov 2010
    Beans
    3

    Re: Unable to locate package

    Quote Originally Posted by efflandt View Post
    Are you doing sudo apt-get install xyz? It may depend which repository those packages are in and whether those repositories are enabled. I am no expert on apt-get, but if you list which packages you are looking for, someone may be able to help.
    Yes, I am doing sudo apt-get install xyz. I am trying to get any package, tried to install ethtool, apache2 and some others. Always get the same error.

  4. #4
    Join Date
    Feb 2010
    Location
    WI USA
    Beans
    9,488
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Unable to locate package

    Hi and Welcome

    That will happen if the package name is typed incorrectly , you can double check package name in the software center or install from there. The terminal is case sensitive for some operations , use lower case for installing packages. sudo apt-get install name
    Infinite diversity in infinite combination.

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  5. #5
    Join Date
    Nov 2010
    Beans
    3

    Re: Unable to locate package

    Quote Originally Posted by Frogs Hair View Post
    Hi and Welcome

    That will happen if the package name is typed incorrectly , you can double check package name in the software center or install from there. The terminal is case sensitive for some operations , use lower case for installing packages. sudo apt-get install name
    Thanks, but that is not the case. I am sure that I typed the package names correctly.

  6. #6
    Join Date
    Dec 2010
    Beans
    3

    Re: Unable to locate package

    I just installed Ubuntu Server 10.10 as well and I'm having the exact same problem.

    Is there anyone who can help with this issue out there?

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

    Re: Unable to locate package

    Quote Originally Posted by EMWolf View Post
    I just installed Ubuntu Server 10.10 as well and I'm having the exact same problem.

    Is there anyone who can help with this issue out there?
    Please list the package that you are trying to install so we might locate the correct repository for that and guide you how to enable it.

    Also, post the output of this one.

    Code:
    cat /etc/apt/sources.list

  8. #8
    Join Date
    Dec 2010
    Beans
    3

    Question Re: Unable to locate package

    I was trying to install ETHTOOL manually so I could configure my NIC; I did not choose the option during installation of UBUNTU. I became impatient and decided just to re-install and allow the setup/installation process do it for me, since I couldn't find a quick answer on the internet.

    Could not install ethtool; "Unable to locate package ..."
    Could not install apt-get; "Unable to locate package ..."

    These prompts were both after the prompts (respectively);
    "Reading package lists...Done
    "Building dependency tree"
    "Reading state information...Done"

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

    Re: Unable to locate package

    Try,

    Code:
    sudo apt-get update && sudo apt-get install ethtool

  10. #10
    Join Date
    Dec 2010
    Beans
    3

    Question Re: Unable to locate package

    Ah, maybe I understand the problem now; it tries to download from a web server.

    I did not configure my NIC (during installation) and I have it strictly 'stand-alone' and offline (no internet connectivity).

    I was 'assuming' that a standard tool like 'apt-get' and 'ethtool' would be available from the default installation files. (from the return prompts, I would say the answer is 'No')

    Are these tools available from the CD or in the default installation files?

    Thanks for your help btw!
    Last edited by EMWolf; December 2nd, 2010 at 09:50 PM.

Page 1 of 3 123 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
  •