You are not logged in.

#1 2008-08-13 17:23:12

void.pointer
Member
From: Dallas, TX
Registered: 2008-07-30
Posts: 239

Cleaning up unused dependencies with pacman?

Hi,

I've skimmed over various parts of the man page for pacman, however I can't figure out how to clean up old dependencies. Basically, I've uninstalled several packages in the past, but the dependencies for those packages were never cleaned up. Doing "sudo pacman -Qdt" gives me a list of all of the packages that need to be removed. Now I just need a command that goes through that list and removes each one. How can I do this?

Offline

#2 2008-08-13 17:24:31

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Cleaning up unused dependencies with pacman?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

Board footer

Powered by FluxBB