PDA

View Full Version : [ubuntu] apt-cache search can't find many things



perito
April 24th, 2009, 02:36 PM
For example:

ubuntu@ubuntu-laptop:~$ apt-cache search jdk
ubuntu@ubuntu-laptop:~$ apt-cache search vlc
ubuntu@ubuntu-laptop:~$


... I want to install java and vlc and several other things ... whats up?

Flyingjester
April 24th, 2009, 02:37 PM
aptitude search

Malalo
April 24th, 2009, 02:38 PM
what happens if you type


sudo apt-get upgrade

perito
April 24th, 2009, 02:41 PM
ubuntu@ubuntu-laptop:~$ aptitude search jdk
ubuntu@ubuntu-laptop:~$


ubuntu@ubuntu-laptop:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntu@ubuntu-laptop:~$

I'm thinking its a resporatiry problem (like ticked off or something?)
How can I find out ... ?

Flyingjester
April 24th, 2009, 02:43 PM
system > administration > software sources

Malalo
April 24th, 2009, 02:51 PM
What I meant was


sudo apt-get update

sorry about that.

perito
April 24th, 2009, 02:54 PM
The server was set to a local one, I changed it to Main Server and it seems to work.
Thanks

Flyingjester
April 24th, 2009, 02:54 PM
No problem :)

drs305
April 24th, 2009, 02:56 PM
... I want to install java and vlc and several other things ... whats up?

Do you have the universe and multiverse repositories enabled?
System, Administration, Update Manager or Synaptic. Settings, Repositories, Ubuntu Software. Make sure you have multiverse and universe ticked. For other popular software, you may need to add additional repositories, such as medibuntu.

If you think it may be a repository problem, here is the ubuntu wiki link:
https://help.ubuntu.com/community/Repositories/Ubuntu