Bug 300886

Summary: repositories added prior to install are not usable during install
Product: [openSUSE] openSUSE 10.3 Reporter: Jacob Caudill <novell>
Component: libzyppAssignee: Lukas Ocilka <locilka>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None CC: aj, dmacvicar, locilka, ma, schubi
Version: Beta 1   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast 2 logs

Description Jacob Caudill 2007-08-16 02:09:22 UTC
If you choose to add installation repositories before install, you are offered debug, oss(factory for beta1), and non-oss. These sources were added successfully, however when I got to the software selection, these sources were not available. Changing filter to "Repositories" only shows the cd media(I am using kde install cd).

I'm not sure if this is the intended functionality but common sense would suggest that adding installation sources prior to installation would be for the purpose of using those sources during installation.
Comment 1 Jacob Caudill 2007-08-16 03:57:51 UTC
one correction, I did not actually add the debug repository.

after the install finished and I was at yast -> software repositories, I saw that OSS and NON-OSS were listed and enabled along with my cd media, however the debug repository was also listed(as a url instead of having a nice name like the NON-OSS and OSS) but not enabled. It seems to me this repository should not have even been listed and should only be on the community repository module. should i open a new bug regarding this?
Comment 2 Andreas Jaeger 2007-08-16 04:52:15 UTC
Jacob, could you add the YaST log files as described in bugs.opensuse.org, please?
Comment 3 Jacob Caudill 2007-08-16 06:05:16 UTC
Created attachment 157829 [details]
yast 2 logs

please let me know if you need anything else.
Comment 4 Jan Kupec 2007-08-16 08:49:26 UTC
It looks like a zypp problem:

2007-08-16 01:56:49 <1> alice(29020) [wfm] Callbacks.cc(finish):468 ProgressFinish: id:22, Reading repository 'FACTORY - Main Repository (OSS)' cache
2007-08-16 01:56:49 <1> alice(29020) [YCP] PackageCallbacks.ycp:2110 ProgressFinish: 22
2007-08-16 01:56:50 <1> alice(29020) [wfm] Source.cc(LoadResolvablesFrom):2475 Loaded 23676 resolvables
2007-08-16 01:56:50 <1> alice(29020) [wfm] Source.cc(LoadResolvablesFrom):2498 Pool size at end: 7150 (loaded 6409 resolvables)

I.e.: ResStore returned by RepoManager::createFrom() contains 23676 resolvables, but after adding them to the pool, only 6409 is added to the pool. It looks like this should be reproducable with zypper as well. Gonna try...

Schubi, can you check this, too?

OFF TOPIC: do we really want factory during installation of 10.3? What do i install then? (responses to this on ML or IRC please :O)
Comment 5 Stanislav Visnovsky 2007-08-16 08:54:18 UTC
Ad OFF TOPIC: 10.3 FTP tree should be used in the 10.3 final.
Comment 6 Jan Kupec 2007-08-16 09:28:40 UTC
(In reply to comment #4 from Ján Kupec)
> I.e.: ResStore returned by RepoManager::createFrom() contains 23676
> resolvables, but after adding them to the pool, only 6409 is added to the pool.
> It looks like this should be reproducable with zypper as well. Gonna try...

Forget the above in this case, that was from the second stage, or later.
Comment 7 Jan Kupec 2007-08-16 09:36:42 UTC
(In reply to comment #6 from Ján Kupec)
> (In reply to comment #4 from Ján Kupec)
> > I.e.: ResStore returned by RepoManager::createFrom() contains 23676
> > resolvables, but after adding them to the pool, only 6409 is added to the pool.
> > It looks like this should be reproducable with zypper as well. Gonna try...
> 
> Forget the above in this case, that was from the second stage, or later.
> 

However, it may apply to the first stage as well. It seems the factory is loaded at last, but only those cca 6000 resolvables were added to the pool:


2007-08-16 00:35:50 <1> alice(23080) [wfm] Callbacks.cc(finish):468 ProgressFinish: id:14, Reading repositor
y 'http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/' cache
2007-08-16 00:35:50 <1> alice(23080) [YCP] PackageCallbacks.ycp:2110 ProgressFinish: 14
2007-08-16 00:35:50 <1> alice(23080) [wfm] Source.cc(LoadResolvablesFrom):2386 Loaded 23676 resolvables

Later, the pool dump indicates there are only cca 7000 resolvables in the pool.

Also, in the package selection/conflict resolution dialogs the factory packages were considered:


2007-08-16 00:38:09 <0> alice(23080) [zypp] Resolver_problems.cc(problems):342 Problem: ResolverInfo<CONFLICT_CANT_INSTALL> yast2-mail-2.15.20-3.noarch[http://download.opensuse.org/distribution/SL-OSS-factory/inst-so
urce/]  Error!>>A conflict over yast2-mail-aliases (yast2-mail-aliases <= 2.14.0) requires the removal of to-be-installed yast2-mail-2.15.20-3.noarch[http://download.opensuse.org/distribution/SL-OSS-factory/inst-sour
ce/]<<, Trigger: none
2007-08-16 00:38:09 <0> alice(23080) [zypp] Resolver_problems.cc(problems):343 ; Evaluate solutions...
2007-08-16 00:39:07 <1> alice(23080) [qt-pkg] YQPkgConflictList.cc(userSelectedResolution):376 User selected resolution "do not install yast2-mail" for problem "Cannot install yast2-mail-2.15.20-3.noarch[http://download.opensuse.org/distribution/SL-OSS-factory/inst-source/] because it is conflicting with yast2"
Comment 8 Jan Kupec 2007-08-16 10:20:37 UTC
Schubi, please check, if it is a problem with adding resolvables from ResStore to the pool. Or are there invalid resolvables in the ResStore read from the db (or incorrectly parsed? => duncan, ma).

BTW, i cannot reproduce the problem with zypper with current factory.
Comment 9 Stefan Schubert 2007-08-16 12:47:43 UTC
It is very simple to reproduce. Just start installation of Beta1, add the threee online repos and go to the single selelction. Only the "base" source will be shown. And only packages of "base" source will be shown too. e.G. I have check RealPlayer which should be available on repo http://download.opensuse.org/distribution/SL-Factory-non-oss/inst-source-extra/
too. Jano, there is something different between inst_sys and zypper calls in a running system. Please check it.
Comment 11 Peter Buschbacher 2007-08-16 19:18:10 UTC
I marked this as duplicate of Bug 298422 - Beta1 - Internet Repositories are initialized but not visible in Packager. Please recheck with Beta2, as I will do.

except
Comment #1
>It seems to me this repository should not have even been listed and should only be >on the community repository module. should i open a new bug regarding this?

I think I read before about this behaviour, and there was a kind of explanation I can't remember now. Anyway, this should be another bug with moderate severity.
Peter Buschbacher

*** This bug has been marked as a duplicate of bug 298422 ***