You are not logged in.

#1 2004-02-17 00:27:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Pacman install all pkgs

big_smile Gents;

   Is there a pacman command to load all packages in cache?  This should include all dependencies and sync, right?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#2 2004-02-18 00:35:52

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: Pacman install all pkgs

Well, by "cache" do you mean the packages in /var/cache/pacman/pkg, or all packages in the arch package repositories?

If you mean /var/cache/pacman/pkg:

# pacman -U /var/cache/pacman/pkg/*

If you mean all packages in the current repo:

# pacman -S `pacman -Sl current | awk '{print $2}'`

That will request ALL packages in the current repository, but it's probably not what you want.  Pacman will not install certain packages that conflict with each other (eg, kernel and kernel-scsi) so the operation will fail with a "package conflicts detected" error.

Offline

Board footer

Powered by FluxBB