You are not logged in.

#1 2010-11-14 00:10:05

vfbsilva
Member
From: Brazil
Registered: 2010-04-08
Posts: 103

Checking for Broken Dependencies

How can I perform such task in pacman?

Regards.

Offline

#2 2010-11-14 00:17:29

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

Re: Checking for Broken Dependencies

testdb?  lddd?  Depends what you mean by broken dependencies...

Offline

#3 2010-11-14 00:21:51

vfbsilva
Member
From: Brazil
Registered: 2010-04-08
Posts: 103

Re: Checking for Broken Dependencies

Like which command should I use after romoving a bunch of packages to check if nothing is missinga dep.

Offline

#4 2010-11-14 00:31:25

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

Re: Checking for Broken Dependencies

testdb.   But pacman will not remove needed dependencies unless you use "-d" which is bad...

Offline

#5 2010-11-14 00:31:47

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: Checking for Broken Dependencies

testdb is what your looking for, though unless you've been messing with the -d option with pacman it's hard to accidentally remove a dependency.

Offline

#6 2010-11-14 00:32:21

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Checking for Broken Dependencies

How are you removing packages? pacman -Rs removes packages and unneeded dependencies.

You need to intentionally do pacman -Rd pkg to get rid of a required package.

Offline

#7 2010-11-14 06:08:33

vfbsilva
Member
From: Brazil
Registered: 2010-04-08
Posts: 103

Re: Checking for Broken Dependencies

thestinger wrote:

How are you removing packages? pacman -Rs removes packages and unneeded dependencies.

You need to intentionally do pacman -Rd pkg to get rid of a required package.

I'm using pacman -R without the s. So for now on I will use -Rs thanks a lot!

Offline

#8 2010-11-14 19:54:40

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: Checking for Broken Dependencies

you can use pacman -Qdt to see if you have any orphaned dependencies from when you were removing stuff before

Offline

Board footer

Powered by FluxBB