Mailinglist Archive: zypp-devel (226 mails)
| < Previous | Next > |
Re: [zypp-devel] very weird zypper behaviour
- From: Jano Kupec <jkupec@xxxxxxx>
- Date: Thu, 17 Apr 2008 22:47:29 +0200
- Message-id: <4807B761.40306@xxxxxxx>
Stephan Kulow wrote:
Hm, this was supposed to be a nice heuristic, now i see it has some flaws :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(
I can remove the code doing this in a minute, but i'd appreciate suggestions how to do this 'zypper install zypper-0.11.1'....
Sorry for this.
Cheers,
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
Hi,
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.
Hm, this was supposed to be a nice heuristic, now i see it has some flaws :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(
I can remove the code doing this in a minute, but i'd appreciate suggestions how to do this 'zypper install zypper-0.11.1'....
Sorry for this.
Cheers,
jano
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx
| < Previous | Next > |