[Bug 450208] New: software management: installing packages -- ignore repository
https://bugzilla.novell.com/show_bug.cgi?id=450208 Summary: software management: installing packages -- ignore repository Product: openSUSE 11.1 Version: Beta 4 Platform: i586 OS/Version: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bluedzins@wp.pl QAContact: jsrain@novell.com Found By: --- software management: installing packages -- ignore repository Example: 1. I started SM 2. I selected some (100) packages to install 3. I clicked "accept" 4. it appeared that 50 of the packages are from repo A, and 50 are from repo B 5. and repo A is down So now I have to click 50 times "skip" for each package from repo A. Please add option to the error dialog popping up on every problem not only abort/skip/retry but also "skip all" or "ignore repo", this way user can do it once, for good. -- 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=450208
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=450208
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=450208
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c1
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=450208
User bluedzins@wp.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c2
Maciej Pilichowski
https://bugzilla.novell.com/show_bug.cgi?id=450208
User visnov@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c3
Stanislav Visnovsky
https://bugzilla.novell.com/show_bug.cgi?id=450208
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c4
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=450208
User bluedzins@wp.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c5
--- Comment #5 from Maciej Pilichowski
To avoid this problem, you should refresh the repositories _before_ selecting _lots_ of packages in the package selector and then realizing you can't install them.
I always do this. And it does not solve the problem (by definition).
This is not a good idea, as you can end up with severly broken system afterwards and being unable to recover from that.
Same for skip.
You should abort installation
Same for abort.
at that point, disable the repo manually, and start the package selection again.
Maybe I know what I am doing and simply don't want to waste time to go through all the selecting, resolving conflicts, etc. ? Very likely. There is no safe solution here, as long as Yast does not provide atomicy, rollback (already reported) and commit for whole operation or chunks of it. I could install 100 packages, 90th package will fail, I skip or abort and still end up with broken system. "Skip all" is just helper (wrapper) for skip -- it does not provide lower or higher safety of operation. No magic bullet here -- if you insist on safety, rollback is the key, making installation more obscure and tiresome does not help. -- 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=450208
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c6
--- Comment #6 from Ján Kupec
Jan -- you are of course for removing "skip" and "abort" as well. Because all arguments you gave hold for "skip"/"abort" too.
To avoid this problem, you should refresh the repositories _before_ selecting _lots_ of packages in the package selector and then realizing you can't install them.
I always do this. And it does not solve the problem (by definition).
Why? If the repo goes broken between the refresh and hitting 'Finish' to install the packages, then you just have bad luck. That's quite a corner-case. And skipping the failing packages won't make it any better for you.
You should abort installation
Same for abort.
No, if you abort at the very first 'can't get that package' error, you system is still in consistent state (putting aside circular dependencies). The packages are installed in correct order.
at that point, disable the repo manually, and start the package selection again.
Maybe I know what I am doing and simply don't want to waste time to go through all the selecting, resolving conflicts, etc. ? Very likely.
There is no safe solution here, as long as Yast does not provide atomicy, rollback (already reported) and commit for whole operation or chunks of it. I could install 100 packages, 90th package will fail, I skip or abort and still end up with broken system.
"Skip all" is just helper (wrapper) for skip -- it does not provide lower or higher safety of operation. No magic bullet here -- if you insist on safety, rollback is the key, making installation more obscure and tiresome does not help.
Agreed. And it is IMO not very useful - not much added value vs. work needed + risks. -- 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=450208
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c7
--- Comment #7 from Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=450208
User bluedzins@wp.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c9
--- Comment #9 from Maciej Pilichowski
To avoid this problem, you should refresh the repositories _before_ selecting _lots_ of packages in the package selector and then realizing you can't install them.
I always do this. And it does not solve the problem (by definition).
Why? If the repo goes broken between the refresh and hitting 'Finish' to install the packages, then you just have bad luck. That's quite a corner-case.
From my experience -- I see this dialog way to often. And I don't even keep
Not exactly -- for you -- maybe. For me -- very often. I often use wifi connection with AP that likes to break connection. The repo can be unavailable from the start, and it won't be disabled. There are hundreds of cases (HDD out of space) that you can predict now and such also that you didn't anticipate. So it not wise to say -- oh well, this feature is dangerous, but it will be used only from time to time. track why repos are failing, I usually hit retry, but then skip. What can I do else?
And skipping the failing packages won't make it any better for you.
Jan, look, without rollback with yast there is _no_ safe solution. Whatever you do -- skip/abort -- you are stuck. And it is your luck and your knowledge to recover from the situation. So, the second this dialogs appears -- the user is in danger.
Same for abort. No, if you abort at the very first 'can't get that package' error, you system is still in consistent state (putting aside circular dependencies). The packages are installed in correct order.
Not at all. I can get half KDE4.1.2 and half KDE4.1.3. There is not atomic install in yast -- sequencing installs does not solve this.
"Skip all" is just helper (wrapper) for skip -- it does not provide lower or higher safety of operation. No magic bullet here -- if you insist on safety, rollback is the key, making installation more obscure and tiresome does not help.
Agreed. And it is IMO not very useful - not much added value vs. work needed + risks.
Again, the problem is this dialog appears. This is the fact. All what you can do is dangerous and at that point user is really on his/her own. If user does not know what is going on -- he/she ends up with a mess anyway. But if user knows what is going on -- why not give him/her a hand. [ tex installation .......... *..... ] [ gimp installation .... ] * here dialogs appear -- it is pretty sane for me to skip tex repo and jump to gimp. I will get summary anyway, so I know what I should try to install again. But at least I get this gimp working right away. text, gimp here are of course just examples.
And BTW, hitting Skip after apparent repository errors is not very wise => implementing a Skip All for this case is even less so => this is simply not a valid use case, don't you think?
It is valid use because the button already exist. Wise -- depends of the user, dangerous -- sure. But there is no "safe" button there -- abort is dangerous as well. You can add safety only but adding underlying layer -- committing chunks (or rollback in failure case). Without "skip all" power-user has to abort (time) and waste time to do the exactly same thing that "skip all" would do -- but do it manually. Now -- what is the benefit? Users spends 10 minutes more and...? Just to clarify -- I would like very much seeing rollback and commit -- this would really improve opensuse. Also undo install (reported, rejected). This is safety -- anything else are just workaround. -- 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=450208
User bluedzins@wp.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c10
--- Comment #10 from Maciej Pilichowski
https://bugzilla.novell.com/show_bug.cgi?id=450208
User bluedzins@wp.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c11
--- Comment #11 from Maciej Pilichowski
https://bugzilla.novell.com/show_bug.cgi?id=450208
User jkupec@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c12
Ján Kupec
https://bugzilla.novell.com/show_bug.cgi?id=450208
User bluedzins@wp.pl added comment
https://bugzilla.novell.com/show_bug.cgi?id=450208#c13
--- Comment #13 from Maciej Pilichowski
participants (1)
-
bugzilla_noreply@novell.com