Bug 151436

Summary: Beta 3.95 - Problem installing from CD
Product: [openSUSE] SUSE Linux 10.1 Reporter: Holger Sickenberg <holgi>
Component: InstallationAssignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Blocker    
Priority: P5 - None CC: aj, mt, suse-beta
Version: Beta 4   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: YaST2.tgz
complete /var/log/Yast2
YaST2.tgz

Description Holger Sickenberg 2006-02-16 09:53:41 UTC
Following problem:

installatiopn form cd1 went fine, rebooting as well.
but when you leave cd1 in drive when rebooting,
yast tells you:

Cannot access installation media SUSE LINUX CD 2. Check that the server is accessible. -> Media Exception

and you cannot open the CD/DVD drive to change the cd

when switching to console 2 and do a manually 'eject' it will work
but you do have another problem then:

now yast asks me to insert cd3 without installing any package from cd2

YaST2-logs are attached
Comment 1 Holger Sickenberg 2006-02-16 09:55:42 UTC
Created attachment 68779 [details]
YaST2.tgz
Comment 2 Marco Michna 2006-02-16 10:42:44 UTC
Created attachment 68789 [details]
complete /var/log/Yast2
Comment 3 Holger Sickenberg 2006-02-16 11:20:07 UTC
Created attachment 68801 [details]
YaST2.tgz

new /var/log/YaST" as requested
Comment 4 Stanislav Visnovsky 2006-02-16 11:31:06 UTC
1. eject button - ZYPP and YaST do not agree on the cd:// URL format
This is fixed in SVN trunk, don't know if we want it for beta4

2. media handling - ZYPP considered Retry as Ignore. working on a fix.
Comment 5 Andreas Jaeger 2006-02-16 13:31:52 UTC
ad 1: I just want that patch that fixes it, nothing more.  Is that possible?
Comment 6 Klaus Kämpf 2006-02-16 16:11:03 UTC
YaST asks for CD2, thats ok.

Looking at the logs:

- media handler attaches the CD drive
- zypp tries to get alsa-tools from the CD, which fails
- MediaHandler throw exception
- YaST shows "please insert CD2" popup

Looks like MediaHandler (or YaST) should release the media after the exception ?!
Comment 7 Klaus Kämpf 2006-02-16 16:11:52 UTC
/proc/mounts shows the CD drive as mounted
Comment 8 Klaus Kämpf 2006-02-16 16:14:07 UTC
doing an "eject" on cmdline opens the drive
inserting CD2 and clicking "ok" continues

But it does not retry the failed file by tries to install aspell-ro from CD3
Comment 9 Stanislav Visnovsky 2006-02-16 16:16:11 UTC
I've tried to do release on 'eject' and on 'retry'.
Comment 10 Holger Sickenberg 2006-02-17 09:01:56 UTC
Same problem with current "Beta 4"
Comment 11 Holger Sickenberg 2006-02-17 09:35:05 UTC
OK, a work around would be:
- reboot with CD1 in drive
- press the "Eject" button when yast prompts for CD2
- insert CD2 and press OK

Be sure to don't change anything of the described way because if you do a 'mistake' system will not prompt fro CD2 again but for CD3
Comment 12 Stanislav Visnovsky 2006-02-21 11:44:57 UTC
Should be fixed by rev. 150237
Comment 13 Stanislav Visnovsky 2006-02-21 11:48:26 UTC
*** Bug 152305 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Jaeger 2006-02-21 18:09:41 UTC
What kind of revision is this?  Which package?
Comment 15 Stanislav Visnovsky 2006-02-22 06:10:40 UTC
Sorry, it's libzypp.
Comment 16 Stanislav Visnovsky 2006-02-22 07:18:22 UTC
This is still there for beta5.

SourceManager stores the cache_dir including the changeroot.
Comment 17 Stanislav Visnovsky 2006-02-22 09:00:55 UTC
rev. 1950 of libzypp contains a fix.

Now, if I start the source from cache, I'm getting exception 'bad alloc'
when 2nd CD package installation starts.

This does not occur on non-cached source.
Comment 18 Stanislav Visnovsky 2006-02-23 10:21:40 UTC
*** Bug 153044 has been marked as a duplicate of this bug. ***
Comment 19 Duncan Mac-Vicar 2006-03-03 13:44:03 UTC
Fixed, reopen if persists. (Since rev 2001)