Mailinglist Archive: zypp-devel (38 mails)

< Previous Next >
Re: [zypp-devel] Quick dup/reinstall question before opening a bug report
  • From: Cristian Morales Vega <cmorve69@xxxxxxxx>
  • Date: Mon, 19 Apr 2010 18:53:19 +0200
  • Message-id: <i2s8235e6f41004190953yf98ee18fz8bdddae6c5cd4763@xxxxxxxxxxxxxx>
2010/4/19 Jano Kupec <jkupec@xxxxxxx>:
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@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups