You are not logged in.

#1 2014-08-07 13:31:11

Zzipo
Member
From: North Spain
Registered: 2013-01-07
Posts: 61

pacman -S automation / choose / select options

I searched a bit but I found nothing about this.

Is there any way to pass installation options to pacman (like a response file)?

E.g.

pacman -Sy phonon

When installing /kde/, it prompts if gstreamer or vlc phonon. If I install in a script like

pacman -Sy --noconfirm --needed kde

it will just install all by default, and it is not what I would like.

I know that I can just specify the package in the installation line, but I am asking for other ways (pacman -Sy qt5-vlc-phonon will satisfy upper dependencies with my requested option).

Offline

#2 2014-08-07 15:03:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: pacman -S automation / choose / select options

Don't run 'pacman -Sy foo', but 'pacman -Syu foo': https://bbs.archlinux.org/viewtopic.php … 5#p1072495
'sudo pacman -S phonon phonon-qt4-gstreamer' works and is a general solution to this issue.

Offline

#3 2014-08-07 15:34:44

Zzipo
Member
From: North Spain
Registered: 2013-01-07
Posts: 61

Re: pacman -S automation / choose / select options

Thank you, didn't know about that. I suppose that I was always used to do pacman -Sy when installing... and when I had troubles (dependencies) I just solve by my own with a bit of effort.

Offline

Board footer

Powered by FluxBB