odd apt behavior
John Dangler
jdangler at atlantic.net
Mon Jan 29 16:51:48 UTC 2007
On Mon, 2007-01-29 at 03:50 +0000, Mariano Draghi wrote:
> 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.
Mariano - note that both files are identical. I copied the sources.list
file from the machine that _does_ find the entries (croatus) to the
machine which could not find them (nebo).
In another reply I just made, I included the sources.list file for
reference...
> >
> > 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