You are not logged in.

#1 2011-04-11 12:21:32

veek
Member
Registered: 2006-03-10
Posts: 167

pacman -Rd broken?

Has anyone else experienced this? Recently I'm unable to force uninstall dependencies.

Tried removing ati-dri so I can replace it with ati-dri-git:

]# pacman -Rd ati-dri
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: xf86-video-ati: requires ati-dri

Seems dependency checks aren't being skipped.

Pacman Version: Pacman v3.5.1 - libalpm v6.0.1

Offline

#2 2011-04-11 12:24:33

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: pacman -Rd broken?

You have to do pacman -Rdd

-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

#3 2011-04-11 12:38:43

veek
Member
Registered: 2006-03-10
Posts: 167

Re: pacman -Rd broken?

Thanks, that did the trick. Why two ds? I'm pretty sure it was just one at some point in the past. Scanning Pacman's manpage didn't reveal any explanation to me.

Offline

#4 2011-04-11 12:42:06

Dogmeat
Member
From: Slovak Republic
Registered: 2009-02-24
Posts: 193

Re: pacman -Rd broken?

This behaviour was changed in pacman 3.5. pacman -Rd only skips version checks while pacman -Rdd skips all dependency checks.

Offline

#5 2011-04-11 12:55:25

veek
Member
Registered: 2006-03-10
Posts: 167

Re: pacman -Rd broken?

Ah I see. Man page needs a little updating.

Nice getting near instant responses in the forum.

edit: Oops, my fault. Missed the last sentence in the description for -d when I was scanning the manpage.

Last edited by veek (2011-04-11 12:58:18)

Offline

#6 2011-04-11 13:00:26

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman -Rd broken?

veek wrote:

Ah I see. Man page needs a little updating.

Nice getting near instant responses in the forum.

It's in the manpage:

TRANSACTION OPTIONS (APPLY TO -S, -R AND -U)
       -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.

Emphasis mine.


Edit: Glad you found it.

Last edited by karol (2011-04-11 13:01:20)

Offline

Board footer

Powered by FluxBB