odd apt behavior

Peter Garrett peter.garrett at optusnet.com.au
Mon Jan 29 19:22:45 UTC 2007


On Mon, 29 Jan 2007 11:29:25 -0500
John Dangler <jdangler at atlantic.net> wrote:

> I'm including the sources.list file here (which is the same on both
> machines) for reference.
> 
> # *** main ***
> deb http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
> deb-src http://us.archive.ubuntu.com/ubuntu/ dapper main restricted
> 
> # *** main updates ***
> deb http://us.archive.ubuntu.com/ubuntu/ dapper-updates main restricted
> deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-updates main
> restricted
> 
> # *** universe ***
> deb http://us.archive.ubuntu.com/ubuntu/ dapper universe
> deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe
> 
> # *** backports - not using these ***
> # deb http://us.archive.ubuntu.com/ubuntu/ dapper-backports main
> restricted universe multiverse
> # deb-src http://us.archive.ubuntu.com/ubuntu/ dapper-backports main
> restricted universe multiverse
> 
> # *** main security ***
> deb http://security.ubuntu.com/ubuntu dapper-security main restricted
> deb-src http://security.ubuntu.com/ubuntu dapper-security main
> restricted
> 
> # *** main security universe ***
> deb http://security.ubuntu.com/ubuntu dapper-security universe
> deb-src http://security.ubuntu.com/ubuntu dapper-security universe

The only reference to "multiverse" that I see here is in the backports
section, which is commented out. I suggest that you add the word
"multiverse" to your "universe" " updates" and "security universe" lines,
and try again with "sudo apt-get update" then try searching for your
sun-java5" packages again... You will also probably want to add "universe"
to the "updates" section as well.

Java is in the the multiverse repository.

Peter




More information about the ubuntu-users mailing list