Bug 155082

Summary: YaST Software Management does not detect package conflict
Product: [openSUSE] SUSE Linux 10.1 Reporter: Forgotten User OS1JNCFbCX <forgotten_OS1JNCFbCX>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED INVALID QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None CC: suse-beta
Version: Beta 6   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST log
all log files as requested

Description Forgotten User OS1JNCFbCX 2006-03-03 18:44:06 UTC
suse-release-oss and suse-release have conflicting files and thus cannot be installed at the same time. YaST Software Management does not detect this conflict on a system with suse-release-oss-10.0.42-16 already installed when selecting suse-release-10.0.42-16 for installation and doing a dependency check. YaST claims that all dependencies are satisfied.
Comment 1 Forgotten User OS1JNCFbCX 2006-03-03 18:45:48 UTC
Created attachment 71200 [details]
YaST log

YaSY log file from the time Software Management is started up to the time dependency checking was invoked
Comment 2 Klaus Kämpf 2006-03-03 19:04:10 UTC
I can't see this in the log
Please do as advertised in http://en.opensuse.org/Bug_Reporting_FAQ#YaST
Comment 3 Forgotten User OS1JNCFbCX 2006-03-03 19:52:15 UTC
Created attachment 71203 [details]
all log files as requested
Comment 4 Klaus Kämpf 2006-03-03 21:44:21 UTC
Well, the metadata available to the dependency resolver (suse/setup/descr/packages) does not mention this conflict.

Otoh, both packages obsolete one another so installing the one will remove the other.

What happens if you continue with installation ? If RPM doesn't complain, lets close this bug as worksforme ;-)
Comment 5 Forgotten User OS1JNCFbCX 2006-03-03 22:26:52 UTC
If I continue another bug occurs that says:

Cannot access installation media
SUSE LINUX CD 1.
Check that the directory is accessible.

The installation source is a local directory containing factory.

The logs are like that:

