You are not logged in.

#1 2010-06-23 12:09:44

drakkan
Member
Registered: 2007-02-24
Posts: 27

pacman 3.4 and group install

With pacman 3.3 when I install a group of package I can choice if install all the packages in the group or only some of them, with 3.4 this seems no more possibile:

pacman -S xorg
risoluzione delle dipendenze in corso...
ricerca di conflitti in corso...

Pacchetti (80): xf86-video-vesa-2.3.0-2  xorg-docs-1.5-1  libfontenc-1.0.5-1
                freetype2-2.3.12-1  fontsproto-2.1.0-1  libxfont-1.4.1-1
                xproto-7.0.17-1  xorg-font-utils-7.5-2
                xorg-fonts-encodings-1.0.3-1  xorg-fonts-alias-1.0.2-1
                fontconfig-2.8.0-1  xorg-fonts-100dpi-1.0.1-3
                xorg-fonts-75dpi-1.0.1-3  xcb-proto-1.6-1  libxdmcp-1.0.3-1
                libxau-1.0.5-1  libxcb-1.6-1  kbproto-1.0.4-1  libx11-1.3.4-1
                xextproto-7.1.1-1  libxext-1.1.2-1  libice-1.0.6-1
                libsm-1.1.1-1  libxt-1.0.8-1  libxmu-1.0.5-1  libxpm-3.5.8-1
                libxaw-1.0.7-1  xorg-res-utils-1.0.3-3  libdrm-2.4.21-1
                xf86vidmodeproto-2.3-1  libxxf86vm-1.1.0-1  fixesproto-4.1.1-1
                libxfixes-4.0.5-1  damageproto-1.2.0-1  libxdamage-1.1.3-1
                libgl-7.8.2-1  libpciaccess-0.11.0-1  videoproto-2.3.0-1
                libxv-1.0.5-1  pixman-0.18.2-1  xcursor-themes-1.0.2-1
                libxkbfile-1.0.6-1  xorg-xkb-utils-7.5-2
                xkeyboard-config-1.8-1  fontcacheproto-0.1.3-1
                libxfontcache-1.0.5-1  inputproto-2.0-1  libxi-1.3-2
                xf86miscproto-0.9.3-1  libxxf86misc-1.0.2-1  renderproto-0.11-1
                libxrender-0.9.6-1  randrproto-1.3.1-1  libxrandr-1.3.0-1
                mcpp-2.7.2-2  xorg-server-utils-7.5-4  xorg-fonts-misc-1.0.1-1
                xbitmaps-1.1.0-1  xf86-input-evdev-2.4.0-1
                xorg-server-1.8.1.902-1  xorg-twm-1.0.4-3  xf86dgaproto-2.1-1
                libxxf86dga-1.1.1-1  recordproto-1.14-1  libxtst-1.1.0-1
                xineramaproto-1.2-1  libxinerama-1.1-1  dmxproto-2.3-1
                libdmx-1.1.0-1  libxft-2.1.14-1  compositeproto-0.4.1-1
                libxcomposite-0.4.2-1  xcb-util-0.3.6-1  xorg-utils-7.6-2
                xorg-xauth-1.0.4-1  xorg-xinit-1.2.1-1  libxcursor-1.1.10-1
                libpng-1.4.2-1  xorg-apps-7.5-3  xterm-259-1

Dimensione totale dei pacchetti da scaricare:    41,04 MB
Dimensione totale dei pacchetti da installare:   108,21 MB

Vuoi procedere con l'installazione? [S/n] n

I would like to customize my installation have I to install every sigle package?

Offline

#2 2010-06-23 12:14:16

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: pacman 3.4 and group install

http://bugs.archlinux.org/task/19853?project=3

some said that is a feature, i mostly think that is a regression big_smile i could argue more about it like i did in the past, but somebody needs to code that functionality in pacman

Last edited by wonder (2010-06-23 12:15:44)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-06-23 12:15:44

drakkan
Member
Registered: 2007-02-24
Posts: 27

Re: pacman 3.4 and group install

is there somewhere the pkg for an older pacman release or have I to compile it myself?

Last edited by drakkan (2010-06-23 12:48:38)

Offline

#4 2010-06-23 12:53:43

drakkan
Member
Registered: 2007-02-24
Posts: 27

Re: pacman 3.4 and group install

http://mirror.umoss.org/archlinux/core/os/x86_64/pacman-3.3.3-5-x86_64.pkg.tar.gz

Offline

#5 2010-06-30 14:22:27

xenobrain
Member
From: Lodi, CA
Registered: 2006-05-31
Posts: 91

Re: pacman 3.4 and group install

Definitely a regression.  C'mon, this isn't The Arch Way(tm)!  Now I have to type all those package names in one by one, which is a hell of a lot of typing.

It's not KISS, it's just a bad user experience sad

Offline

#6 2010-06-30 14:54:07

xduugu
Member
Registered: 2008-10-16
Posts: 292

Re: pacman 3.4 and group install

wonder wrote:

some said that is a feature, i mostly think that is a regression big_smile

I don't think it was meant as a feature. Group handling was moved from the frontend (pacman) to the backend (libalpm) and no one  has rewritten the frontend code yet.

In the meantime, you can use a bash script like this:

#!/bin/bash

[[ -z $1 ]] && echo >&2 "group missing" && exit 1

to_install=
for pkg in $(pacman -Sgq $1); do
    printf ":: Install %s from group %s? %s " "$pkg" "$1" "[Y/n]"
    read -n 1 -e install

    case "$install" in
        n|N) ;;
        *) to_install+="$pkg " ;;
    esac
done

[[ -n $to_install ]] && sudo pacman -S $to_install

Offline

#7 2010-06-30 14:59:55

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: pacman 3.4 and group install

powerpill still allows individual selection.

xyne++

You could also do something along the lines of:

$ pacman -Sqg groupname > group.pkgs
< edit group.pkgs >
$ pacman -S $(< group.pkgs)

Offline

#8 2010-06-30 20:40:27

xenobrain
Member
From: Lodi, CA
Registered: 2006-05-31
Posts: 91

Re: pacman 3.4 and group install

I didn't know about powerpill, it's pretty neat!  Unfortunately, even though it offers individual package selection in groups, pacman still ignores your choices and installs the entire group anyway.

Edit:: to be more precise, powerpill only downloads the selected packages, but when it goes to install them, pacman finds missing dependencies (the rest of the group packages which I did not select) which it then wants to resolve.

Last edited by xenobrain (2010-07-07 15:18:18)

Offline

#9 2010-09-27 10:57:47

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: pacman 3.4 and group install

I've submitted a patch reimplementing this, see https://bugs.archlinux.org/task/19853#comment66253 .

Offline

Board footer

Powered by FluxBB