Re: [zypp-devel] Installing optional patch
On Thu, 5 May 2011, Duncan Mac-Vicar P. wrote:
How is one supposed to install optional patches on 11.4? I can't make it work at all, neither via zypper nor via YOU.
Via zypper it just does not do anything: bash# zypper in -t patch -f fetchmsttfonts Patch 'fetchmsttfonts-4120' is not needed. [and that's it]
YOU does "something" (probably nothing), runs SuSEconfig and that's it.
zypper is telling you, the patch is not needed. What do you expect ZYpp to do?
I want to install it (install the package, run the script). That's what the patch is about, right?
In this case, I guess you want to fetch the fonts again? (did you delete them?) fetchmsfonts is a hack package that downloads fonts in the
I want to fetch the fonts for the first time.
post-install script. So if you need to rerun the script, then reinstall the package with -f, not the patch (the patch install is always a no-op which results in packages being installed).
Installing this patch was indeed no-op, resulting in nothing, no action whatsoever. No package was installed. Michal -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On 05/05/2011 02:24 PM, Michal Svec wrote:
Installing this patch was indeed no-op, resulting in nothing, no action whatsoever. No package was installed.
Michal
Uhm, right, the patch would only pull the package if you have an older version of the package installed. If you don't have the package installed why would the patch try to "fix" it. Is fetchmsttfonts already installed? (rpm -q fetchmsttfonts ?) I am not sure how it works for this specific package. In order for a fetchmsfonts patch to work, you would need an older version of the package installed (or some other providing it). coolo, ist fetchmsfonts installed by default or pulled in somehow? -- Duncan Mac-Vicar P. - Novell® Making IT Work As One™ SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Thu, 5 May 2011, Duncan Mac-Vicar P. wrote:
Installing this patch was indeed no-op, resulting in nothing, no action whatsoever. No package was installed.
Uhm, right, the patch would only pull the package if you have an older version of the package installed. If you don't have the package installed why would the patch try to "fix" it.
Is fetchmsttfonts already installed? (rpm -q fetchmsttfonts ?)
No (not that it would make any difference in this case, the package was not released as an update so once the package is installed the patch would become satisfied).
I am not sure how it works for this specific package. In order for a fetchmsfonts patch to work, you would need an older version of the package installed (or some other providing it).
coolo, ist fetchmsfonts installed by default or pulled in somehow?
On 11.3 and before it used to be somehow pulled in automatically, I can't recall exactly how. It might have been changed on purpose for 11.4, then the current behavior is most likely correct, but then I don't see why the patch should exist at all. Michal -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
* Duncan Mac-Vicar P.
On 05/05/2011 02:24 PM, Michal Svec wrote:
Installing this patch was indeed no-op, resulting in nothing, no action whatsoever. No package was installed.
Michal
Uhm, right, the patch would only pull the package if you have an older version of the package installed. If you don't have the package installed why would the patch try to "fix" it.
There are two types of patch->package dependencies. One is "update if older version installed" and the other is "install in any case". The fetchmsttfonts patch should use the latter one. Klaus --- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Fri, May 06, 2011 at 09:38:48AM +0200, Klaus Kaempf wrote:
There are two types of patch->package dependencies. One is "update if older version installed" and the other is "install in any case". The fetchmsttfonts patch should use the latter one.
How are those two option expressed in updateinfo.xml? Thanks, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, 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
* Michael Schroeder
On Fri, May 06, 2011 at 09:38:48AM +0200, Klaus Kaempf wrote:
There are two types of patch->package dependencies. One is "update if older version installed" and the other is "install in any case". The fetchmsttfonts patch should use the latter one.
How are those two option expressed in updateinfo.xml?
Thats a good question and probably a regression on the patch semantics. Klaus --- SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
Am Donnerstag, 5. Mai 2011 schrieb Duncan Mac-Vicar P.:
On 05/05/2011 02:24 PM, Michal Svec wrote:
Installing this patch was indeed no-op, resulting in nothing, no action
whatsoever. No package was installed.
Michal
Uhm, right, the patch would only pull the package if you have an older version of the package installed. If you don't have the package installed why would the patch try to "fix" it.
Is fetchmsttfonts already installed? (rpm -q fetchmsttfonts ?)
I am not sure how it works for this specific package. In order for a fetchmsfonts patch to work, you would need an older version of the package installed (or some other providing it).
coolo, ist fetchmsfonts installed by default or pulled in somehow?
It used to be pulled in by a recommend in an update to the default installed pullin-msfonts (or thelike). For 11.4 I decided (after some bug reports) to leave that out and leave people to install fetchmsttfonts manually if they want these fonts. There shouldn't be patch about it, only the package in the update repo. If not, ask maintenance@opensuse.org Greetings, Stephan -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (5)
-
Duncan Mac-Vicar P.
-
Klaus Kaempf
-
Michael Schroeder
-
Michal Svec
-
Stephan Kulow