[zypp-devel] Problems with dependencies on files
Today, while trying to install openjdk on fedora using zypper, it gave me the following error: # sudo zypper in java-1.6.0-openjdk java-1.6.0-openjdk-devel maven2 Reading installed packages... Problem: nothing provides /usr/lib/security/classpath.security needed by java-1.5.0-gcj-1.5.0.0-21.fc9.i386 Solution 1: do not ask to install a solvable providing maven2 Choose the above solution using '1' or cancel using 'c' [1/C]: C And I had to install those packages using yum :( PS: That file on fedora is provided by libgcj-4.3.0-8 Regards -- Lorenzo Villani Blog: http://blog.binaryhelix.net -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Lorenzo Villani
Today, while trying to install openjdk on fedora using zypper, it gave me the following error:
# sudo zypper in java-1.6.0-openjdk java-1.6.0-openjdk-devel maven2 Reading installed packages...
Problem: nothing provides /usr/lib/security/classpath.security needed by java-1.5.0-gcj-1.5.0.0-21.fc9.i386 Solution 1: do not ask to install a solvable providing maven2
Well, that was to be expected. Due to performance reasons and because its seldomly used, libzypp refrains from downloading the complete file information (repodata/filelists.xml.gz). This is why the dependency to /usr/lib/security/classpath.security cannot be solved. A subset of the file information is usually added to primary.xml (the 'main' dependency metadata), afaik based on analyzing the dependencies within the repository.
Choose the above solution using '1' or cancel using 'c' [1/C]: C
And I had to install those packages using yum :(
From the same repository ? Or did yum use a different one ?
PS: That file on fedora is provided by libgcj-4.3.0-8
Klaus -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Am Montag 11 August 2008 schrieb Klaus Kaempf:
A subset of the file information is usually added to primary.xml (the 'main' dependency metadata), afaik based on analyzing the dependencies within the repository.
openSUSE puts '(?:/s?bin/|^/etc/|^/usr/lib/sendmail$)' in there - the dependencies of the repository do not matter. I guess fedora puts everything in the filelist? Greetings, Stephan -- SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Mon, Aug 11, 2008 at 12:22:23PM +0200, Stephan Kulow wrote:
Am Montag 11 August 2008 schrieb Klaus Kaempf:
A subset of the file information is usually added to primary.xml (the 'main' dependency metadata), afaik based on analyzing the dependencies within the repository.
openSUSE puts '(?:/s?bin/|^/etc/|^/usr/lib/sendmail$)' in there - the dependencies of the repository do not matter.
Not quite, createrepo uses '.*bin\/.*', '^\/etc\/.*', '^\/usr\/lib\/sendmail$' I hope we use the same patterns, otherwise it's a bug.
I guess fedora puts everything in the filelist?
No, but yum is smarter: it downloads the filelist.xml data if it finds that some rpm has a dependency that doesn't match the pattern list. We didn't have time to implement this for 11.0 (libsatsolver already supports this). Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (4)
-
Klaus Kaempf
-
Lorenzo Villani
-
Michael Schroeder
-
Stephan Kulow