You are not logged in.

#1 2021-04-30 09:46:43

korimitsu
Member
Registered: 2016-08-14
Posts: 122

Rdd not explained in manpage

The command "pacman -Rdd" is meant to uninstall packages that other packages are dependant on. However the manpage does not explain the reason to use double d.

Must be an Arch must-know secret feature, because on Debian never saw such incongruence. A feature used in the wiki but not mentioned in the manpage.
https://archlinux.org/pacman/pacman.8.html

Last edited by korimitsu (2021-04-30 09:47:59)

Offline

#2 2021-04-30 09:50:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Rdd not explained in manpage

You're wrong, -dd is for skipping dependency checks altogether and allow you to remove something that other packages would depend on  and apply to a variety of options which are grouped up under: https://archlinux.org/pacman/pacman.8.h … nd_em_u_em

Last edited by V1del (2021-04-30 09:51:25)

Offline

#3 2021-04-30 09:54:00

korimitsu
Member
Registered: 2016-08-14
Posts: 122

Re: Rdd not explained in manpage

That's a little bit shady...so using "--nodeps --nodeps" would equal to "-dd"?

Offline

#4 2021-04-30 09:56:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Rdd not explained in manpage

... well yes, what's shady here exactly? long and short options are freely interchangeable you can also do -Rd --nodeps if you want, it doesn't matter and this isn't really pacman specific lots of unix tools do that via getopts

Last edited by V1del (2021-04-30 09:57:03)

Offline

#5 2021-04-30 10:17:39

korimitsu
Member
Registered: 2016-08-14
Posts: 122

Re: Rdd not explained in manpage

Well the manpage mentions using d twice but not nodeps twice. Certainly needs improvement or a new entry, like u can use the switch twice or something like that.

Last edited by korimitsu (2021-04-30 10:18:38)

Offline

#6 2021-04-30 10:27:30

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: Rdd not explained in manpage

korimitsu wrote:

Well the manpage mentions using d twice but not nodeps twice. Certainly needs improvement or a new entry, like u can use the switch twice or something like that.

What man page are you looking at?

man pacman wrote:

       -d, --nodeps
           Skips dependency version checks. Package names are still checked. Normally, pacman will always check a
           package’s dependency fields to ensure that all dependencies are installed and there are no package
           conflicts in the system. Specify this option twice to skip all dependency checks.

Offline

#7 2021-04-30 10:29:01

korimitsu
Member
Registered: 2016-08-14
Posts: 122

Re: Rdd not explained in manpage

That's right I misread the manpage.

Offline

Board footer

Powered by FluxBB