You are not logged in.

#1 2006-07-31 05:18:30

cthulhufhtagn
Member
Registered: 2006-07-31
Posts: 20

Re-install all already installed packages

Is there an easy way to do this with pacman? Lights went out and I can't identify three libraries linked at lost+found.

Thank you!

Offline

#2 2006-07-31 06:32:34

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Re-install all already installed packages

If everything you've installed is from a repo, this will do it:

pacman -S $(pacman -Q | cut -d " " -f 1 | tr "n" " ")

If you have installed anything locally, it will abort on each one:

foo-pkg: not found in sync db

so you'll need to remove them from the list and reinstall them separately.

I expect someone else will be along shortly with a smarter solution. smile

Offline

#3 2006-07-31 07:39:10

cthulhufhtagn
Member
Registered: 2006-07-31
Posts: 20

Re: Re-install all already installed packages

Yeah, it works. I owe you a beer, cola or whatever ; )

Thank you!

Offline

Board footer

Powered by FluxBB