You are not logged in.

#1 2009-02-07 10:46:20

atomic
Member
From: Srbija
Registered: 2008-08-20
Posts: 20
Website

Pacman & system-clean

I'm intersted if the pacman has some command that is quite similar to the slackware's

slackpkg clean-system

? To be clear for you who doesn't use slackware, I need some pacman option to clean my sistem of all the installed packages except the core-basic.
Is there some way to do that by making the list of core installed packages and than to run inverse cleaning by skipping those core packages?
Thanks!

Offline

#2 2009-02-07 10:58:21

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

Re: Pacman & system-clean

comment the unneeded repos (ie, leave only core uncommented) in pacman.conf then run

pacman -Syy
pacman -Rncs $(pacman -Qqm)

Last edited by DonVla (2009-02-07 10:58:56)

Offline

#3 2009-02-07 12:11:38

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

Re: Pacman & system-clean

What does "core" or "core-basic" packages mean?
DonVla interpreted that as "not in package repos", is that correct?


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

Offline

#4 2009-02-07 15:07:55

atomic
Member
From: Srbija
Registered: 2008-08-20
Posts: 20
Website

Re: Pacman & system-clean

I meant of the packages that are installed within the archlinux iso cd. Just in case i want to build my sistem from the base and don't want to reinstall system.

Last edited by atomic (2009-02-07 15:10:43)

Offline

Board footer

Powered by FluxBB