You are not logged in.

#1 2017-06-12 04:08:49

Stencon281
Member
Registered: 2016-09-21
Posts: 40

Pacman package removal question

To remove a package, which is required by another package, without removing the dependent package: 

# pacman -Rdd package_name

If package foo has a dependency called bar and package bar has a dependency called bar1, if I performed the above command on package bar would it only remove bar1?

So therefore...

pacman -Rdd foo 

would output

Dependency tree

bar : requires
   |---- foo : requires
            |----foobar

removing package foo

Am I understanding this pacman command correctly? If not some clarification is greatly appreciated!

https://wiki.archlinux.org/index.php/pa … g_packages

Offline

#2 2017-06-12 05:04:59

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,673
Website

Re: Pacman package removal question

-Rdd does not dependency checks, so it just removes exactly what you ask for.

Offline

#3 2017-06-12 06:21:40

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,887

Re: Pacman package removal question

If this isn't still ArchlinuxARM (https://bbs.archlinux.org/viewtopic.php?id=220413, https://bbs.archlinux.org/viewtopic.php?id=220873) and I should guess a question into your OP (which is probably an xy question) I'd say you're looking for pactree ...

Offline

Board footer

Powered by FluxBB