[zypp-devel] Quick dup/reinstall question before opening a bug report
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" other packages are shown, with a good cause, but libqjson0 are marble aren't in the list. It's 11.2. Thanks. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
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. -- cu, Michael Andres +------------------------------------------------------------------+ Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4 +------------------------------------------------------------------+ Michael Andres YaST Development ma@novell.com SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0 +------------------------------------------------------------------+ -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
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. -- cheers, jano Ján Kupec YaST team ---------------------------------------------------------(PGP)--- Key ID: 637EE901 Fingerprint: 93B9 C79B 2D20 51C3 800B E09B 8048 46A6 637E E901 ---------------------------------------------------------(IRC)--- Server: irc.freenode.net Nick: jniq Channels: #zypp #yast #suse #susecz ---------------------------------------------------------(EOF)---
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
On Mon, Apr 19, 2010 at 06:53:19PM +0200, Cristian Morales Vega wrote:
# zypper dup --from kde4_factory Loading repository data... Reading installed packages... Computing distribution upgrade...
The following packages are going to be reinstalled: libqjson0 marble
'zypper dup --from' is broken in 11.2 GA. See bugzilla #581276. M. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (4)
-
Cristian Morales Vega
-
Jano Kupec
-
Michael Andres
-
Michael Schroeder