LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   In ubuntu 12.1 unable to locate package tree (https://www.linuxquestions.org/questions/linux-newbie-8/in-ubuntu-12-1-unable-to-locate-package-tree-4175446283/)

jimeast 01-19-2013 12:18 AM

In ubuntu 12.1 unable to locate package tree
 
From the bash shell I tried to use the tree command and was advised to enter this command "sudo apt-get install tree" when I tried I got this message "E: Unable to locate package tree". I'm running Ubuntu from a thumb drive I haven't installed it, could that be the reason for the problem?

k3lt01 01-19-2013 12:46 AM

Quote:

Originally Posted by jimeast (Post 4873314)
I'm running Ubuntu from a thumb drive I haven't installed it, could that be the reason for the problem?

Is it a Live session? If it is why are you trying to locate a package tree?

Also there is no such thing as Ubuntu 12.1. Ubuntu has .04 and .10 releases.

fotoguy 01-19-2013 12:55 AM

This error happens when the package is not part of any repository list installed on the distro, you need to add a repository that has the tree package, update the install list, then rerun the apt-get command to install the package.

jimeast 01-19-2013 01:12 AM

Ok then all I have to do is seek out this install list and find out how to update it.

k3lt01 01-19-2013 01:30 AM

Quote:

Originally Posted by jimeast (Post 4873326)
Ok then all I have to do is seek out this install list and find out how to update it.

Nope, if you have not installed it, as you say in your OP, then you are running a live session and it doesn't matter if you are trying to update or anything the next time you start the Live session it will be gone. What you need to do is actually install Ubuntu and then work from there.

jimeast 01-19-2013 12:39 PM

I ended up installing and I noticed the checkbox for updating so I did now all is working as I'd hoped. Thanks.


All times are GMT -5. The time now is 01:15 AM.