You are not logged in.

#1 2011-06-29 17:53:22

mhh91
Member
From: Cairo,Egypt
Registered: 2009-05-14
Posts: 21

Installing packages without confirmation

Pretty much what the title says.

I want to write a script that downloads and installs packages without the need to confirm that I want to install those.

I couldn't find anything in the wiki or the man page about this, could it still be done?

Or do I have to submit a feature request?

Offline

#2 2011-06-29 18:05:21

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing packages without confirmation

man pacman wrote:

--noconfirm

    Bypass any and all “Are you sure?” messages. It’s not a good idea to do this unless you want to run pacman from a script.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2011-06-29 18:05:38

weltio
Member
From: Germany
Registered: 2009-04-05
Posts: 90

Re: Installing packages without confirmation

Whats wrong with you?! Did you search confirm in the man page?!
Or pacman -S --help | grep confirm

Unbelievable...

edit: dammit... -.-

Last edited by weltio (2011-06-29 18:06:05)

Offline

#4 2011-06-30 16:13:15

mhh91
Member
From: Cairo,Egypt
Registered: 2009-05-14
Posts: 21

Re: Installing packages without confirmation

Inxsible wrote:
man pacman wrote:

--noconfirm

    Bypass any and all “Are you sure?” messages. It’s not a good idea to do this unless you want to run pacman from a script.

Oh, I didn't see that at all, sorry about that.

Thank you.

Offline

#5 2011-06-30 16:14:23

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Installing packages without confirmation

Sure. please mark your thread as solved


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB