Possible to make pacman less verbose?

Hi,
During updates your sometimes see pacman print a whole list of signed keys that it has been updated, even those that have not changed. Would it be possible to remove this output?
I do like package signing but I prefer not to be bothered with it at all as long as the keys seem to match. I feel it is something that should be handled behind the scenes and not confuse the user. Let's not forget that most UNIX programs only print things to the screen when something has gone wrong.
This was just a friendly suggestion. Thank you for all the hard work

@karol: Ah great. I will write my requests on the bugtracker in the future.
@ngoonee: To explain this "most UNIX programs" thing I wrote. It is a fairly well known philosophy that a program should not print to stdout if everything works as it should. Look at the how rm, cp, mv, mount, ln et.c. works, they don't tell you that what you just did worked, they only print stuff when something doesn't and they do that on stderr. These are the programs I refer to when I talk about "most UNIX programs". I thought this concept was actually well known among Linux enthusiasts.
There are good reasons behind this philosophy. Firstly printing something like writing an OK does not give you any more information compared to giving you nothing at all when you know beforehand a message not seen is a program that works. Imagine cp wrote "I copied file x to y" every time it worked and you have a script that does 50 cps in a row and all of them worked you would end up with a log with 100% useless information. Now this is not exactly true because usually programs print to stdout vs stderr and you could only redirect stderr but there are instances where you need to log non-error messages as well, probably because someone didn't care about sending errors to the correct file descriptor which is not very uncommon.
It doesn't add anything for scripting purposes either. It is much easier to check the exit status and check that it is zero than having to grep for some particular text. Often people in general write to much data to stdout, it is convenient but what they actually are doing is writing what is essentially log/debug messages to stdout. This is not what stdout is for.
I hope this explained it better.
@2ManyDogs: I don't mean pacman should remove ALL output, only the key-related stuff. The comparison was made as a reminder.

