You are not logged in.

#1 2009-05-23 12:18:24

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

track an application back to a package to remove [SOLVED]

I have several application installed that I'd like to remove.  I have no idea which package brought them to my system.  Is there a way I can search within a package for a keyword?  For example:

Gnome Applications>Sound & Video>
-Dragonplayer
-JuK
-Kscd

Last edited by graysky (2009-05-23 15:54:30)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-05-23 12:21:50

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

Re: track an application back to a package to remove [SOLVED]

"pacman -Qo <file>" to tell you what package a file belongs to.

For items in your menu, grep through /usr/share/applications/*.desktop for the application name and then look further into that file to find the binary name.

Edit: looks like kdemultimedia maybe...

Offline

#3 2009-05-23 12:25:09

qubit
Member
Registered: 2007-04-25
Posts: 47

Re: track an application back to a package to remove [SOLVED]

Or you can use "which <commandName>" to find the file.

Last edited by qubit (2009-05-23 12:28:00)

Offline

#4 2009-05-23 12:30:34

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: track an application back to a package to remove [SOLVED]

If you know the name of the binary, you could do it like this

pacman -Qo `which firefox`

Replace firefox by your binary

Offline

#5 2009-05-23 12:55:42

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

Re: track an application back to a package to remove [SOLVED]

I have a reverse-and-opposite question: I have uninstalled a couple pkgs and now an app I need went missing. How do I find out which package is it in?
The app in question was xdpyinfo from xorg-utils IIRC. Is there an easy way to query some Arch / pacman-related db or do I have to google it? Use 'locate' on my local ABS db?
It's even harder when I have never had it installed - I know the app's name, but not the package's. I know what I need, but not how to get it :-)

Offline

#6 2009-05-23 12:58:20

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

Re: track an application back to a package to remove [SOLVED]

pkgfile from the pkgtools package will do that for you

Offline

#7 2009-05-23 14:08:38

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

Re: track an application back to a package to remove [SOLVED]

Thanks Allan, you're my hero!

Why do pkgtools need tar and don't list it as a dep? Am I missing sth?
'pacman -S pkgtools' installed only pkgtools.
'pkgfile --update' failed for every group (core, extra etc.) w/

Unable to extract core.files.tar.gz.
Done

Done?!

'pacman -S tar' fixed it, but as pacman relies on libarchive w/ bsdtar ...

Offline

#8 2009-05-23 15:44:07

Garns
Member
Registered: 2008-05-28
Posts: 239

Re: track an application back to a package to remove [SOLVED]

In general all packages in the base group are assumed to be installed and thus not listed explicitely as dependendencies.

Offline

#9 2009-05-23 15:53:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,600
Website

Re: track an application back to a package to remove [SOLVED]

Thanks for the replies, all.  kdemultimedia was to blame (just nuked k3b).


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB