You are not logged in.
I didnt find a pacman command that makes it show to which package a specific package belongs to. Is there an option like that?
For example, let't say Id like to know why cdrdao is on my system. Can I somehow tell pacman to tell me which other packacge pulled cdrdao in? I gentoo this would be:
equery d cdrdaothanks in advance!
Last edited by miro279 (2010-10-29 09:10:05)
Offline
pacman -Qi cdrdao
Offline
that shows me:
Name : cdrdao
Version : 1.2.3-4
URL : http://cdrdao.sourceforge.net/
Licenses : GPL
Groups : None
Provides : None
Depends On : gcc-libs lame libmad libvorbis libao
Optional Deps : None
Required By : k3b
Conflicts With : None
Replaces : None
Installed Size : 1276,00 K
Packager : Andrea Scarpino <andrea@archlinux.org>
Architecture : i686
Build Date : So 11 Apr 2010 03:57:27 CEST
Install Date : Fr 29 Okt 2010 09:39:48 CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Description : Records audio/data CD-Rs in disk-at-once (DAO) modeso now i know that it was pulled by another package- but not by which one. Also, can i somehow do a systemwide dependency-ceck, so that i know for sure all dependencies are there and nothing is missing?
edit: required by k3b, ok thanks, then that helps me!
still second quenstion: Can i somehow do a systemwide dependency-ceck, so that i know for sure all dependencies are there and nothing is missing?
Last edited by miro279 (2010-10-29 07:43:18)
Offline
Let's say I delete cdrdao:
pacman -Rd cdrdaofor some reason and forget to reinstall. Can I make pacman to tell me that cdrdao is missing on the system?
Offline
Let's say I delete cdrdao:
pacman -Rd cdrdaofor some reason and forget to reinstall. Can I make pacman to tell me that cdrdao is missing on the system?
If you for whatever reason do an -Rd, its your responsibility to remember that. If any particular app (k3b for instance) fails, you should just be able to -Qi that app to figure out what it depends on.
What exactly are you trying to achieve? I suspect you're trying to go through your package lists and delete stuff you don't need. I'd advise not doing -Rd at all, since those packages are dependencies for a reaosn.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
llan@mugen ~
> pacman -Rd pygtksourceview2
Remove (1): pygtksourceview2-2.10.1-3
Total Removed Size: 0.21 MB
Do you want to remove these packages? [Y/n]
(1/1) removing pygtksourceview2 [######################] 100%
allan@mugen ~
> testdb
missing dependency for cherrytree : pygtksourceview2
missing dependency for pychess : pygtksourceview2Offline
I just want to understand pacman for now. Also I was thinking about cleaning up the system, but not by deleting random packages, but removing packages that were installed explicitly by pacman and I don't need them (probably on arch setup). If doing so, Id need a tool that tells me if these packages were also needed as some dependency.
testdb seems to do the job. Thanks a lot!
Offline
For keeping the system clean you could remove packages with:
pacman -Rs (the -s flag removes dependencies as well).
And:
pacman -Qdt
will find and list all orphaned packages that are no longer required as dependencies.
Offline
Yes, but thats just true for packages that are not installed explicitly.
It would be helpful if there was an easy way to change packages form being explicitly istalled to being installed as a dependency (if they are a dependency). The only way I found doing that is to remove the package (to do no harm with -k option) and reinstall the package that needs it as a dependancy, but thats a pain in the ass..
Last edited by miro279 (2010-10-29 11:24:38)
Offline
pacman -S --asdeps
I think the packages installed explicitly that you don't need are part of a group (base or xorg probably)
Last edited by ChoK (2010-10-29 13:26:55)
Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry
Offline
thats helpful, thanks! no there are only packages left seen with pacman -Qe that I really wanted explicitly. I also removed 2 or 3 packages I didnt need (like mdadm for raid support which seems to be pulled by standard).
Thinks seems cleaner that way to me.
Offline