Similar Messages

  • Make pacman more verbose?

    Is there a way to make pacman more verbose in showing what packages are being installed or updated?
    For example, when doing a system update, you get a long list of packages that will be downloaded and installed. Most of them are packages you already have, but some may be new packages, pulled in as a new dependency of something else. I would like to more easily see if a package is a new install or an update, and what is causing the new packages to be installed.
    I used to use FreeBSD, and it's ports system did this. You do a system update, and it would list all of the packages to be installed, one per line. Each line indicated whether it was an update or a new install, if it was an update it showed the old -> new version numbers, and if it was a new install it showed what package depended on it.
    I haven't been able to find a way to make pacman do this, though I would be happy to be proven wrong. I've toyed with the idea of getting my hands dirty and writing some pacman patches to add this as an option, but I'd like to see if there are other solutions other people know about.

    Using yaourt -Syua:
    ==> Package upgrade only (new release):
    extra/libgnome-keyring 3.6.0-1 1 -> 2
    extra/mesa 9.1-2 2 -> 3
    ==> Software upgrade (new version) :
    core/filesystem 2013.01-3 -> 2013.03-2
    core/iptables 1.4.16.3-1 -> 1.4.18-1
    core/iproute2 3.7.0-1 -> 3.8.0-1
    core/libffi 3.0.11-1 -> 3.0.12-1
    core/systemd 197-4 -> 198-1
    core/systemd-sysvcompat 197-4 -> 198-1
    core/tzdata 2013a-1 -> 2013b-1
    extra/dbus-glib 0.100-1 -> 0.100.2-1
    extra/gconf 3.2.5-3 -> 3.2.6-1
    extra/git 1.8.1.5-1 -> 1.8.2-1
    aur/google-chrome 25.0.1364.160-1 -> 25.0.1364.172-1
    ==> Continue upgrade ? [Y/n]
    ==> [V]iew package detail [M]anually select packages
    ==> --------------------------------------------------
    Also if there's any new package installed as a dependency to some other package, you are also acknowledged about it.

  • Is it possible to make db_recover more verbose?

    If you use db_recover there seems to be never anything on the standard output. I'd like to get an info from db_recover what it has done (if anything).
    db_recover -v results in nothing, if done again results in
    Finding last valid log LSN: file: 1 offset 28
    But I have no idea what this means.

    Thanks for the additional explanation,
    Normal recovery examines the contents of your environment's
    log files, and uses this information to ensure that your
    database files are consistent relative to the information
    contained in the log files. This ensures that the changes
    from each committed transaction appear in the database, and
    that no changes from an unfinished (or aborted) transaction do.
    Therefore if you are not using transactions/logging there is
    no recovery. Hence, db_recover is not the right choice
    in this case. The verbose flag is not showing anything, as
    there is nothing to do. The recovery process will create a new log,
    and that is what is being read on your 2nd pass.
    The documentation in the Reference Guide on Berkeley DB recovery at:
    http://www.oracle.com/technology/documentation/berkeley-db/db/ref/transapp/reclimit.html
    details how Berkeley DB recovery is based on write-ahead logging.
    From that documentation:
    This means that when a change is made to a database page, a
    description of the change is written into a log file. This
    description in the log file is guaranteed to be written to
    stable storage before the database pages that were changed
    are written to stable storage. This is the fundamental feature
    of the logging system that makes durability and rollback work.
    If the application or system crashes, the log is reviewed during
    recovery. Any database changes described in the log that were
    part of committed transactions and that were never written to
    the actual database itself are written to the database as part of recovery.
    Any database changes described in the log that were never committed
    and that were written to the actual database itself
    are backed-out of the database as part of recovery. This design
    allows the database to be written lazily, and only blocks from
    the log file have to be forced to disk as part of transaction commit.
    Thanks again,
    Sandra

  • WLST, how do I suppress unwanted stack traces and make WLST less verbose?

    Hi everyone,
    I've just started out with WLST but have ended up somewhat confused. My script works as intended but is very verbose.
    Suppose I want to log in:
    try:
         connect(user, "wrong_password", url)
    except WLSTException, err:
         print str(err)
         print "Run with option \"-h\" for help"The password is wrong so I get something like this printed out by me:
    {noformat}
    Error occured while performing connect : User: wm714, failed to be authenticated. Use dumpStack() to view the full stacktrace
    {noformat}
    But I also get a totally unwanted Java stack trace (before my message):
    {noformat}This Exception occurred at Fri May 21 15:49:01 CEST 2010.
    javax.naming.AuthenticationException [Root exception is java.lang.SecurityException: User: wm714, failed to be authenticated.]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:42)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:783)
    at weblogic.jndi.WLInitialContextFactoryDelegate.pushSubject(WLInitialContextFactoryDelegate.java:677)
    {noformat}
    I don't want to confuse the user with all that! I found this:
    http://objectmix.com/weblogic/529822-wlst-exception-handling-unwanted-stack-trace.html
    Which discusses WLS.commandExceptionHandler.setSilent(1) I'm running on WLS 10.3.0.0 and can execute that statement but it has no effect. I didn't even know about the WLS-object and I can find no documentation on commandExceptionHandler.
    On the matter of verbosity, is there any way to get rid of stuff like:
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)I avoid using the "interactive" commands like cd and use stuff like getMBean("domainRuntime:/ServerRuntimes/" + appServer.getName()
    + "/JMSRuntime/" + appServer.getName() + ".jms/JMSServers") but I still get the clutter printed out.
    Thanks!

    Workaround:
    wlstOut = tempfile.mktemp(suffix="_wlst.txt")
    redirect(wlstOut, "false")
    ... do useful stuff
    stopRedirect()
    os.remove(wlstOut)I would have preffered to turn off the messages (yes I could try /dev/null) but this will do. A funny thing is that the stack trace I wrote about doesn't appear in the log file. Somehow "redirect" must have a nice side effect.
    /Roger

  • Is it possible to make db_verify more verbose?

    db_verify has no verbose flag -v yet.
    If there are errors these are printed.
    I'd like db_verify to output something like "DB xy verified without errors" if all was fine.
    Thanks,
    gbkka

    Hi gbkka,
    Why would you add an unnecessary option/success message in the main product? DB->verify returns 0 on success and db_verify utility exits 0 on success.
    This is the beauty of open source software, you can hack Berkeley DB (for 4.7.25 release I would look in db_verify/db_verify.c - line 242) and return whatever success message you want to have for the db_verify utility.
    Bogdan

  • Make Pacman default y/N after update

    This is probably a newbie question but this looks like the place to ask it.  I couldn't find an answer in the manual or a wiki.
    Is it possible to make pacman default to No?
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (10): xf86-input-evdev-2.6.0-4 xf86-input-keyboard-1.6.0-3
    xf86-input-mouse-1.7.1-2 xf86-input-vmmouse-12.7.0-3
    xf86-video-fbdev-0.4.2-5 xf86-video-nv-2.1.18-4
    xf86-video-vesa-2.3.0-6 xorg-server-common-1.11.0-1
    xorg-server-1.11.0-1 xorg-server-xephyr-1.11.0-1
    Total Download Size: 2.12 MB
    Total Installed Size: 6.23 MB
    Proceed with installation? [Y/n]

    You can run
    echo n | sudo pacman -Syu
    which will "respond" 'No' to
    looking for inter-conflicts...
    Targets (4): run-parts-4.0.2-1 [0,02 MB] ca-certificates-20110502-1 [0,13 MB]
    imagemagick-6.7.2.1-1 [1,80 MB] lzo2-2.06-1 [0,10 MB]
    Total Download Size: 2,05 MB
    Total Installed Size: 10,84 MB
    Proceed with installation? [Y/n]
    and return to the prompt, so you can have a good look at what you're about to do. If you're sure about it, run 'pacman -Su'.

  • Is it possible to change the colour of the Pages' skin, since it is grey, is there any way to change it and make it less tedious?

    Is it possible to change the colour of the Pages' skin, since it is grey, is there any way to change it and make it less tedious?

    fruhulda wrote:
    If you see any grey"background" if is on the left and that is the comment field.
    Hi fruhulda
    It's not the comment field which is a restrictive description.
    In fact it's the window's background.
    Yvan KOENIG (VALLAURIS, France) lundi 26 septembre 2011 12:08:45
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • [SOLVED]Make Pacman think that I have libgl (NVIDIA driver)

    Hi,
    I've installed my Nvidia driver manualy because my card (NVS 310) do not work with the packages provides by pacman (even in AUR).
    Now I have a problem because pacman think I do not have
    libgl
    and do not allows me to install any graphical tools like libreoffice even if I ignore libgl:
    pacman -S libreoffice-fresh --ignore libgl
    resolving dependencies...
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1):
    I cannot install one of these package because then conflict with my manual install:
    pacman -S libgl
    :: There are 4 providers available for libgl:
    :: Repository extra
    1) mesa-libgl 2) nvidia-304xx-libgl 3) nvidia-340xx-libgl 4) nvidia-libgl
    Enter a number (default=1): 4
    resolving dependencies...
    looking for conflicting packages...
    warning: dependency cycle detected:
    warning: nvidia-utils will be installed before its nvidia-libgl dependency
    Packages (2) nvidia-utils-352.09-1 nvidia-libgl-352.09-1
    Total Installed Size: 125.31 MiB
    :: Proceed with installation? [Y/n]
    (2/2) checking keys in keyring [######################################] 100%
    (2/2) checking package integrity [######################################] 100%
    (2/2) loading package files [######################################] 100%
    (2/2) checking for file conflicts [######################################] 100%
    error: failed to commit transaction (conflicting files)
    nvidia-utils: /usr/bin/nvidia-bug-report.sh exists in filesystem
    nvidia-utils: /usr/bin/nvidia-cuda-mps-control exists in filesystem
    Errors occurred, no packages were upgraded.
    So my question is: Is there a way to make pacman understand that I have installed libgl manualy so it do not ask me to install it?
    Thanks
    The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    Last edited by mickours (2015-06-13 19:09:41)

    Thanks for your reply, that was fast!
    Make my own package is definitly the right way to do this and I will when I have some time.
    For now I tried the workaround I mentioned before:
    mickours wrote:The possible workaround is to remove my driver manually install any libgl than re-install manualy the driver and ignore libgl in the pacman configuration. But this is REALLY ugly...
    And it works!
    Thanks again

  • Is it possible to make a cell change colour of a period of time with rules?

    Is it possible to make a cell change colour of a period of time? for example
    Date
    Company
    Pick Up
    Destination
    Total
    Paid
    Sat, 5 Apr 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    FALSE
    Is it possible for B7 to change colour if 2 weeks have passed from the date in B1 and Paid is still FALSE and green if it's TRUE?
    Many thanks.

    Hi NeoNapster,
    This may be a start. Conditional Highlighting of a cell that depends upon the values in other cells can be tricky, but we can work on that.
    Date
    Company
    Pick Up
    Destination
    Total
    Weeks
    Paid?
    OK?
    Sat 5 Apr 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    29.0
    FALSE
    Overdue by 29.0 weeks
    Sat 4 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    3.0
    TRUE
    OK
    Wed 1 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    3.4
    FALSE
    Overdue by 3.4 weeks
    Wed 8 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    2.4
    FALSE
    Overdue by 2.4 weeks
    Mon 20 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    0.7
    FALSE
    OK
    Sat 25 Oct 2014
    COMPANY NAME
    PICK UP POINT
    THE DESTINATION
    £100.00
    0.0
    FALSE
    OK
    Table with one Header Row
    Formula in F2 (Weeks) and Fill Down
    =DUR2WEEKS(TODAY()−A2)
    That shows the Duration in weeks from the Date in column A until TODAY. You can hide this column.
    Column G can contain the text TRUE or FALSE or could be checkboxes.
    Formula in H2 and Fill Down
    =IF(G2,"OK",IF(F2>2,"Overdue by "&F2&" weeks","OK"))
    IF a cell in G is TRUE, then insert "OK". No need for any more checking.
    Else IF a cell in F is greater than 2, then insert "Overdue by" and the number of weeks
    Else insert "OK" (the invoice is less than 2 weeks old).
    Conditional Highlighting of the Body Cells in column H. Select the cells.
    Add a Rule...
    text is
    OK
    Green Fill
    Add a Rule...
    text is not
    OK
    Red Fill.
    Column H with the Conditional Highlighting rules:
    OK?
    Overdue by 29.0 weeks
    OK
    Overdue by 3.4 weeks
    Overdue by 2.4 weeks
    OK
    OK
    (And I have just discovered that colours do paste into this forum ).
    Regards,
    Ian.

  • I'm using GarageBand 10.0.1. Do the built-in drum tracks only come in mono format, or is it possible to make them true stereo (i.e. Left and Right channels outputing different signals, to sound like the kit has been panned across the stereo field)?

    I'm using GarageBand 10.0.1. Do the built-in drum tracks only come in mono format, or is it possible to make them true stereo (i.e. Left and Right channels putting out different signals, to sound like the kit has been panned across the stereo field)?

    All the Drum Kits available for GarageBand are mixed in stereo.
    Logic provides the same 18 Drum Kits also as "Producer Kits", which are multi-track outputs,. Each Drum Kit Piece (Kick, Snare, HH, etc) and also room mice and overheads are routed to individual channel strips.
    Here is a screenshot of one Drum Kit in Logic Pro X with individual Channels Strips. Each Channel Strip can be loaded with individual effects (compressor) and adduced with individual sends, etc.
    What that means is that all the Drummers are professionally recorded and sampled with individual mics. The Stereo Drums Kits are just "stereo mix-downs" for easier handling and less CPU demand. I explain all the details about the Drummer ecosystem in my graphically enhanced manual "GarageBand X - How it Works"
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com/Manuals/
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • I have an iPhone 5c but I wish to chnage the colour. Is this possible as it is less than 30 days old?

    I have an iPhone 5c but I wish to chnage the colour. Is this possible as it is less than 30 days old?

    If bought at an Apple store, yes. Make sure to bring the receipt and all packaging back, and they'll set you up for an exchange.

  • Is it possible to make an alert message.

    Hi,
    Anyone knows if it Is possible to make an alert-message that pops up ( f.e as a little window) on a specific day to remember me of something I have to do that day?
    Would be handy.
    Is this possible with Tiger or is there a third party application that does the trick?
    Thanks in advance.

    Try a free widget called quikAlert
    http://www.apple.com/downloads/dashboard/business/qwikalert.html
    Regards
    TD

  • Is it possible to make a copy of the Leopard install DVD?

    Is it possible to make a copy of the Leopard install DVD? If so, is there a special way this has to be done? I just found out that we needed to use the Leopard install DVD to recover a complete backup from Time Machine after a recent hard drive failure. We have the family pack of Leopard, so I would like to keep the original at home and send a copy when my daughter goes off to college in case she needs to recover again. Her machine was originally a Tiger MacBook, so those install disks will not work. If it is not possible to copy the DVD, is there a way to create a bootable utility to do a time machine recovery?

    This half-solved my problem. I have had no problems creating a backup copy for my intel based computers, but non-intel based computers are problematic; a G5 powermac tower and a G4 Powerbook. Both with super drives for single density burning. Both have Leopard running, installed from an install disc purchased from Apple. However, neither will mount the copy, but intel based computers will. have burnt/burned with both toast 9 and Disc Utility. Discs won't mount and are "spit out" by the drive.
    Power Mac G5 OS X: 10.5.4
    Model Identifier: PowerMac7,3
    Processor Name: PowerPC G5 (3.0)
    Processor Speed: 2 GHz
    Number Of CPUs: 2
    L2 Cache (per CPU): 512 KB
    Memory: 1.5 GB
    Bus Speed: 1 GHz
    Boot ROM Version: 5.1.8f7
    Any thoughts?
    -Jim

  • I am trying to find out if I can change a setting of the calendar in my iPhone.   When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change? SS

    I am trying to find out if I can change a setting of the calendar in my iPhone. 
    When I view calendar, in month, I would like to view it with the starting day of the week being Monday, not Sunday.  Is it possible to make this change?

    Hello SMEvans32
    You can use iCloud to share the Calendar, that way she will always be up to date on that particular section of your work calendar. If you want to use iCloud, I would recommend backing up so you have a safe copy of your data.
    iCloud: Calendar sharing overview
    http://support.apple.com/kb/PH2689
    iCloud Setup
    http://www.apple.com/icloud/setup/
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Top-Level Navigation Bar - Is it possible to make it 3 levels?

    Dear Portal Experts,
    Could someone please advise if it is possible to make the Top-Level Navigation Bar show more than 2 menu levels?  I looked at the document and it said we can only have 1 or 2 levels.  But I'm just wondering if there is any way around it.  Thanks.

    yes you are right .we can set only 1 0r 2 levels but good news is there is a workaround
    follow this blog
    Tag  Libraries: Creating a Hover Menu in SAP NetWeaver Portal
    reward points if helpful

Maybe you are looking for

  • Change name of open PDF file - Edit the file - Save OK

    Possibility to open a PDF file, change its name in the Finder, edit the PDF file inside (eg., using the yellow fluorescent marker) and then save it. Now you cannot do it because you get an error. Yet, that can be done virtually on any other Mac appli

  • Wifi will say that it is working but will not load any pages.

    I've been having this problem for a while on my MacBook. It will connect to my home network and the little indicator says it is connected but whenever I try to load a page nothing will happen. I've tried a lot of things that haven't worked and the ro

  • HP just told me that my mac has been infected. Need to find out if this is really has happen.

    I need to find out if my macbook has been infected, as told to me by H/P!

  • Full bleed pages

    I am about to order my first iPhoto book and thought I should check if anyone knows: if I have composed a 11" x 8.5" page in Photoshop at 300 dpi and drop it onto a full bleed page in my iPhoto book, will it be printed as it appears or will they use

  • Component URI

    Hello All, We are implementing the search functionality in NW04 portal. My portal version is EP6.0SP16. The search is getting accessed in the masthead for both the logged in users and the anaonymous user. Now for this I have a code for opening up a s