[Bug 395130] New: not having a DVD in try breaks
https://bugzilla.novell.com/show_bug.cgi?id=395130 Summary: not having a DVD in try breaks Product: openSUSE 11.0 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: coolo@novell.com QAContact: qa@suse.de Found By: --- If you eject the DVD, you get a fatal error that there is no medium in cd:///?devices=/dev/sr0 It used to (and should do) disable the repo due to errors and get the packages from another repo. -- 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=395130
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c1
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395130
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c2
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=395130
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c3
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=395130
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c5
--- Comment #5 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=395130
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c4
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=395130
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c6
--- Comment #6 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395130
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c7
--- Comment #7 from Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=395130
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395130
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c8
--- Comment #8 from Vincent Untz
it should disable every repo that can't be refreshed.
Actually, in my case, I'd still like to do "zypper search"... But maybe I should open another bug for this? -- 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=395130
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c9
--- Comment #9 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=395130
User vuntz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c10
--- Comment #10 from Vincent Untz
What do you mean? If the search fails because of a failed autorefresh, then it is the same issue as here.
coolo was suggesting that the repo should be disabled. I might be mistaken, but I'd guess that a disabled repo will not be used for searches. If I'm mistaken, then just ignore me :-)
BTW, try to disable the autorefresh for a specific run with --no-refresh global option, should help in your case.
Yes, I know about --no-refresh. But when I do "zypper search", I do not think "am I offline? If yes, I should use --no-refresh". I just do "zypper search". Each time I do that offline, I hope zypper could see I'm offline and automatically use --no-refresh. -- 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=395130
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c11
Ján Kupec
If you eject the DVD, you get a fatal error that there is no medium in cd:///?devices=/dev/sr0
It used to (and should do) disable the repo due to errors
It still does, but not in the commit phase, only while refreshing.
and get the packages from another repo.
This is a feature request and a non-trivial thing to do. Put it into FATE please. ------------------ I can reproduce this with plain 'mount': $ '/bin/mount' '-t' 'iso9660' '-o' 'ro' '/dev/sr0' /mnt/tmp/ mount: No medium found The medium is there of course, and repeating the command succeeds immediately (as well as hitting 'r' in zypper's prompt). However, mount used to (and should) wait for the medium to be read by the drive. Matthias? -- 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=395130
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c12
--- Comment #12 from Ján Kupec
(In reply to comment #9 from Ján Kupec)
What do you mean? If the search fails because of a failed autorefresh, then it is the same issue as here.
coolo was suggesting that the repo should be disabled. I might be mistaken, but I'd guess that a disabled repo will not be used for searches. If I'm mistaken, then just ignore me :-)
Yes, you're absolutely right. Your suggestion to ignore the refresh error and NOT disable the repository (as long as there is a previous solv cache available) make sense for query commands (at least some, which don't necessarily need the latest metadata). Please, open an enhancement request for this. -- 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=395130
User mkoenig@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=395130#c13
Matthias Koenig
participants (1)
-
bugzilla_noreply@novell.com