[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Manual java alternative



Mathias Brodala wrote:
Hello Marko.

Marko Randjelovic, 04.01.2007 12:37:
Mathias Brodala wrote:
Marko Randjelovic, 04.01.2007 11:34:
Or is there some Debian package for jdk6 or jdk-1.5.0_8,
since this newest 1.5.0_10 made me problems?
Look at here:
http://snapshot.debian.net/cgi-bin/packages.cgi?package=sun-java5&details=details

Thanks Mathias. I entered

deb http://snapshot.debian.net/archive pool sun-java5
deb-src http://snapshot.debian.net/archive pool sun-java5

in /etc/apt/sources.list

and tried to install packages, however apt-get reports

E: Version '1.5.0-08*' for 'sun-java5-doc' was not found

and same for fonts,jre and source. If I remove them all:

root@main:/etc/apt# apt-get install sun-java5-bin=1.5.0-08*
sun-java5-demo=1.5.0-08* sun-java5-jdk=1.5.0-08*
Reading package lists... Done
Building dependency tree... Done
Selected version 1.5.0-08-1.1 (snapshot.debian.net) for sun-java5-bin
Selected version 1.5.0-08-1.1 (snapshot.debian.net) for sun-java5-demo
Selected version 1.5.0-08-1.1 (snapshot.debian.net) for sun-java5-jdk
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 sun-java5-bin: Depends: sun-java5-jre (= 1.5.0-08-1.1) but 1.5.0-10-1.1
is to be installed
 sun-java5-demo: Depends: sun-java5-jre (= 1.5.0-08-1.1) but
1.5.0-10-1.1 is to be installed
 sun-java5-jdk: Depends: sun-java5-jre (= 1.5.0-08-1.1) but 1.5.0-10-1.1
is to be installed
 sun-java5-jre: Depends: sun-java5-bin (= 1.5.0-10-1.1) but 1.5.0-08-1.1
is to be installed or
                         ia32-sun-java5-bin (= 1.5.0-10-1.1) but it is
not going to be installed
E: Broken packages

So, they don't have all needed packages, right?

They do[0], but you have to explicitely tell APT that it should install all
packages in a specific version. At the moment you forgot to tell APT that it
should install sun-java5-jre in version 1.5.0-08*, too.


Regards, Mathias

[0]
http://snapshot.debian.net/archive/2006/11/16/debian/pool/non-free/s/sun-java5/sun-java5-jre_1.5.0-08-1.1_all.deb


root@main:/etc/apt# apt-get install sun-java5-bin=1.5.0-08* sun-java5-demo=1.5.0-08* sun-java5-doc=1.5.0-08* sun-java5-fonts=1.5.0-08* sun-java5-jdk=1.* sun-java5-jre=1.5.0-08* sun-java5-source=1.5.0-08*
Reading package lists... Done
Building dependency tree... Done
Selected version 1.5.0-08-1.1 (snapshot.debian.net) for sun-java5-bin
Selected version 1.5.0-08-1.1 (snapshot.debian.net) for sun-java5-demo
E: Version '1.5.0-08*' for 'sun-java5-doc' was not found

But you can download

http://snapshot.debian.net/archive/2006/11/16/debian/pool/non-free/s/sun-java5/sun-java5-doc_1.5.0-08-1.1_all.deb

???



Reply to: