2010/4/19 Jano Kupec <jkupec@suse.cz>:
On 04/19/2010 12:42 PM, Michael Andres wrote:
On Friday 16 April 2010 20:30:27 Cristian Morales Vega wrote:
There isn't a good explanation for this, true?
# zypper dup Loading repository data... Reading installed packages... Computing distribution upgrade...
Nothing to do.
# zypper dup --from kde4_factory Loading repository data... Reading installed packages... Computing distribution upgrade...
The following packages are going to be reinstalled: libqjson0 marble
2 packages to reinstall. Overall download size: 2.9 MiB. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): n
If "zypper dup --from kde4_factory" thinks that two packages need to be reinstalled (meaning they need to be "updated", just that the new packages have the same version and release number?) "zypper dup" should at least try to reinstall these same packages? With "--repo"
Dup does not update, it arranges the packages being installed from specific repositories.
"zypper dup --from kde4_factory" will install the package from kde4_factory. If 'zypper dup' did not want to touch them, then you had the same version installed, but from a different vendor/repo.
Different vendor would be reported by zypper. The reinstall can be caused by different buildtimes IIRC.
But if the buildtimes were different then zypper dup should also offer to reinstall these packages. The funny thing is that even if I reinstall them, if I execute the same command again the same packages are offered to be reinstalled again. Could be a problem with the repo metadata (buildtime mismatch between the metadata and the RPM)? I don't know how to check the buildtime in the metadata. # zypper dup --from kde4_factory Loading repository data... Reading installed packages... Computing distribution upgrade... The following packages are going to be reinstalled: libqjson0 marble 2 packages to reinstall. Overall download size: 2.9 MiB. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): d The following packages are going to be reinstalled: libqjson0 0.7.1-3.1 x86_64 KDE 4.4.x obs://build.opensuse.org/KDE marble 4.4.2-131.15 x86_64 KDE 4.4.x obs://build.opensuse.org/KDE 2 packages to reinstall. Overall download size: 2.9 MiB. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): y Retrieving package marble-4.4.2-131.15.x86_64 (1/2), 2.8 MiB (5.3 MiB unpacked) Retrieving: marble-4.4.2-131.15.x86_64.rpm [done (152.2 KiB/s)] Retrieving package libqjson0-0.7.1-3.1.x86_64 (2/2), 50.0 KiB (128.0 KiB unpacked) Retrieving: libqjson0-0.7.1-3.1.x86_64.rpm [done (0 B/s)] Retrieving package marble-4.4.2-131.15.x86_64 (3/2), 2.8 MiB (5.3 MiB unpacked) Installing: marble-4.4.2-131.15 [done] Retrieving package libqjson0-0.7.1-3.1.x86_64 (4/2), 50.0 KiB (128.0 KiB unpacked) Installing: libqjson0-0.7.1-3.1 [done] # zypper dup --from kde4_factory Loading repository data... Reading installed packages... Computing distribution upgrade... The following packages are going to be reinstalled: libqjson0 marble 2 packages to reinstall. Overall download size: 2.9 MiB. No additional space will be used or freed after the operation. Continue? [y/n/?] (y): n -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org