Add quit option to stepped mode

Bug #245644 reported by Rehan Khan on 2008-07-04
Affects Status Importance Assigned to Milestone
Smart Package Manager

Bug Description


Reason: Patch Review. If the -y option is given then how does this affect this option? Does this mean there is no way to quit?

further details:

msg756 (view) Author: netmask Date: 2006-10-08.14:36:40

The attached patch adds quit option for any transaction in "--stepped" mode.
Currently it only works into *text* mode (gtk is being coded).

I need someone else to test this patch to make sure it doesn't break any other
operations that asks for confirmations. Any help and feedback will be much

msg687 (view) Author: netmask Date: 2006-09-02.20:10:23

There are two possible solutions here:

a) Make a stepped transaction quit immediately when a user answers "no" at any
given step.

b) Make the internal askYesNo procedure also handles "quit" (but that would add
the "quit" option in any other transaction that would require confirmation,
which can be good or bad).

I vote for (b).

msg39 (view) Author: niemeyer Date: 2005-10-05.19:33:03

Makes sense. Will add that in a future version.

msg13 (view) Author: netmask Date: 2005-09-28.15:59:26

When installing/upgrading the system in stepped mode, after each group of
packages smart asks to confirm the changes. If "n" is given, it asks for the
next group, and continues to the end. I would suggest to add a quit ("q") option
so that one can gracefully abort the proccess at any time without having to ctrl+c.

(old ticket on

Rehan Khan (rasker) wrote :
Rehan Khan (rasker) on 2008-07-04
Changed in smart:
importance: Undecided → Wishlist
Changed in smart:
milestone: none → 1.4.1
Changed in smart:
milestone: 1.4.1 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers