What are defaults for "equo rm"

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
rsab
Simple Hen
Posts: 68
Joined: Thu Nov 26, 2015 14:48

What are defaults for "equo rm"

Post by rsab » Sat Dec 05, 2015 3:46

What are defaults for "equo rm" command regarding dependencies and configfiles. Will these be removed if --nodeps or --norecursive or --deep or --configfiles options are not used? Thanks.

User avatar
albfneto
Sagely Hen
Posts: 1936
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: What are defaults for "equo rm"

Post by albfneto » Mon Dec 07, 2015 18:57

default options removes the packages and some of dependencies...

for remove also the config files:

Code: Select all

# equo rm  -av --configfiles PACKAGE
for removing "less" dependencies:

Code: Select all

# equo rm  -av --relaxed PACKAGE
For removing only the package, without removing any dependencies:

Code: Select all

# equo rm  -av --nodeps PACKAGE
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

User avatar
sabayonino
Sagely Hen
Posts: 3569
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: What are defaults for "equo rm"

Post by sabayonino » Mon Dec 07, 2015 20:08

@alb : no --relaxed option for "equo rm" (for --install)

Code: Select all

equo rm -h
usage: equo remove [-h] [--ask | --pretend] [--verbose] [--nodeps]
                   [--norecursive] [--deep] [--empty] [--configfiles]
                   [--force-system]
                   <package> [<package> ...]

rimuovi pacchetti dal sistema

positional arguments:
  <package>       nome del pacchetto

optional arguments:
  -h, --help      show this help message and exit
  --ask, -a       chiedi prima di apportare qualsiasi modifica
  --pretend, -p   mostra ciò che verrebbe fatto
  --verbose, -v   output verbose
  --nodeps        escludi dipendenze del pacchetto
  --norecursive   non calcolare ricorsivamente le dipendenze
  --deep          includi le dipendenze non più necessarie
  --empty         se usato con --deep, includi i pacchetti virtuali
  --configfiles   rimuovi i file di configurazione del pacchetto non più
                  necessari
  --force-system  forza la rimozione dei pacchetti di sistema (pericoloso!)
"--norecursive" seem the best
Last edited by sabayonino on Tue Dec 08, 2015 19:48, edited 1 time in total.

rsab
Simple Hen
Posts: 68
Joined: Thu Nov 26, 2015 14:48

Re: What are defaults for "equo rm"

Post by rsab » Tue Dec 08, 2015 13:22

I am still not clear about difference between [--nodeps] and [--norecursive].

Also [--deep] is to remove ALL dependencies AND configfiles. Is that correct?

Post Reply