How to Prevent Pacman from asking Confirmation (Y/n) questions?

I want to put a couple pacman install commands in a ".sh" file and want it to download and install on itself. I know I can do it by:
pacman -S <package1> <package2>
But thats not what I want. I want pacman to entirely bypass the "Proceed to install?" question. Is there a way to do this?
P.S: Is this plain stupid?
"y" | pacman -S <package>
Last edited by r0ach (2012-10-26 14:40:33)

r0ach wrote:So, you guys are saying this is very bad idea huh? Hmm.. Anywho, thank you for answering the question. You guys are awesome!
I might use the --noconfirm flag after vetting the list of upgrades available with a -Syyu which contained a larger then expect number of "application" packages - especially true with anything from the AUR... anything mission critical would get my full attention however (kernel upgrades etc).
The only other "fair use" of --noconfirm might be when doing a scripted install from a personal repo... In which case you are probably prepared to clean up the carnage and run the risk anyway

Similar Messages

  • How to prevent Finder from asking permission to use Trash?

    All:  How can I prevent Finder from asking permission to use Trash?  This wasn't a problem until two weeks ago.  Now it is.
    Thanks

    Do not empty the Trash in the shell. That's both dangerous and unnecessary.
    1. Triple-click the line below to select it:
    ~/.Trash
    2. Right-click or control-click the highlighted line and select
    Services ▹ Show Info
    from the contextual menu.* An Info dialog should open.
    3. The dialog should show "You can read and write" in the Sharing & Permissions section. If that's not what it shows, click the padlock icon in the lower right corner of the window and enter your password when prompted. Use the plus- and minus-sign buttons to give yourself Read & Write access and "everyone" No Access. Delete any other entries in the access list.
    4. In the General section, uncheck the box marked Locked if it's checked.
    5. From the action menu (gear icon) at the bottom of the dialog, select Apply to enclosed items and confirm.
    6. Close the Info window and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). Open a TextEdit window and paste into it (command-V). Select the line you just pasted and continue as above.

  • HT5085 How do i prevent itunes from asking for password like 15 times a day?

    How do i prevent itunes from asking for password like 15 times a day?

    Hello reynolae,
    The following article contains a number of useful steps for getting iTunes to quiet down, at least with regards to asking for your password.
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/TS1389
    Cheers,
    Allen

  • How to prevent apps from syncing in the new version of itunes?

    Hey there.
    I brang my macbook to Applestore cause it had a problem and they downloaded the latest version of itunes. Everything's fine and my music, videos and apps are in the new itunes like before. But now, when I want to sync my iphone, a pop window asks me to give the password of the itunes account I used to download some of my apps or it will delete them and their data. The problem is that one of these accounts is an old friend's one and I actually lost all contact with him. So basically now I can't sync my iphone at all or it will delete all my apps.
    Has anyone any idea how to sort that out? Or at least knows how to prevent apps from syncing in this new version of itunes?
    Thanks for your help

    Onthe top menu
    View > Show Status Bar.
    The grey bar will now appear at the bottom with the info you want

  • [SOLVED] Prevent firefox from asking to be default browser

    Heya,
    how do you prevent firefox from asking to be the default browser the first time you run it.
    (it's kinda annoying on a live CD lol)
    Last edited by willxtreme (2010-01-27 22:51:27)

    Edit > Preferences etc. works by opening firefox
    but in a Live CD, I'm trying to find the way to preconfigure it that way
    The solution I'm thinking of is copying my .mozilla settings folder in the live CD's home folder but I was wondering if there's another way
    Last edited by willxtreme (2010-01-27 21:27:31)

  • Is there any way to prevent users from ship confirming on a particular date?

    Hello All,
    We have a requirement to prevent users from ship confirming on a particular date. This is due to they are performing Annual Physical Inventory.
    Is it possible to restrict users performing shipping transactions on this particular date?
    I have tried adding exception to the existing Calendar set at org level and there is no customer specific Calendar defined, however it is still allowing me to perform ship confirm.
    Please let me know if you have any suggestion on this requirement.
    Thanks

    Hi,
    Yes is Possible.
    You can add An Exception in Your Shipping Calender.
    So when Some one tries to ship an Order on that date Oracle will automatically select Next possible date.
    Thanks
    Shameer

  • How to prevent Oracle from using an index when joining two tables ...

    How to prevent Oracle from using an index when joining two tables to get an inline view which is used in an update statement?
    O.K. I think I have to explain what I mean:
    When joining two tables which have many entries sometimes it es better not to use an index on the column used as join criteria.
    I have two tables: table A and table B.
    Table A has 4.000.000 entries and table B has 700.000 entries.
    I have a join of both tables with a numeric column as join criteria.
    There is an index on this column in table A.
    So I instead of
      where (A.col = B.col)I want to use
      where (A.col+0 = B.col)in order to prevent Oracle from using the index.
    When I use the join in a select statement it works.
    But when I use the join as inline view in an update statement I get the error ORA-01779.
    When I remove the "+0" the update statement works. (The column col is unique in table B).
    Any ideas why this happens?
    Thank you very much in advance for any help.
    Regards Hartmut

    I think you should post an properly formatted explain plan output using DBMS_XPLAN.DISPLAY including the "Predicate Information" section below the plan to provide more details regarding your query resp. update statement. Please use the \[code\] and \[code\] tags to enhance readability of the output provided:
    In SQL*Plus:
    SET LINESIZE 130
    EXPLAIN PLAN FOR <your statement>;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);Usually if you're using the CBO (cost based optimizer) and have reasonable statistics gathered on the database objects used the optimizer should be able to determine if it is better to use the existing index or not.
    Things look different if you don't have statistics, you have outdated/wrong statistics or deliberately still use the RBO (rule based optimizer). In this case you would have to use other means to prevent the index usage, the most obvious would be the already mentioned NO_INDEX or FULL hint.
    But I strongly recommend to check in first place why the optimizer apparently seems to choose an inappropriate index access path.
    Regards,
    Randolf
    Oracle related stuff:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle:
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • How to prevent users from creating new folders in share folder directory?

    Hello guys
    I'd like to know How to prevent users from creating new folders in share folder directory but still keep their power of creating new folders in their personal 'my folder'?
    I tried changing the 'manage privilage ---- create folder' to deny certain user accounts, but by doing so, it also stops the user from creating new folders in their 'my folder', which is not good..
    I also tried going into these share folders and tried different access types such as 'change/delete', 'read', 'traverse folder' etc, but none of it work ideally. The 'change/delete' access still allows them to create new folders, 'read' access prevents creating new folders but also take away their power of saving reports..
    Any thoughts on how to take away their ability to ONLY create new folders in share folder areas without affecting their other privileges?
    Please advise
    Thank you

    Easy, on the shared folders root folder only give them 'read' or 'traverse folder' but on the the folder inside the shared folders root folder give them 'change/delete'. That means they can change anything inside those folders but not create any folders at the shared folders root level.

  • How to prevent iCloudDrive from waking computer from sleep?

    My PC wakes up periodically from sleep. After the checking the event logs, the logs show that iCloudDrive.exe process is causing the computer to wake up from sleep. I do not want to disable all system wake timers, but I do not know how to prevent iCloudDrive from waking up the computer. The expiration date keeps changing forward.
    in Command Prompt (admin):
    C:\windows\system32>powercfg -waketimers
    Timer set by [PROCESS] \Device\HarddiskVolume3\Program Files (x86)\Common Files\
    Apple\Internet Services\iCloudDrive.exe expires at 5:26:25 PM on 4/21/2015.
    In Event Viewer:
    Log Name:      System
    Source:        Microsoft-Windows-Power-Troubleshooter
    Date:          4/12/2015 3:21:56 PM
    Event ID:      1
    Task Category: None
    Level:         Information
    Keywords:     
    User:          LOCAL SERVICE
    Computer:      WIN-CBF43TVLMNC
    Description:
    The system has returned from a low power state.
    Sleep Time: 2015-04-12T18:24:08.280458300Z
    Wake Time: 2015-04-12T19:21:44.326107700Z
    Wake Source: Timer - iCloudDrive.exe
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Microsoft-Windows-Power-Troubleshooter" Guid="{CDC05E28-C449-49C6-B9D2-88CF761644DF}" />
        <EventID>1</EventID>
        <Version>2</Version>
        <Level>4</Level>
        <Task>0</Task>
        <Opcode>0</Opcode>
        <Keywords>0x8000000000000000</Keywords>
        <TimeCreated SystemTime="2015-04-12T19:21:56.645016400Z" />
        <EventRecordID>2838</EventRecordID>
        <Correlation ActivityID="{0D44318C-F225-4D0E-AE0B-76736663674D}" />
        <Execution ProcessID="1888" ThreadID="848" />
        <Channel>System</Channel>
        <Computer>WIN-CBF43TVLMNC</Computer>
        <Security UserID="S-1-5-19" />
      </System>
      <EventData>
        <Data Name="SleepTime">2015-04-12T18:24:08.280458300Z</Data>
        <Data Name="WakeTime">2015-04-12T19:21:44.326107700Z</Data>
        <Data Name="SleepDuration">100</Data>
        <Data Name="WakeDuration">826</Data>
        <Data Name="DriverInitDuration">601</Data>
        <Data Name="BiosInitDuration">909</Data>
        <Data Name="HiberWriteDuration">0</Data>
        <Data Name="HiberReadDuration">0</Data>
        <Data Name="HiberPagesWritten">0</Data>
        <Data Name="Attributes">25612</Data>
        <Data Name="TargetState">4</Data>
        <Data Name="EffectiveState">4</Data>
        <Data Name="WakeSourceType">5</Data>
        <Data Name="WakeSourceTextLength">15</Data>
        <Data Name="WakeSourceText">iCloudDrive.exe</Data>
        <Data Name="WakeTimerOwnerLength">96</Data>
        <Data Name="WakeTimerContextLength">0</Data>
        <Data Name="NoMultiStageResumeReason">0</Data>
        <Data Name="WakeTimerOwner">\Device\HarddiskVolume3\Program Files (x86)\Common Files\Apple\Internet Services\iCloudDrive.exe</Data>
        <Data Name="WakeTimerContext">
        </Data>
      </EventData>
    </Event>

    In the Bluetooth System Preferences click the Advanced button, then uncheck the Allow Bluetooth Devices To Wake This Computer checkbox.

  • How to prevent B1 from populating the grid with components?

    Hello group,
    We have customized a form that pops up when user enters a parent item (of a template-type BOM) in the quotation grid.  The form displays the component items and lets the user mark which items to "paste" onto the quotation.  However, B1 automatically populates the grid with the component items once focus moves away from the item code column. 
    <b>How to prevent B1 from populating the grid with components <i>while</i> retaining the parent item in the item code column?</b>  I've tried trapping the Validate event, etc. with no success.

    Instead of setting the parent item up as a template type BOM, you could set up the list of parent/child items on a user table and use this user table to display the items in your pop-up screen.  As the parent item would no longer be a template BOM, Business One would no longer automatically popuplate the grid, and you could write your own code to add only the items selected in your pop-up screen into the grid.
    John.

  • Gmail makes a lot of drafts when I am writing an email. How to prevent that from happening?

    When I wite email I have all the time drafts copied. How to prevent his from happening?

    writing Email produced in multiples in all mail
    Multi Copies of Drafts To Gmail Server

  • How 2 prevent time from changing on leopard and vista?

    if i maintain successive boots into the same OS on my macbook, the time is shown correctly, whereas on booting into another OS changes the time. how to prevent this from happening?
    Neerav

    From what my brother says says about his set-up (he boots into 64 bit Vista periodically), apparently you can't. My understanding is that the two systems do a different version of time at boot, Vista uses a GMT setting in bios, and I think Mac use a local time in EFI. Anyway, the result is several hours difference between the two. I don't use Boot Camp, but I would think if you are on a network with Internet access, you should be able to have the clock reset automatically using System Prefs->Date and Time, and check the box at the top to automatically set the time from the Apple time server.
    Francine
    Francine
    Schwieder

  • How to stop Mac from asking to "upgrade" to Mavericks

    I have a shared MacBook Pro that has to stay in Mountain Lion for certain software to work. Others in my family use this computer on different users.
    How to stop Mavericks from asking to install itself? No matter how many times I control click on the Mavericks item in the app store, it keeps coming back and asking.
    Recently, someone accidentally clicked on update and it downloaded the whole thing. Fortunately, they got off before it asked to restart. When I clicked "cancel" I went to the Applications folder and deleted the "Install OS X Mavericks" app.
    Please help. I don't want to EVER again have any user on this Mac be persuaded to "upgrade" (which shadily does not say "upgrade to Mavericks).
    Other users need to install apps, so suggesting I limit their administrative access will not help.

    Thank you for the reply. Unfortunately, that didn't work. (and I forgot to list it in my original question). I had tried "Ignore" several times and all that happens is, literally nothing). The Mac ignores the CD and so does Virtual PC.
    I've also tried going into Virtual PC preferences, looking for anything relating to CD's and can't find anything there. I've even tried sharing drives between the programs, copying things to the shared drive, and burning to CD on the Mac, but this particular issue can't be resolved that way.
    The specific file I'm trying to burn with Virtual PC is a Midi File downloaded from Yamaha Musicsoft, to play on my player piano. Yamaha has a download program that "exports" files to floppy disk but it's not Mac compatible. So I'm using Virtual PC and attempting to export the file via the Yamaha downloader, either to a floppy disk image or a CD image, and neither is working as the downloader doesn't recognize the CD and won't recognize a virtual floppy either.

  • Digital Signatures - how to prevent anyone from using my name

    I've created a bunch of forms that have digital signatures enabled.  When I've created one either with the PKCS or the Windows Certificate, what's to prevent anyone else from just typing my name, email address and Company Name?  Yes, I can create one and save it with a password, but anyone can do that.  I'm confused how I can ask our users to use digital signatures on internal documents, then have them email to accounting or HR, yet there's nothing to prevent anyone from using anyone else's name (ie how can I prove that it wasn't me that signed it)? 
    Is there nothing that's tied to Windows ie I can't use my login ID on our domain unless I use my network password?  That's really the ONLY way I can prove I'm me. 

    Self-signed digital signatures are precisely that - the person creating them is the only one attesting to the contents, so you can make a perfectly-valid self-signed ID for Canta Claus of you want to. The critical thing to remember is that a self-signed ID will only validate if the recipient has your keyfile to compare it to. On your own machine it will show as valid because the key is present, but if you send the PDF to anyone else it will show as invalid unless you have separately transferred them a copy of your keyfile. It's that second file which tells them the ID is really yours, as they can physically check where it came from (e.g. by phoning you up). The recipient would then have to manually add the keyfile to the trusted list in Acrobat or Adobe Reader, and finally your PDF signature will get the green tick.
    Self-signed IDs are find for internal company workflows as everyone can share their keyfiles, and the IT department can manage what's going on. If you're using digital IDs in a public setting you should never use self-signed certificates, instead you should purchase an ID from a Certificate Authority - a company whose IDs are tied to the 'root certificates' embedded in Acrobat and Adobe Reader. The CA will require proof of identity before selling you the cert, and so anyone can verify it's genuine without needing to contact you. CAS-issued certs for signing PDF files are not cheap, there are several vendors out there and I won't comment on which may be better.

  • How do prevent firefox from loading(going to) a website(following a link, etc...) that i never want to see again(example: choose now & click on some link in the future)?

    I go to a website(link, etc...) & I never want to go there again, but sometime(anytime) later I come across some page that seems to be useful. I click on a link, and the other required links until I find that it is a waste of time & I then kind of remember having been there in the past & have wasted all this time again. This happening for many different sites over time.
    How do I prevent firefox from loading(going to) all websites that I choose to go to when I have in the(distant) past decided that I never wish to return to: block websites with message saying that I blocked it?

    Hello Cen.
    You need to find an extension that blocks certain sites. I am certain there are many. Search over at [http://addons.mozilla.org addons.mozilla.org].
    I hope you find it.
    If you need help, just ask.

Maybe you are looking for

  • My apple tv is not accepting my apple id to start my homesharing, what should i do?

    for some reason my apple account is not been accepted by my apple tv. it says that it is not valid. but i works perfectly with everything else. (i mean my itunes store my my apple store)

  • How can I copy the text on a published captivate file?

    I would like my students to use the content on the module by copying the text, how can i achieve it? Thank you. Weiwei

  • WiFi Adapter not detected on T530

    Hi there, I just purchased a refurb T530 form the Lenovo outlet and have had enormous problems with the Wifi Adapter. Machine: T530 Win 64 Pro Wifi card Realtek I know there have been many similar discussions of this issue in the past, so I can start

  • Best way to retrieve/store date Flex PHP MySQL?

    Hi All, I have a question about storing/retrieving a date-field from the MySQL database, using Flash Builder 2 & Zend AMF. This is as much as I know: MySQL Database stores date in this format: yyyy-mm-dd hh:mm:ss And Flex will not recognise that as a

  • MAP difference

    Hi All, In material master , I have a total stock qty of 31000nos and Total  value 787.4/- which MAP comes 0.0254 for a material. But in MAP field in material master, the value is rounded off to 0.03. I have done 551 scrapping for that material in MB