Mailinglist Archive: opensuse-softwaremgmt (17 mails)
| < Previous | Next > |
Re: [softwaremgmt] Obsoletes and zypp vs. rpm
- From: Michal Svec <msvec@xxxxxxx>
- Date: Thu, 14 Feb 2008 16:03:47 +0100 (CET)
- Message-id: <Pine.LNX.4.64.0802141548120.9941@xxxxxxxxx>
On Thu, 14 Feb 2008, Michal Marek wrote:
Michal Svec wrote:
You can see it on an example of java-1_6_0-sun-plugin.rpm, which obsoletes
java-1.5.0-plugin and thus java-1_5_0-sun-plugin.rpm. So when you try to
install both packages, zypper bails on conflicts (*), while rpm allows you
to install without any problem (might be due to the fact the obsoleted
name is not a package).
No, that's because you probably did 'rpm -i java-1_6_0-sun-plugin.rpm'
while rpm only deletes obsoleted packages when upgrading (-U):
I see, but that still makes a difference, rpm allows you to install both
at the same time while zypper does not.
How would rpm behave in this scenario?
# rpm -ivh java-1_5_0-sun-plugin-0.rpm java-1_6_0-sun-plugin-0.rpm
# rpm -Uvh java-1_5_0-sun-plugin-1.rpm java-1_6_0-sun-plugin-1.rpm
Would it complain (in the second step, the first step succeeds), uninstall
1_5_0 silently or upgrade both?
Michal
--
To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx
| < Previous | Next > |