Mailinglist Archive: zypp-devel (226 mails)
| < Previous | Next > |
Re: [zypp-devel] very weird zypper behaviour
- From: Jano Kupec <jkupec@xxxxxxx>
- Date: Sun, 20 Apr 2008 10:47:03 +0200
- Message-id: <480B0307.9060904@xxxxxxx>
Stephan Kulow wrote:
Yes, this works, plus (if nothing provides the original string) i start to replace dashes for '=' from right to left. I can't think of any other way how it could fail now, but still if you want to install by name only, you can force it with --name option (although this way zypper chooses the version to install, not the solver).
But still, isn't this a bug?
$ zypper what-provides ghostscript=x11
Reading installed packages...
S | Repository | Type | Name | Version | Arch
--+------------+---------+---------------------+-----------+-------
i | @System | package | ghostscript-library | 8.15.4-17 | x86_64
v | factory | package | ghostscript-library | 8.62-4 | x86_64
v | factory | package | ghostscript-library | 8.62-4 | i586
There should be no providers of ghostscript=x11 or?
And similarly for libldtl=3.
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Am Donnerstag, 17. April 2008 schrieb Jano Kupec:
Stephan Kulow wrote:
Hi,Hm, this was supposed to be a nice heuristic, now i see it has some flaws
the live cds are broken since today and I debugged it
a bit and the zypper behaviour below kiwi is _very_
weird.
I patched kiwi to call --debug-solver and I get e.g.
<addReq name="libltdl = 3"/>
in the zypper command line it was zypper libltdl-3
Who splits the package name? Interestingly enough
not all package names. But also "ghostscript = x11"
is installed.
:O( This was done in order to be able to install like this:
$ zypper install foo-package-1-2.0.3-5
The workflow:
for each '-' found in the string
{
replace '-' with '='
check if there is something wich provides such capability
if there is something
{ use this; break }
}
obviously this will not work for libdtl-3 as there obviously are providers
of libdtl = 3. Bad idea :O(
Why not check first if something provides libltdl-3 ?
BTW: I noticed this only because the live cds were enlarged by as little as 70MB due to kernel-source.rpm providing "linux".
Yes, this works, plus (if nothing provides the original string) i start to replace dashes for '=' from right to left. I can't think of any other way how it could fail now, but still if you want to install by name only, you can force it with --name option (although this way zypper chooses the version to install, not the solver).
But still, isn't this a bug?
$ zypper what-provides ghostscript=x11
Reading installed packages...
S | Repository | Type | Name | Version | Arch
--+------------+---------+---------------------+-----------+-------
i | @System | package | ghostscript-library | 8.15.4-17 | x86_64
v | factory | package | ghostscript-library | 8.62-4 | x86_64
v | factory | package | ghostscript-library | 8.62-4 | i586
There should be no providers of ghostscript=x11 or?
And similarly for libldtl=3.
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |