You are not logged in.

#1 2011-08-04 04:50:21

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

pacman -Qdt output question

Hi everyone, my question is:

Is it always safe to remove the pacman -Qdt output?

thanks in advance.

Offline

#2 2011-08-04 05:21:37

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

Re: pacman -Qdt output question

Safe - yes, but often you want to keep them e.g. firefox :-)

Offline

#3 2011-08-04 12:35:40

Mr. Alex
Member
Registered: 2010-08-26
Posts: 623

Re: pacman -Qdt output question

Is it always safe to remove the pacman -Qdt output?

Sometimes I find packages that I use in there. They were installed as dependencies. So you better check every package before deleting them all.

Offline

#4 2011-08-04 13:26:17

chemicalfan
Member
From: United Kingdom
Registered: 2011-05-25
Posts: 58

Re: pacman -Qdt output question

Yeah, I've broken a couple of things recently by removing things from that list. Some things get listed as dependencies when they are actual apps (e.g. hddtemp). I don't really trust it, I'd double-check each one against Arch's package database before removing them

Offline

#5 2011-08-04 13:28:21

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

Re: pacman -Qdt output question

chemicalfan wrote:

Yeah, I've broken a couple of things recently by removing things from that list. Some things get listed as dependencies when they are actual apps (e.g. hddtemp). I don't really trust it, I'd double-check each one against Arch's package database before removing them

http://www.archlinux.org/packages/extra/i686/hddtemp/ <- no package from the official repos needs it
Out of curiosity, what broke when you removed the package?

things get listed as dependencies when they are actual apps

I don't get this part.

Last edited by karol (2011-08-04 13:31:23)

Offline

#6 2011-08-04 13:45:28

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman -Qdt output question

-Qdt lists packages installed as dependencies, but for which there are no longer any installed packages which depend on said package.

Example based on a core install...
1) pacman -S git  # pulls in curl as a dependency, among other things
2) pacman -R git

curl is now listed in -Qdt's output.

Offline

#7 2011-08-04 13:47:23

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

Re: pacman -Qdt output question

falconindy wrote:

-Qdt lists packages installed as dependencies, but for which there are no longer any installed packages which depend on said package.

Example based on a core install...
1) pacman -S git  # pulls in curl as a dependency, among other things
2) pacman -R git

curl is now listed in -Qdt's output.

And when we find this out, we use '--asdep', right?

Edit: Of course, I meant '--asexplicit' :-P

Last edited by karol (2011-08-04 14:26:02)

Offline

#8 2011-08-04 13:51:24

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: pacman -Qdt output question

karol wrote:
chemicalfan wrote:

things get listed as dependencies when they are actual apps

I don't get this part.

he means the output lists actually installed and used programs. like in my output

eggdbus 0.6-1
git 1.7.6-1
hal 0.5.14-6
libxfontcache 1.0.5-1
libxxf86misc 1.0.2-1
python 3.2.1-1
rpcbind 0.2.0-3
vbetool 1.1-1
xcursor-themes 1.0.3-1
xorg-apps 7.6-1
xorg-xkb-utils 7.6-1
xulrunner 5.0-1

i use python3.2 regularly and xulrunner is used by firefox. if i remove python3.2 then anything i write for python3 wouldn't work anymore.

Offline

#9 2011-08-04 13:54:22

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

Re: pacman -Qdt output question

Are you sure xulrunner is still needed? I don't think so http://www.archlinux.org/packages/extra/i686/firefox/
libxfontcache & libxxf86misc - ... deprecated?

Now, I get it, it's the same thing I was pointing out https://bbs.archlinux.org/viewtopic.php … 82#p970082

Offline

#10 2011-08-04 14:02:06

archlinux2011
Member
Registered: 2011-07-16
Posts: 38

Re: pacman -Qdt output question

karol wrote:

Are you sure xulrunner is still needed? I don't think so http://www.archlinux.org/packages/extra/i686/firefox/
libxfontcache & libxxf86misc - ... deprecated?

Now, I get it, it's the same thing I was pointing out https://bbs.archlinux.org/viewtopic.php … 82#p970082

I guess that was for the old firefox version then. how do i know what is actually safe to remove like those libx packages? the libxfontcache shows a dependency with it.

Offline

#11 2011-08-04 14:05:53

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

Re: pacman -Qdt output question

archlinux2011 wrote:

how do i know what is actually safe to remove like those libx packages? the libxfontcache shows a dependency with it.

As we already said, it is safe, the question is: do you need them? Check what files they provide and if nothing rings a bell, remove them.
But keeping them won't hurt you.

Offline

#12 2011-08-05 16:48:00

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: pacman -Qdt output question

Sorry for the late reply.
I downgraded some packages and i can't find out why dri2proto and glproto are no loger needed.
It is same to remove those packages?

Last edited by Hyugga (2011-08-05 16:48:19)

Offline

#13 2011-08-05 16:55:42

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: pacman -Qdt output question

Found it, dri2proto and glproto are no loger dependencies of mesa 7.11.

Offline

#14 2011-08-05 16:58:21

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

Re: pacman -Qdt output question

The guy that runs this blog is one of Arch devs: http://allanmcrae.com/2011/07/secondary … th-pacman/

Offline

Board footer

Powered by FluxBB