[Bug 292417] New: [preAlpha6] Cant add CD as repository
https://bugzilla.novell.com/show_bug.cgi?id=292417 Summary: [preAlpha6] Cant add CD as repository Product: openSUSE 10.3 Version: Alpha 5plus Platform: Other OS/Version: Other Status: NEW Severity: Blocker Priority: P5 - None Component: libzypp AssignedTo: jsrain@novell.com ReportedBy: kkaempf@novell.com QAContact: kkaempf@novell.com CC: coolo@novell.com, ma@novell.com, visnov@novell.com, dmacvicar@novell.com Found By: --- Calling "zypper sa cd:/ initial" reports success but actually fails. Running "zypper se ..." afterwards shows "Problem loading data from 'initial' Resolvables from 'initial' not loaded because of error." Logs will follow -- 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=292417#c1 --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2007-07-17 09:10:58 MST --- Created an attachment (id=151469) --> (https://bugzilla.novell.com/attachment.cgi?id=151469) zypper.log -- 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=292417#c2 --- Comment #2 from Klaus Kämpf <kkaempf@novell.com> 2007-07-17 09:22:32 MST --- Running "zypper refresh" fixes this. (Thanks Duncan !) -- 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=292417#c3 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Blocker |Critical Summary|[preAlpha6] Cant add CD as |Cant add CD as repository |repository | Version|Alpha 5plus |Alpha 6 --- Comment #3 from Stephan Kulow <coolo@novell.com> 2007-07-17 09:29:59 MST --- Yast2's dialog seems to refresh right after add, so the problem does not appear there -- 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=292417#c4 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsrain@novell.com |jkupec@novell.com --- Comment #4 from Michael Andres <ma@novell.com> 2007-07-17 09:56:48 MST --- Jano we should either add the missing .refreshMetadata() or include a hint in the error message. -- 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=292417#c5 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #5 from Ján Kupec <jkupec@novell.com> 2007-07-17 10:28:23 MST --- Generally i'd vote for a hint; i'll look through zypper's code for errors which can be caused by not calling refresh and print hints there. But this specific case is a CD. I think in case of CD/DVDs zypper should call refresh instantly after calling sa (well, addrepo :O). We can't allow user to shuffle CDs in the drives between several addrepos anyway. -- 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=292417#c6 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Critical |Normal --- Comment #6 from Ján Kupec <jkupec@novell.com> 2007-07-17 10:29:20 MST --- it's not critical though.. -- 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=292417#c7 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lslezak@novell.com Summary|Cant add CD as repository |Refresh hint missing in zypper --- Comment #7 from Ján Kupec <jkupec@novell.com> 2007-07-17 10:42:25 MST --- (In reply to comment #3 from Stephan Kulow)
Yast2's dialog seems to refresh right after add, so the problem does not appear there
Yes, but this will change shortly - repos will be refreshed only after clicking Finish or what button do we have there in the inst_source. But how to handle CDs then? Adding Lada to CC, so that he is aware of this. This particular matter should be discussed in this thread on zypp-devel: http://lists.opensuse.org/zypp-devel/2007-06/msg00071.html. Maybe discussion about zypper's refresh policy could take place there, too. -- 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=292417#c8 --- Comment #8 from Stanislav Visnovsky <visnov@novell.com> 2007-07-18 01:21:41 MST --- I don't think it is good idea to have different behavior for different URI types, this will be confusing. I see 2 problems here: 1) the message reported is strange, thus hint should do 2) zypper should at least provide possibility to refresh as part of adding a repo, I don't have opinion what should be a default there. -- 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=292417#c9 --- Comment #9 from Klaus Kämpf <kkaempf@novell.com> 2007-07-18 02:12:54 MST --- Well, if you don't have an opinion about the default, I certainly do ;-) The default should be 'refresh on' and 'enabled' When the user adds (or changes) a repository, error messages about reachability and validity of the repo should be reported _immediately_. So "zypper sa" should - request the media (ask for cd, try network connection, etc.) - download the metadata - parse the metadata and report any problems to the user. The yast 'repository management' module must show the same behaviour. If the user is experienced enough to e.g. run "zypper sa" without network, a "--norefresh" (or some similar word) option should be available to delay the download/parsing to a later point in time. -- 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=292417#c10 --- Comment #10 from Ján Kupec <jkupec@novell.com> 2007-07-18 05:34:34 MST --- please, take this discussion out to the mailing list. See comment #7. also check FATE #301989 -- 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=292417#c11 --- Comment #11 from Ján Kupec <jkupec@novell.com> 2007-07-18 05:38:53 MST --- and FATE #301894 -- 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=292417#c12 --- Comment #12 from Klaus Kämpf <kkaempf@novell.com> 2007-07-18 07:06:10 MST --- It seems as if 'initial download' and 'refresh' are mixed up in the FATE requests. I'm talking about 'initial download' in comment #9. -- 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=292417#c13 --- Comment #13 from Ladislav Slezak <lslezak@novell.com> 2007-07-18 07:47:28 MST --- JFYI: there is a feature request for batch registering of sources, see FATE #301730. Basically it means that we should do downloading and parsing _after_ [Finish] is pressed. But it's complicated by the fact that we need to display messages and license (if present), so it might not be really batch in every case (license from CD should be displayed immediately, licenses from network sources can be downloaded/accepted later in a batch). -- 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=292417#c14 --- Comment #14 from Klaus Kämpf <kkaempf@novell.com> 2007-07-18 08:37:49 MST --- How should error handling (repo not reachable, typo in URL, etc.) be done in batch processing ? -- 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=292417#c15 --- Comment #15 from Ladislav Slezak <lslezak@novell.com> 2007-07-18 23:19:51 MST --- I would use just the simplest solution: stop when an error occurs. So that means the it won't be "true batch" adding, but rather "grouped adding". -- 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=292417#c16 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #16 from Ján Kupec <jkupec@novell.com> 2007-07-23 06:53:35 MST --- *** Bug 293070 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=293070 -- 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=292417#c17 --- Comment #17 from Ján Kupec <jkupec@novell.com> 2007-08-16 06:47:07 MST --- The error handling has been improved, so i will close this bug. For new issues, open new reports please, so that it is clear what needs to be fixed. Regarding the problem of adding CDs, i've changed zypper to automatically refresh them after adding and set the repo to autorefresh=false. will be submitted in zypper>0.8.11 -- 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=292417#c18 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #18 from Ján Kupec <jkupec@novell.com> 2007-08-17 07:23:30 MST --- submitted -- 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.
participants (1)
-
bugzilla_noreply@novell.com