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

On Thu, Feb 23, 2017 at 08:21:43AM -0500, Gene Heskett wrote:
> On Thursday 23 February 2017 06:10:44 to...@tuxteam.de wrote:
> 
> > On Thu, Feb 23, 2017 at 10:58:49AM +0000, Lisi Reisz wrote:
> > > On Wednesday 22 February 2017 17:32:46 Richard Owlett wrote:
> > > > Learn to love apt-get. I does some things more conveniently than a
> > > > GUI can. YMMV ;!
> > >
> > > aptitude is great on the command line.  And does some things (but
> > > not all) more conveniently than apt-get. Besides, it is NOT a GUI
> > > application.  It can be run as a TUI. </plug>
> >
> > Most definitely. I use both: for search and show, I love aptitude
> > (perhaps some familiarity factor). For install/remove I use apt-get:
> > its more simple-minded resolution algorithm is essential to cope
> > with the Frankendebian horror shows I tend to throw at it (aptitude
> > tends to ponder for a while and proposes to rip out 3/4 of that
> > mess :-)
> 
> Unfortunately, for me aptitude has elected to rip out something like 272 
> packages too many times, some of which were the heart of the os. I let 
> it do it once on a machine I could afford to lose.  I had to reinstall. 

[...]

Fortunately, I have a nice tip for you there: enter aptitude's "-s"
option, meaning "simulate". To go extra sure, you can invoke it as
a regular user (it really works then -- as opposed to some other
programs we have discussed a couple of moons ago ;-P

You can do as a regular user:

  tomas@rasputin:~$ aptitude -s install wordpress
  The following NEW packages will be installed:
    apache2{a} apache2-bin{a} apache2-data{a} libapache2-mod-php5{a} 
libaprutil1-dbd-sqlite3{a} libaprutil1-ldap{a} libjs-cropper{a} 
    libjs-mediaelement{a} libjs-prototype{a} libjs-scriptaculous{a} 
libjson-c2{a} libonig2{a} libphp-phpmailer{a} libqdbm14{a} 
    mysql-client{a} mysql-client-5.5{a} php-getid3{a} php5-cli{a} 
php5-common{a} php5-gd{a} php5-json{a} php5-mysql{a} wordpress 
    wordpress-theme-twentyfifteen{a} 
  The following packages are RECOMMENDED but will NOT be installed:
    php5-readline wordpress-l10n 
  0 packages upgraded, 24 newly installed, 0 to remove and 488 not upgraded.
  Need to get 13.3 MB/13.3 MB of archives. After unpacking 83.9 MB will be used.
  Do you want to continue? [Y/n/?] 

and enter "y" with impunity. No wordpress (phew ;^)

Then, aptitude has no chance to touch your holy package databases.

But I don't use it for that. I appreciate search, show, why and a
couple of other subcommands, which I invoke as a regular user.

Enjoy
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAliu4/QACgkQBcgs9XrR2kaP8QCfei0xBTOENp+wobCuY64s42tN
6ucAoIAkjtXqcauf2l8EbhSP558mnrUm
=3/Pv
-----END PGP SIGNATURE-----

Reply via email to