Bug 400422

Summary: ntp-doc reinstalling issue when zypper dup
Product: [openSUSE] openSUSE 11.0 Reporter: Mark Stopka <mstopka>
Component: Update ProblemsAssignee: Stefan Schubert <schubi>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: lmb, mls
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ntp-doc issue test case

Description Mark Stopka 2008-06-15 22:44:08 UTC
When I try zypper dup, zypper suggest me an installation of package ntp-doc, so I install it. But then I try zypper dup again zypper still offering me a installation of "new" package ntp-doc. But ntp-doc is already installed. (And version and release is the same)

Everything is ok with zypper up.

mantisha:/home/marek # LANG="C" zypper -vvvv dup
Verbosity: 4
Initializing Target
Checking whether to refresh metadata for Games (openSUSE_Factory)
Checking whether to refresh metadata for openSUSE Factory - NON OSS
Checking whether to refresh metadata for openSUSE.org tools (openSUSE_Factory)
Checking whether to refresh metadata for openSUSE 11.0 - Update
Checking whether to refresh metadata for madwifi
Checking whether to refresh metadata for openSUSE Factory - OSS - debug
Checking whether to refresh metadata for Packman Repository
Checking whether to refresh metadata for openSUSE Factory - OSS
Reading installed packages...

The following NEW package is going to be installed:
  ntp-doc-4.2.4p4-43.i586  (openSUSE Factory - OSS, SUSE LINUX Products GmbH, Nuernberg, Germany)


Overall download size: 1.1 M. After the operation, additional 2.5 M will be used.
Continue? [YES/no]: y
committing
Downloading package ntp-doc-4.2.4p4-43.i586 (1/1), 1.1 M (2.5 M unpacked)
Downloading: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/media.1/media [done]
Downloading: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/ntp-doc-4.2.4p4-43.i586.rpm [done (331.4 K/s)]
Installing: ntp-doc-4.2.4p4-43 [done]
committingCommitResult 1 (errors 0, remaining 0, srcremaining 0)
mantisha:/home/marek # LANG="C" zypper -vvvv dup
Verbosity: 4
Initializing Target
Checking whether to refresh metadata for Games (openSUSE_Factory)
Checking whether to refresh metadata for openSUSE Factory - NON OSS
Checking whether to refresh metadata for openSUSE.org tools (openSUSE_Factory)
Checking whether to refresh metadata for openSUSE 11.0 - Update
Checking whether to refresh metadata for madwifi
Checking whether to refresh metadata for openSUSE Factory - OSS - debug
Checking whether to refresh metadata for Packman Repository
Checking whether to refresh metadata for openSUSE Factory - OSS
Reading installed packages...

The following NEW package is going to be installed:
  ntp-doc-4.2.4p4-43.i586  (openSUSE Factory - OSS, SUSE LINUX Products GmbH, Nuernberg, Germany)


Overall download size: 1.1 M. After the operation, additional 2.5 M will be used.
Continue? [YES/no]: y
committing
Downloading package ntp-doc-4.2.4p4-43.i586 (1/1), 1.1 M (2.5 M unpacked)
Downloading: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/media.1/media [done]
Downloading: http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/suse/i586/ntp-doc-4.2.4p4-43.i586.rpm [done (334.5 K/s)]
Installing: ntp-doc-4.2.4p4-43 [done]
committingCommitResult 1 (errors 0, remaining 0, srcremaining 0)
mantisha:/home/marek # rpm -qv ntp-doc
ntp-doc-4.2.4p4-43
mantisha:/home/marek # LANG="C" zypper -vvvv up
Verbosity: 4
Initializing Target
Checking whether to refresh metadata for Games (openSUSE_Factory)
Checking whether to refresh metadata for openSUSE Factory - NON OSS
Checking whether to refresh metadata for openSUSE.org tools (openSUSE_Factory)
Checking whether to refresh metadata for openSUSE 11.0 - Update
Checking whether to refresh metadata for madwifi
Checking whether to refresh metadata for openSUSE Factory - OSS - debug
Checking whether to refresh metadata for Packman Repository
Checking whether to refresh metadata for openSUSE Factory - OSS
Reading installed packages...
Force resolution: No
Resolving dependencies...
Force resolution: No
Resolving dependencies...
Nothing to do.
mantisha:/home/marek #
Comment 1 Stephan Kulow 2008-06-16 09:29:06 UTC
please attach a testcase generated by --debug-solver
Comment 2 Mark Stopka 2008-06-16 11:08:12 UTC
Created attachment 222246 [details]
ntp-doc issue test case

test case attached
Comment 3 Mark Stopka 2008-06-18 12:05:53 UTC
So? Was this logs useful for you? Can I provide more information?
Comment 4 Cyril Hrubis 2008-06-19 13:16:31 UTC
Moving to zypper maintainer to investigate.
Comment 5 Jan Kupec 2008-06-20 12:57:22 UTC
Schubi, Michael, something for you. Zypper does not do anything special in 'dup' apart from doUpgrade().
Comment 6 Stefan Schubert 2008-07-07 10:10:21 UTC
ResolverUpgrade.cc(doUpgrade):685 U__s_(9482)ntp-doc-4.2.4p4-43.i586(http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/) obsoletes I__s_(1461)xntp-doc-4.2.4p3-25.i586(@System) but does not provide it. --> replace it
Comment 7 Michael Schröder 2008-07-07 10:46:09 UTC
doUpgrade chooses it even if ntp_doc is already installed? Sounds like a bug to me.

And I doubt that it really obsoletes xntp-doc-4.2.4p3, so you've got two bugs to fix...
Comment 8 Stefan Schubert 2008-07-07 12:21:32 UTC
Thank you for your report.
Reinstallation will not be done anymore.
Comment 9 Stefan Schubert 2008-07-10 15:51:28 UTC
*** Bug 408002 has been marked as a duplicate of this bug. ***
Comment 10 Lars Marowsky-Bree 2008-07-14 10:50:46 UTC
When will the fix be published?
Comment 11 Anja Stock 2008-08-12 12:22:59 UTC
released