You are not logged in.

#1 2005-10-31 00:40:24

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Upgrading all packages

Is it possible to force an upgrade to all installed packages with a single command, ie all those that are likely to still be in the cache, without having to go through them all manually.

Due to filesystem corruption, I've recently had to replace the contents of my /usr directory with a copy from another source (archie /usr directory) and not surprisingly its throwing up a few probs which will presumably be solved by reinstalling the packages it thinks are already there.

Offline

#2 2005-10-31 00:53:42

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Upgrading all packages

hmm... you could

cd /var/cache/pacman/pkg
pacman -A *

but that could be quite messy too.

You could also try writing a script that takes the output of pacman -Q and installs only those packages.

Dusty

Offline

Board footer

Powered by FluxBB