Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

yaourt doesn't respect --noconfirm #150

Closed
berbigou opened this issue Sep 29, 2015 · 8 comments
Closed

yaourt doesn't respect --noconfirm #150

berbigou opened this issue Sep 29, 2015 · 8 comments

Comments

@berbigou
Copy link

Hello,
this is my first contribution, please be kind..


resume : yaourt doesn't respect --noconfirm


problem:
sudo pacman -U --noconfirm mypkg.pkg.tar.xz doesn't stop to ask confirmation and update
yaourt -U --noconfirm mypkg.pkg.tar.xz stops and asks


system: uname -a
Linux port-ber-linux 4.2.1-1-ARCH #1 SMP PREEMPT Tue Sep 22 06:57:07 CEST 2015 x86_64 GNU/Linux

pacman -V
.--. Pacman v4.2.1 - libalpm v9.0.1
/ _.-' .-. .-. .-. Copyright (C) 2006-2014 Pacman Development Team
\ '-. '-' '-' '-' Copyright (C) 2002-2006 Judd Vinet
'--'

yaourt -V
yaourt 1.6
accueil : http://archlinux.fr/yaourt


I know --noconfirm can be unsafe, this is my own modified webcam driver compiled personnaly.
I want to use --noconfirm in my script, and I would love to use yaourt for that...

Note: my yaourt is in French
I hope this will help.

@Skunnyk
Copy link
Member

Skunnyk commented Sep 30, 2015

Thank you for your first bug report ;)
Hm, yep, yaourt seems to not respect --noconfirm with -U . Need to look at it.

@puckel
Copy link

puckel commented Oct 13, 2015

Hi @berbigou,

Did you try to set to "1" the value of "PU_NOCONFIRM" in your /etc/yaourtrc.in ?

@berbigou
Copy link
Author

Hi @puckel ,
Note: my yaourt has updated to 1.7

I tried both PU_NOCONFIRM=1 and 0 in both /etc/yaourtrc and ~/.yaourtrc ( 4 tests leaving the other file with the default commented line).
same problem noted.

thanks

@berbigou
Copy link
Author

oups I closed by mistake.
sorry

@olejon
Copy link

olejon commented Nov 4, 2015

Same here. Just runs without any output in 1 second.

@Skunnyk
Copy link
Member

Skunnyk commented Nov 6, 2015

Fixed by #166

@Skunnyk Skunnyk closed this as completed Nov 6, 2015
@olejon
Copy link

olejon commented Nov 7, 2015

Not in AUR yet?

@con-f-use
Copy link

Still doesn't seem to honor it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants