Bug 201121

Summary: no X after reboot during installation
Product: [openSUSE] openSUSE 10.2 Reporter: Andreas Jaeger <aj>
Component: InstallationAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: locilka, lslezak, pmladek, suse-beta
Version: Alpha 3 plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast log files

Description Andreas Jaeger 2006-08-23 09:31:56 UTC
after the initial reboot, yast comes up in ncurses.
Comment 1 Andreas Jaeger 2006-08-23 09:32:38 UTC
Created attachment 96858 [details]
Yast log files
Comment 2 Jiri Srain 2006-08-23 11:09:26 UTC
Lado, it looks like both Pkg::IsProvided("xorg-x11") and Pkg::IsSelected ("xorg-x11") return false even though the package had been installed.

Please, check whether this is bindings or ZYPP problem.

After getting this fixed, remove the temporary fix in x11_finish.ycp, please.
Comment 3 Ladislav Slezák 2006-08-24 11:03:16 UTC
Xorg packages were installed correctly in the first stage according to the log.

The log says:

2006-08-23 09:26:31 <1> linux(4033) [liby2] genericfrontend.cc(main):200 Launched YaST2 component 'y2base' 'installation' '("continue")' 'ncurses' '--nothreads'

So Yast was started in ncurses by the start script.

It's strange, I wasn't able to reproduce it in Alpha3plus.

Andreas, did you do something extra?
Jiri, I don't understand your comment, it doesn't seem to be related the package manager.
Comment 4 Andreas Jaeger 2006-08-24 11:09:34 UTC
Jiri fixed my initial problem yesterday with:

-------------------------------------------------------------------
Wed Aug 23 13:05:35 CEST 2006 - jsrain@suse.cz

- temporary fix to copy /etc/X11/xorg.conf to the system during
  installation (#201121)
- 2.13.145

Not sure what else needs to be done.
Comment 5 Ladislav Slezák 2006-08-24 11:23:55 UTC
Oh, I see! Now I understand it...
Comment 6 Ladislav Slezák 2006-08-24 13:59:08 UTC
After I have added a Pkg::ResolvableProperties() call the log contains:

2006-08-24 15:18:29 <1> 10.20.1.46(3242) [wfm] clients/x11_finish.ycp:59 Pkg Builtin called: ResolvableProperties
2006-08-24 15:18:29 <5> 10.20.1.46(3242) [YCP] clients/x11_finish.ycp:59 ResolvableProperties(xorg-x11): [$["arch":"i586", "description":"<!-- DT:Rich -->\nThis package contains the X.Org core and sample applications.", "name":"xorg-x11", "source":2, "status":`available, "summary":"X.Org core and sample applications", "version":"7.1-16"]]
2006-08-24 15:18:29 <1> 10.20.1.46(3242) [wfm] clients/x11_finish.ycp:62 Pkg Builtin called: IsProvided
2006-08-24 15:18:29 <1> 10.20.1.46(3242) [wfm] Package.cc(IsProvided):434 IsProvided called
2006-08-24 15:18:29 <1> 10.20.1.46(3242) [wfm] clients/x11_finish.ycp:65 Pkg Builtin called: IsSelected
2006-08-24 15:18:29 <1> 10.20.1.46(3242) [YCP] clients/x11_finish.ycp:68 x11_installed: <false>


The problem seems to be on zypp side, x11-org package is not marked as selected or installed.

Duncan, could you look at it please?
Comment 7 Lukas Ocilka 2006-09-22 08:15:57 UTC
*** Bug 206487 has been marked as a duplicate of this bug. ***
Comment 8 Lukas Ocilka 2006-09-22 08:18:03 UTC
Temporary fix of this bug leads into another one, see bug #206487. It's vitally important to have it fixed in Alpha5.
Comment 9 Ladislav Slezák 2006-09-22 12:25:11 UTC
This a duplicate of bug #202088. I removed the workaround from x11_finish.ycp and added a workaround (target reinitialization) into inst_rpmcopy.ycp (yast2-packager-2.13.151).

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