[Bug 326769] New: Libzypp tries to access disabled sources in inst_finish
https://bugzilla.novell.com/show_bug.cgi?id=326769 Summary: Libzypp tries to access disabled sources in inst_finish Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: jkupec@novell.com ReportedBy: locilka@novell.com QAContact: kkaempf@novell.com CC: lslezak@novell.com Found By: --- I've fixed bug 326342, now during upgrade, all sources that are not enabled for installation, are added as "disabled". During the inst finish (clients/pkg_finish.ycp:51 Pkg Builtin called: SourceFinishAll) libzypp tries to access these sources. Source.cc(SourceSaveAll):690 Adding repository 'nfs://miracle.suse.cz/install/103A6' (repository is disabled and doesn't exist) Additionally, after RPMs are installed there are strange calls: PkgModuleFunctions.cc(mediaAccess):207 Creating new MediaSetAccess for url nfs://miracle.suse.cz/install/103A6 MediaSetAccess.cc(MediaSetAccess):36 initializing.. (3-times, because the same URL was migrated 3-times as well) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=326769#c1
--- Comment #1 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=326769#c2
--- Comment #2 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=326769
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=326769#c3
Ján Kupec
During the inst finish (clients/pkg_finish.ycp:51 Pkg Builtin called: SourceFinishAll) libzypp tries to access these sources.
Source.cc(SourceSaveAll):690 Adding repository 'nfs://miracle.suse.cz/install/103A6' (repository is disabled and doesn't exist)
Good that you mentioned that the repo has not its type defined. That's probably why RepoManager::addRepository() is probing for its type: // check the first url for now if ( ZConfig::instance().repo_add_probe() || ( tosave.type() == RepoType::NONE ) ) { probing code } maybe this would be better (probe only if enabled): if ( ZConfig::instance().repo_add_probe() || ( tosave.type() == RepoType::NONE && tosave.enabled()) ) { probing code } or even (only probe if repo.add.probe=1): if ( ZConfig::instance().repo_add_probe() ) { probing code } and make sure that repo.add.probe is disabled during installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=326769#c4
--- Comment #4 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=326769#c5
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=326769#c6
--- Comment #6 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=326769#c7
--- Comment #7 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=326769#c8
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=326769
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=326769#c11
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=326769
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com