odd apt behavior

Mariano Draghi chaghi at sion.com
Mon Jan 29 03:50:32 UTC 2007


John Dangler wrote:

> I have a desktop and a laptop, both running Dapper (6.06LTS)
> Both are at the same update levels, and both have identical sources.list
> files.
>
> On the desktop,I type apt-cache search sun-java , and get the following
> list:
>
> gymsmoke at croatus:~$ apt-cache search sun-java
> sun-java5-bin - Sun Java(TM) Runtime Environment (JRE) 5.0
> sun-java5-demo - Sun Java(TM) Development Kit (JDK) 5.0 demos and
> examples
> sun-java5-doc - Sun JDK(TM) Documention -- integration installer
> sun-java5-fonts - Lucida TrueType fonts (from the Sun JRE)
> sun-java5-jdk - Sun Java(TM) Development Kit (JDK) 5.0
> sun-java5-jre - Sun Java(TM) Runtime Environment (JRE) 5.0
> sun-java5-plugin - The Java(TM) Plug-in, Java SE 5.0
> sun-java5-source - Sun Java(TM) Development Kit (JDK) 5.0 source files
>
> On the laptop, I type apt-cache search sun-java, and get - nothing!
> gymsmoke at nebo:~$ apt-cache search sun-java
> gymsmoke at nebo:~$ 
>
> Anyone have any explanation for this?
>

Maybe you don't have the "multiverse" repository enabled in your laptop?
sun-java is in multiverse, and I think that repo it's not enabled by
default.

Take a look at /etc/apt/sources.lst in both machines, and see if there
is any difference.

You may have to enable the multiverse repository and do an "apt-get
update" after that.

Regards,

-- 
Mariano







More information about the ubuntu-users mailing list