[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitude cancel actions



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Apr 08, 2007 at 01:12:12PM -0400, Mark Grieveson wrote:
> 
> > I don't understand what you mean. You want to tell Aptitude to do a
> > bunch of stuff, and then tell it to not do it?
> 
> I change my mind occasionally, yes.
> 

Then your best bet would be the Aptitude ncurses interface.

> > Well you could always use Aptitude at the console, 
> 
> Unless I'm having problems with X, and boot into my computer in single
> user mode as root for maintenance.
> 

Does ncurses not work in single user mode? Passing just the command
'aptitude' at any console (TTY1, xterm, ssh) should give a curses
interface.

> > it has a ncurses interface. Just mark the packages you want for
> > installation and quit the program without doing anything (Or run it
> > as non-root, you definitely won't break anything that way).
> 
> > Or you could use aptitude's dry-run option, as follows:
> 
> > $ aptitude --simulate install <whatever>
> 
> I suppose that's an option.  Again, I'm just curious if what is
> possible with a mouse is also possible via the keyboard.  I have found
> it useful to be able to change my mind and cancel pending actions.
> I've only been able to choose this command with the mouse.  So, simply
> put, can this command be done with the keyboard?
> 

Again, your best bet would be the ncurses interface. You choose from a
list what to install (Using the class vi hotkeys to search/parse), and
you can toggle what's being installed/uninstalled before it happens. Of
course, this is probably a bit more restrictive than Synaptic/any other
graphical implementation of APT, as is any console program to their
graphical counterpart.

If you're stuck in a terminal on a broken system though, you should be
able to fix the system up to a point where you can use Synaptic quite
easily with minimal hassle, if that's what you're worried about.

- -- 
 <o) Debian GNU/Linux - Free as in Freedom - 100% DFSG Free                
 /\\ http://digital-haze.net/~pobega/ - My Debian site and blog
_\_V Window Maker user, Debian enthusiast, Mutt lover
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGGSan/o7Q/FCvPe0RAtnKAJ9GtXRYav7DkvX88vWvm4zLDReq5gCeMUPZ
dL45iCltgNSShlny6+FFrj4=
=TGME
-----END PGP SIGNATURE-----



Reply to: