[Bug 293428] New: Unable to change CD after pacage installation started
https://bugzilla.novell.com/show_bug.cgi?id=293428 Summary: Unable to change CD after pacage installation started Product: openSUSE 10.3 Version: Alpha 6 Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: nderkach@gmail.com QAContact: jsrain@novell.com Found By: --- A testcase: installation of KDE CD with Lang Add-On CD. Language addon was successfully added and the medium was left in drive. When package installation started yast complains about missed package on the media (a window with "Retry", "Abort", "Skip" buttons appears), but there is no way to change it (eject CD) manually. The only way it to abort installation. I think maybe it's worth to add "Eject" button to that window or make a media validation before package installation start. -- 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=293428
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428
Matej Horvath
https://bugzilla.novell.com/show_bug.cgi?id=293428#c1
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=293428#c2
--- Comment #2 from Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c3
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c4
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=293428#c5
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c5
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c6
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c7
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c8
--- Comment #8 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c10
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c11
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c12
--- Comment #12 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c13
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=293428#c14
Ruediger Oertel
https://bugzilla.novell.com/show_bug.cgi?id=293428#c15
--- Comment #15 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c16
--- Comment #16 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c17
--- Comment #17 from Nikolay Derkach
If the user says he added a lang addon, and nonOSS != lang addon, then it means either that Repository is the lang addon, and it is broken, or the user never added the lang addon cd and ended adding the main media twice.
I can reproduce it on both Lang and NonOSS CDs. But the comment #11 refers to setup with KDE CD plus NonOSS CD. -- 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=293428#c18
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c19
--- Comment #19 from Ján Kupec
The point of the bug, is why the code insists there is no verifier for that repository later when getting the file.
It seems the critical point is the isFileExist for that media file. But as I said, I can't reproduce it on beta3
Indeed, RepoInfo::isFileExist() returns false if the repo alias happens to contain white space: /var/cache/zypp/raw/openSUSE-10.3-OSS-KDE 10.3342JpN/media.1/media /var/cache/zypp/raw/openSUSE-10.3-OSS-KDE (which is what ::stat() probably sees) really does not exist. The bug can be fixed in PathInfo::operator()() by escaping the special characters in the path string given to ::stat() or ::lstat() or in RepoManager::rawcache_path_for_repoinfo() by filtering the special characters in the alias when creating the raw cache path. -- 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=293428#c20
--- Comment #20 from Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c21
--- Comment #21 from Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c22
Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c23
--- Comment #23 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c24
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c25
--- Comment #25 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c26
--- Comment #26 from Nikolay Derkach
https://bugzilla.novell.com/show_bug.cgi?id=293428#c27
--- Comment #27 from Ján Kupec
Should I open a separate bug for comment #22?
Well, it should not be needed, if the other stuff worked correctly, but that's something for the YaST folks to decide. So yes, please open a new bug report (severity: enhancement). Thanx! -- 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=293428#c28
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=293428#c29
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c30
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=293428#c31
--- Comment #31 from Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=293428#c32
--- Comment #32 from Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=293428#c33
Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=293428
Holger Sickenberg
https://bugzilla.novell.com/show_bug.cgi?id=293428#c34
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c35
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=293428
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c36
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c37
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c38
--- Comment #38 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c39
--- Comment #39 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c40
--- Comment #40 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c41
--- Comment #41 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=293428
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=293428
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=293428#c42
--- Comment #42 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=293428#c43
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=293428#c44
--- Comment #44 from Lukas Ocilka
From libzypp side, Jano will propose a solution and discuss the patch with other libzypp guys.
-- 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=293428#c45
--- Comment #45 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=293428#c46
--- Comment #46 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c48
--- Comment #48 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c49
--- Comment #49 from Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=293428#c50
--- Comment #50 from Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=293428#c51
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=293428#c52
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=293428#c53
--- Comment #53 from Christoph Thiel
https://bugzilla.novell.com/show_bug.cgi?id=293428#c54
Ján Kupec
ok, all packages are in and it's still crashing when you try to change from Is the patch proposed in comment #46 also in? From the logs (comment #53) it does not seem so. Note that the patch has not been submitted into svn yet!
However, Lada did his test with the patch included, so this should really be fixed. Will check that with Lada. -- 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=293428
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=293428#c55
Ján Kupec
participants (1)
-
bugzilla_noreply@novell.com