[...]
2006-03-03 23:15:00 <1> sighup(2251) [YCP] SlideShow.ycp:931 src #0: [184]
2006-03-03 23:15:00 <1> sighup(2251) [wfm] PackageInstallation.ycp:123 Pkg Builtin called: PkgCommit
2006-03-03 23:15:00 <1> sighup(2251) [zypp_detail] ZYppImpl.cc(commit):158 Attempt to commit (medianr 0)
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(commit):143 TargetImpl::commit(<pool>, 0)
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):464 ResolvablesToInsDel: delete 0, install 1, srcinstall 0, nonpkg 0
2006-03-03 23:15:00 <0> sighup(2251) [solver] InstallOrder.cc(InstallOrder):62 InstallOrder::InstallOrder(_toinstall 1 items, _installed 0 items)
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):550 order.init() done
2006-03-03 23:15:00 <0> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):551 digraph pkgdeps {
2006-03-03 23:15:00 <0> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):551 "suse-release"[label="suse-release\n0"]
2006-03-03 23:15:00 <0> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):551 }
2006-03-03 23:15:00 <0> sighup(2251) [solver] InstallOrder.cc(computeNextSet):104 InstallOrder::computeNextSet found suse-release
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):567 order.computeNextSet: 1 resolvables
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):588 Package [package]suse-release-10.0.42-16.i586, media 1 last_medianum 0 best_medianum 0
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):641 SET NEW media 1
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(getResolvablesToInsDel):653 SET isrc suse-release
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(commit):211 TargetImpl::commit(<list>)
2006-03-03 23:15:00 <1> sighup(2251) [target] TargetImpl.cc(commit):211 TargetImpl::commit(<list>)
2006-03-03 23:15:00 <1> sighup(2251) [YCP] SlideShow.ycp:671 Package 'suse-release' is remote
2006-03-03 23:15:00 <5> sighup(2251) [pkgbindings] Callbacks.YCP.h(expecting):313 Wrong return type YT_VOID: Expected YT_BOOLEAN
2006-03-03 23:15:00 <0> sighup(2251) [source] SourceImpl.cc(provideFile):121 Going to try provide file /suse/i586/suse-release-10.0.42-16.i586.rpm from 1
2006-03-03 23:15:00 <1> sighup(2251) [media] MediaHandler.cc(attach):480 Attached: dir:///pub/factory/inst-source attached; localRoot "/pub/factory/inst-source"
2006-03-03 23:15:08 <0> sighup(2251) [media] MediaHandler.cc(provideFile):751 provideFile(/media.1/media)
2006-03-03 23:15:08 <5> sighup(2251) [base] Exception.cc(log):83 MediaManager.cc(checkDesired):103 THROW:    MediaManager.cc(checkDesired):103: Media source dir:///pub/factory/inst-source does not contain the desired media
2006-03-03 23:15:08 <5> sighup(2251) [base] Exception.cc(log):83
2006-03-03 23:15:08 <0> sighup(2251) [source] SourceImpl.cc(provideFile):134 Media couldn't provide file, releasing.
2006-03-03 23:15:08 <0> sighup(2251) [media] MediaHandler.cc(release):539 Request to release attached media dir</pub/factory/inst-source>, use count=1
2006-03-03 23:15:08 <0> sighup(2251) [media] MediaHandler.cc(release):546 Releasing media dir</pub/factory/inst-source>
2006-03-03 23:15:08 <0> sighup(2251) [media] MediaHandler.cc(removeAttachPoint):109 MediaHandler - checking if to remove attach point
2006-03-03 23:15:08 <0> sighup(2251) [media] MediaHandler.cc(removeAttachPoint):130 MediaHandler - attachpoint is not temporary
2006-03-03 23:15:08 <1> sighup(2251) [media] MediaHandler.cc(release):574 Released: dir:///pub/factory/inst-source not attached; localRoot "/pub/factory/inst-source"
2006-03-03 23:15:08 <1> sighup(2251) [YCP] PackageCallbacks.ycp:482 MediaChange err'Media Exception', url'dir:///pub/factory/inst-source', prd'SUSE LINUX', cur'0'/'', wan'1'/''
2006-03-03 23:15:21 <1> sighup(2251) [qt-ui] YQCheckBox.cc(stateChanged):151 old: 2; new: 2
2006-03-03 23:15:24 <1> sighup(2251) [YCP] PackageCallbacks.ycp:657 MediaChange `retry
2006-03-03 23:15:24 <0> sighup(2251) [source] SourceImpl.cc(provideFile):145 ProvideFile exception caught, callback answer: 1
2006-03-03 23:15:24 <0> sighup(2251) [source] SourceImpl.cc(provideFile):163 Going to attach again
2006-03-03 23:15:24 <1> sighup(2251) [media] MediaHandler.cc(attach):480 Attached: dir:///pub/factory/inst-source attached; localRoot "/pub/factory/inst-source"
2006-03-03 23:15:24 <0> sighup(2251) [source] SourceImpl.cc(provideFile):121 Going to try provide file /suse/i586/suse-release-10.0.42-16.i586.rpm from 1
2006-03-03 23:15:24 <0> sighup(2251) [media] MediaHandler.cc(provideFile):751 provideFile(/media.1/media)
2006-03-03 23:15:24 <5> sighup(2251) [base] Exception.cc(log):83 MediaManager.cc(checkDesired):103 THROW:    MediaManager.cc(checkDesired):103: Media source dir:///pub/factory/inst-source does not contain the desired media
2006-03-03 23:15:24 <5> sighup(2251) [base] Exception.cc(log):83
2006-03-03 23:15:24 <0> sighup(2251) [source] SourceImpl.cc(provideFile):134 Media couldn't provide file, releasing.
2006-03-03 23:15:24 <0> sighup(2251) [media] MediaHandler.cc(release):539 Request to release attached media dir</pub/factory/inst-source>, use count=1
2006-03-03 23:15:24 <0> sighup(2251) [media] MediaHandler.cc(release):546 Releasing media dir</pub/factory/inst-source>
2006-03-03 23:15:24 <0> sighup(2251) [media] MediaHandler.cc(removeAttachPoint):109 MediaHandler - checking if to remove attach point
2006-03-03 23:15:24 <0> sighup(2251) [media] MediaHandler.cc(removeAttachPoint):130 MediaHandler - attachpoint is not temporary
2006-03-03 23:15:24 <1> sighup(2251) [media] MediaHandler.cc(release):574 Released: dir:///pub/factory/inst-source not attached; localRoot "/pub/factory/inst-source"
2006-03-03 23:15:24 <1> sighup(2251) [YCP] PackageCallbacks.ycp:482 MediaChange err'Media Exception', url'dir:///pub/factory/inst-source', prd'SUSE LINUX', cur'0'/'', wan'1'/''
2006-03-03 23:15:25 <1> sighup(2251) [YCP] PackageCallbacks.ycp:657 MediaChange `retry
2006-03-03 23:15:25 <0> sighup(2251) [source] SourceImpl.cc(provideFile):145 ProvideFile exception caught, callback answer: 1
2006-03-03 23:15:25 <0> sighup(2251) [source] SourceImpl.cc(provideFile):163 Going to attach again
2006-03-03 23:15:25 <1> sighup(2251) [media] MediaHandler.cc(attach):480 Attached: dir:///pub/factory/inst-source attached; localRoot "/pub/factory/inst-source"
2006-03-03 23:15:25 <0> sighup(2251) [source] SourceImpl.cc(provideFile):121 Going to try provide file /suse/i586/suse-release-10.0.42-16.i586.rpm from 1
2006-03-03 23:15:25 <0> sighup(2251) [media] MediaHandler.cc(provideFile):751 provideFile(/media.1/media)
2006-03-03 23:15:25 <5> sighup(2251) [base] Exception.cc(log):83 MediaManager.cc(checkDesired):103 THROW:    MediaManager.cc(checkDesired):103: Media source dir:///pub/factory/inst-source does not contain the desired media
2006-03-03 23:15:25 <5> sighup(2251) [base] Exception.cc(log):83
2006-03-03 23:15:25 <0> sighup(2251) [source] SourceImpl.cc(provideFile):134 Media couldn't provide file, releasing.
2006-03-03 23:15:25 <0> sighup(2251) [media] MediaHandler.cc(release):539 Request to release attached media dir</pub/factory/inst-source>, use count=1
2006-03-03 23:15:25 <0> sighup(2251) [media] MediaHandler.cc(release):546 Releasing media dir</pub/factory/inst-source>
2006-03-03 23:15:25 <0> sighup(2251) [media] MediaHandler.cc(removeAttachPoint):109 MediaHandler - checking if to remove attach point
2006-03-03 23:15:25 <0> sighup(2251) [media] MediaHandler.cc(removeAttachPoint):130 MediaHandler - attachpoint is not temporary
2006-03-03 23:15:25 <1> sighup(2251) [media] MediaHandler.cc(release):574 Released: dir:///pub/factory/inst-source not attached; localRoot "/pub/factory/inst-source"
2006-03-03 23:15:25 <1> sighup(2251) [YCP] PackageCallbacks.ycp:482 MediaChange err'Media Exception', url'dir:///pub/factory/inst-source', prd'SUSE LINUX', cur'0'/'', wan'1'/''
Comment 6 Klaus Kämpf 2006-03-03 22:32:42 UTC
Huh ?
Look like you added a local directory as package repository which is not accessible now:
dir:///pub/factory/inst-source

Comment 7 Forgotten User OS1JNCFbCX 2006-03-03 22:50:04 UTC
Well, it is accessible with ls or any other shell utility. Just YaST seems not to see it, although it _did_ see it when adding it in installation sources setup.
Comment 8 Klaus Kämpf 2006-03-04 07:03:36 UTC
Even rpm does not complain
# rpm -qf /etc/SuSE-release
suse-release-oss-10.0.42-16
# rpm -Uhv suse-release.rpm
Preparing...                ########################################### [100%]
   1:suse-release           ########################################### [100%]
# rpm -qf /etc/SuSE-release
suse-release-10.0.42-18