You are not logged in.

#1 2003-08-07 21:44:10

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

an idea for a feature - resolving e.g. kde* for all kde-pkgs

first, before i start complaining about a missing feature, pacman is the best package-manager i know, and the system used in archlinux managing the OS parts and inventory of programms in it are simple and great

here the problem that brings me to this idea:

say i want to remove kde
-> what you have now to do: pacman -R kde{???}, well no actually you have first to go to the internet and have a search in the package-section to find out what packages are part of kde (kdebase, kdelibs ...)

here the idea:

what about being able to simply type

pacman -Q kde*

to find out what kde packages are installed on your system ... and futuremore being able to do also

pacman -R kde* #to remove all kde packages
#or
pacman -Rc kde* #to remove all kde and other related to kde packages

the same would be also cool for installing packages

->just to show you what happens now in pacman:

pacman -Q gnome*
Package "gnome*" was not found.

what do you think?


The impossible missions are the only ones which succeed.

Offline

#2 2003-08-07 22:28:43

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

Re: an idea for a feature - resolving e.g. kde* for all kde-pkgs

The installing groups is actually already implemented in the beta of 2.6, which is in ftp.archlinux.org/other/pacman

From the ChangeLog itself:
Added group handling, so one can run 'pacman -S kde' and
                install all files from the KDE group

Not sure about the other things though, those sound like some very good ideas that should be considered and hopefully they aren't too hard to implement.

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

#3 2003-08-07 23:48:30

terrapin
Member
From: Lockport, IL
Registered: 2003-08-06
Posts: 104

Re: an idea for a feature - resolving e.g. kde* for all kde-pkgs

I am a complete noob so please be kind.   

But how getting the current package list

abs

then running

cd /usr/abs/kde 
pacman -R `/bin/ls`


I am used a similar method to install Gnome.

abs
cd /usr/abs/gnome
pacman -S `/bin/ls`

Offline

#4 2003-08-08 00:21:13

kritoke
Member
From: Texas, USA
Registered: 2003-08-01
Posts: 211
Website

Re: an idea for a feature - resolving e.g. kde* for all kde-pkgs

I think he was asking if a feature that incorporated those commands you typed in, into a one command rather than having to search for each group and go into the dir and all that.  This is already implemented in the beta for installing, but not sure about removing.

Kritoke


http://counter.li.org/ Registered Linux User #318963 kritoke@jabber.org

Offline

#5 2003-08-08 01:16:54

hApy
Member
From: Victoria, BC
Registered: 2003-04-13
Posts: 194
Website

Re: an idea for a feature - resolving e.g. kde* for all kde-pkgs

well it's 2 commands, but it's pretty simple.. ..

pacman -Q | grep kde

only lists packages with kde in the name.

Hapy.

Offline

#6 2003-08-08 10:52:21

Gyroplast
Member
From: Germany
Registered: 2002-09-03
Posts: 166
Website

Re: an idea for a feature - resolving e.g. kde* for all kde-pkgs

Yes, there are a couple of workarounds to install a whole "group" of packages available. Unfortunately none of them only install the bare minimum of a group, but either "everything in the ABS dir" or "anything with FOO in it's name", which may or may not be more than necessary. That's rather unsatisfying, IMHO.

But anyway, it's all in the works, so let's just wait for the next pacman release. smile


"That's the problem with good advice. Nobody wants to hear it."
-- Dogbert

Offline

#7 2003-08-08 13:33:54

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: an idea for a feature - resolving e.g. kde* for all kde-pkgs

the "workaround" i know, but it has a little disadvantage, as mentioned --- thanx anyway

in waiting for the next release, thanx for the answers


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB