(SOLVED)recent update .pacnew files what to do?

Maybe I'm having a duh! moment but today #pacman -Syu gave me /etc/makepkg.conf and /etc/makepkg.conf.pacnew that are identical.; and /etc/pacman.conf(my edited one) and /etc/pacman.conf.pacnew(like new install file). Can I just delete the .pacnew files and keep the original files?
Last edited by lestoil (2009-10-02 17:38:30)

maybe yes, maybe no!
you need to check every .pacnew, if the .pacnew is identical to the original file, you can remove it.
if it isn't identical, you need to merge this 2 files...
i would like to help you a bit more, but my poor english stop me xD
Sorry, for more info, the wiki
http://wiki.archlinux.org/index.php/Pac … save_Files

Similar Messages

  • [Solved] A Challenge: Loop meld to update *.pacnew files

    I got no secret, I love meld .  Does a great job of showing differences alot of times if even scattered all over the page, allows for copy and paste...  vimdiff is good but requires a much more keypresses, copy and paste isn't as elegant, and with my fixed drop-down terminal is just too narrow to be able to do it well.  So what I usually end up doing is:
    find /etc -type f -name "*.pacnew"
    and just go through them one at a time:
    kdesu meld /etc/config /etc/config.pacnew
    I haven't do much work with loops, so I was hoping that someone that knew a little about them that could create a script that would go through them one by one.  I suppose this is going to be a little tricker because (I imagine) it's going to have to detect when the windowed instance closes.
    From the knowledge I know, I would do:
    #!/bin/bash
    # etc-update - merge *.pacnew files with original configurations with meld
    pacnew=$(find /etc -type f -name "*.pacnew")
    for i in $pacnew
    do
    kdesu meld $i
    done
    Which isn't going to work very well.  Well, I guess it could, but it's going to open them all at once and leave a nice scruched-up taskbar with *.pacnew files.  Like to be able to go through them one by one.
    Anyone had any experiences at this that could help?
    Last edited by Gen2ly (2009-10-03 01:46:55)

    brisbin33 wrote:
    http://pbrisbin.com:8080/bin/pacnews
    just do a find/replace of vimdiff for meld (or whatever...)
    Nice script, bris.  If I had know about that before, I'd be using it.   Do like the idea of the walk-through process and the saving of the the current one.
    lol, I just read your last post and just what I thought about.
    ugkbunb wrote:I just edited the pacdiff script to use meld and it worked great : ) -- I am not at home atm, but if you would like I can post up my edited pacdiff script.
    Yeah, I saw that on the wiki.  Said it was for CLI though so I didn't get to try.
    @ lolilolicon, and Procyon
    Still learning about pids, what I have seen was more complicated than this.  Pretty clever.
    Allan wrote:
    Maybe....
    #!/bin/bash
    # etc-update - merge *.pacnew files with original configurations with meld
    pacnew=$(find /etc -type f -name "*.pacnew")
    for i in $pacnew
    do
    kdesu meld $(basename $i .pacmew) $i &
    wait
    done
    Note - untested
    Ah, very nice.  Also fits into my knowledge of bash.   Hadn't thought about just using & but it works great.  Had to truncate the file extension and just used a bash filter:
    #!/bin/bash
    # pacnew-diff - merge *.pacnew files with original configurations with meld
    pacnew=$(find /etc -type f -name "*.pacnew")
    for config in $pacnew
    do
    kdesu meld ${config%\.*} $config &
    wait
    done
    Like to be able to do a backup of the current config and then erase the pacnew file afterword, but havn't found out a way to do that without having to type in a password everytime, but, I guess, that can easily be done elsewhere.
    Last edited by Gen2ly (2009-10-02 20:27:17)

  • (SOLVED) Trouble merging .pacnew files with meld

    Dear Archers
    Unable to merge .pacnew files, following the example on ArchWiki. Only, the difference between the two files shown
    [root@KRISHNA san2ban]# #!/bin/bash
    [root@KRISHNA san2ban]# # pacnew-update - merge *.pacnew files with original configurations with meld
    [root@KRISHNA san2ban]#
    [root@KRISHNA san2ban]# pacnew=$(find /etc -type f -name "*.pacnew")
    [root@KRISHNA san2ban]#
    [root@KRISHNA san2ban]# for config in $pacnew; do
    > # Merge with meld
    > gksu meld ${config%\.*} $config &
    > wait
    > done
    [1] 1578
    GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: The connection is closed)
    GConf Error: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: The connection is closed)
    Also, on the Archwiki, we are advised to change 'kdesu' to 'gksudo' for GNOME, but I think it should be gksu
    Last edited by San2ban (2011-08-18 14:07:53)

    San2ban wrote:
    Dear Karol
    Thanks. yes, manual intervention is needed
    Wonder how it will be without you guy's guiding us
    You bet your ass, manual intervention is needed. If you try to blindly just merge *.pacnew with original files, it might lead to an unbootable system. Especially when you get pacnew files for /etc/group and /etc/inittab

  • [Solved] Recent updates cause Gramps error: No module named _bsddb

    Did a 'pacman -Syu' today and Gramps fails to start:
    $ gramps
    2599: ERROR: gramps.py: line 142: Unhandled exception
    Traceback (most recent call last):
    File "/usr/share/gramps/gui/grampsgui.py", line 271, in __startgramps
    from GrampsLogger import RotateHandler, GtkHandler
    File "/usr/share/gramps/GrampsLogger/__init__.py", line 45, in <module>
    from _GtkHandler import GtkHandler
    File "/usr/share/gramps/GrampsLogger/_GtkHandler.py", line 4, in <module>
    from _ErrorView import ErrorView
    File "/usr/share/gramps/GrampsLogger/_ErrorView.py", line 15, in <module>
    from _ErrorReportAssistant import ErrorReportAssistant
    File "/usr/share/gramps/GrampsLogger/_ErrorReportAssistant.py", line 14, in <module>
    import bsddb
    File "/usr/lib/python2.7/bsddb/__init__.py", line 67, in <module>
    import _bsddb
    ImportError: No module named _bsddb
    Was working fine a few days ago ...
    Last edited by ninian (2011-07-07 20:20:32)

    Please put it in the bug report, as installing python2-bsddb didn't seem to fix the issue...
    Report for python2: https://bugs.archlinux.org/task/25045 [CLOSED]
    EDIT:
    In fact, the problem comes from gramps, which should import bsddb3, see GRAMPS wiki.
    Report for gramps (the config should be changed to use bsddb3 by default): https://bugs.archlinux.org/task/25050
    Last edited by Fififox (2011-07-07 08:54:32)

  • ITunes Used to Work, After Recent Update, itl file error

    I have 2 huge need questions to be answered.
    1. First off, my iTunes worked great. Never was anything wrong, went online at my work and downloaded the lastest update to a cd. Brought the cd home and installed it onto my computer. Then I click on the iTunes Program Logo and error: "..itl file cannot be found/created...default located..My Music Folder.." So maybe I moved it, nope there is the itl file right there. Next I descided well maybe I installed it wrong. So I uninstalled it and reinstalled it and the problem still occured. I have check everywhere for my problem, and yes I have found some people who have come accross it. I still don't know whats wrong. Please, if you know anything list me the things I need to do.
    2. Second off, my iTunes and computer has never Registered an iPod connect to the computer. All it reads is a iPod Camera in the USB directory. (I own the iPod Touch). How do I get this to work as well.
    Thank You,
    I hope someone can HELP!

    BUMP! Please Help!

  • [SOLVED] recent update seems to have broken my keyboard

    hi guys.
    i've just turned on my arch 64 system after updating last night (or possibly the day before...)  and when i get to the gdm login the keyboard doesnt work. I can confirm the problem is not with the keyboard itself as i can still edit the boot options in grub. anyone else have this or have i broken something...
    thanks in advance,
    david
    (edit:  on screen keyboard doesnt seem to be working either)
    Last edited by dinkydarko (2010-04-08 08:12:11)

    dinkydarko wrote:hald wouldnt make a difference to the one screen keyboard in gdm would it?  is there an easy way to check if its running?
    I could be wrong, but my understanding is hal would be needed as soon as X starts - so yes it could affect login with gdm. That would also fit with it not working in slim or starting xterm.
    If you're pretty sure it's related to the updates it might be helpful to post the parts of pacman.log that are relevant so we can see what exactly got updated.

  • [SOLVED] .recently-used.xbel files in my home directory

    There are dozens of these files in my home directory and they are still creating. Does anyone know how to get rid of them?
    I think they store history of some apps like mplayer, openoffice and so on, but I think I don't really need tons of them.
    http://ompldr.org/vMWszNw
    They looks like this (but with much more <bookmark> entries):
    <?xml version="1.0" encoding="UTF-8"?>
    <xbel version="1.0"
    xmlns:bookmark="http://www.freedesktop.org/standards/desktop-bookmarks"
    xmlns:mime="http://www.freedesktop.org/standards/shared-mime-info"
    >
    <bookmark href="file:///****.JPG" added="2010-07-19T13:46:13Z" modified="2010-09-13T08:30:57Z" visited="2010-07-19T13:46:13Z">
    <info>
    <metadata owner="http://freedesktop.org">
    <mime:mime-type type="image/jpeg"/>
    <bookmark:applications>
    <bookmark:application name="File Manager" exec="&apos;/usr/bin/gimmage&apos;" modified="2010-09-13T08:30:57Z" count="5"/>
    </bookmark:applications>
    </metadata>
    </info>
    </bookmark>
    <bookmark href="file:///****.mp3" added="2010-07-19T16:39:53Z" modified="2010-09-05T16:19:07Z" visited="2010-07-19T16:39:53Z">
    <title>****</title>
    <info>
    <metadata owner="http://freedesktop.org">
    <mime:mime-type type="audio/mpeg"/>
    <bookmark:applications>
    <bookmark:application name="gnome-mplayer" exec="&apos;gnome-mplayer %u&apos;" modified="2010-09-05T16:19:07Z" count="4"/>
    </bookmark:applications>
    </metadata>
    </info>
    </bookmark>
    </xbel>
    Last edited by Amunak (2010-11-10 19:04:53)

    I have this in my ~/.gtkrc-2.0
    gtk-recent-files-max-age=0
    I believe I read about this long time ago here: http://developer.pidgin.im/ticket/8772#comment:3
    See also:
    http://ubuntuforums.org/showthread.php?t=1153504
    http://library.gnome.org/devel/gtk/2.17 … iles-limit
    Does it work for you?
    Last edited by lolilolicon (2010-10-26 06:59:04)

  • [Solved] Recent update seems to have broke automount in XFCE

    I seem to have managed to break my removable storage support.  It had been working since installation several months ago.  I have made no modifications to anything in /etc other than those that would be performed by package updates.
    Tried copying /etc/skel/.xinitrc to ~/ and added exec dbus-launch ck-launch-session startxfce4.
    Checked output of groups to ensure I'm in the storage group.
    Checked for presence of org.freedesktop.udisks.pkla:
    [Local Users]
    #Identity=unix-user: your_username
    Identity=unix-group:storage
    Action=org.freedesktop.udisks.*
    ResultAny=yes
    ResultInactive=no
    ResultActive=yes
    System updates from the last week  from /var/log/pacman.log:
    [2011-10-11 19:47] Running 'pacman -Syu'
    [2011-10-11 19:47] synchronizing package lists
    [2011-10-11 19:47] starting full system upgrade
    [2011-10-11 19:48] upgraded empathy (3.2.0-1 -> 3.2.0.1-1)
    [2011-10-11 19:48] upgraded gtksourceview3 (3.2.0-1 -> 3.2.1-1)
    [2011-10-11 19:48] upgraded imagemagick (6.7.2.8-1 -> 6.7.3.0-1)
    [2011-10-11 19:48] upgraded libass (0.9.13-1 -> 0.10.0-1)
    [2011-10-11 19:48] upgraded mpfr (3.1.0-2 -> 3.1.0.p1-1)
    [2011-10-11 19:48] upgraded shared-mime-info (0.90-1 -> 0.91-1)
    [2011-10-11 19:48] upgraded transmission-gtk (2.41-1 -> 2.41-2)
    [2011-10-11 20:02] Running 'pacman -S --asdeps xmlto docbook-xsl'
    [2011-10-11 20:02] installed perl-yaml-syck (1.17-2)
    [2011-10-11 20:02] installed perl-test-pod (1.44-1)
    [2011-10-11 20:02] installed xmlto (0.0.24-1)
    [2011-10-11 20:02] installed docbook-xsl (1.76.1-1)
    [2011-10-12 21:41] Running 'pacman -S gnome-bluetooth'
    [2011-10-12 21:41] Running 'pacman -Syu'
    [2011-10-12 21:41] synchronizing package lists
    [2011-10-12 21:41] starting full system upgrade
    [2011-10-12 21:48] upgraded amule (10624-1 -> 10645-1)
    [2011-10-12 21:48] upgraded farsight2 (0.0.29-1 -> 0.0.31-1)
    [2011-10-12 21:48] upgraded libsasl (2.1.23-7 -> 2.1.23-8)
    [2011-10-12 21:48] upgraded systemd (36-1 -> 37-1)
    [2011-10-12 21:48] upgraded systemd-arch-units (20110902-1 -> 20111011-1)
    [2011-10-12 21:48] upgraded telepathy-glib (0.15.7-1 -> 0.15.9-1)
    [2011-10-12 21:48] upgraded xf86-input-evdev (2.6.0-3 -> 2.6.0-4)
    [2011-10-12 21:48] upgraded xf86-input-synaptics (1.4.1-1 -> 1.5.0-1)
    [2011-10-12 21:48] upgraded xf86-video-intel (2.15.0-2 -> 2.16.0-1)
    [2011-10-12 21:48] upgraded xkeyboard-config (2.2.1-1 -> 2.4.1-1)
    [2011-10-12 21:48] upgraded xorg-server-common (1.10.4-1 -> 1.11.1-2)
    [2011-10-12 21:48] upgraded xorg-server (1.10.4-1 -> 1.11.1-2)
    [2011-10-12 21:48] upgraded xorg-xinit (1.3.0-3 -> 1.3.1-1)
    [2011-10-14 16:04] Running 'pacman -Syu'
    [2011-10-14 16:04] synchronizing package lists
    [2011-10-14 16:04] starting full system upgrade
    [2011-10-14 16:04] upgraded coreutils (8.13-2 -> 8.14-1)
    [2011-10-14 16:04] warning: directory permissions differ on var/lock/
    filesystem: 755  package: 1777
    [2011-10-14 16:04] upgraded filesystem (2011.08-1 -> 2011.10-1)
    [2011-10-14 16:04] upgraded mkinitcpio (0.7.3-1 -> 0.7.4-1)
    [2011-10-15 10:35] Running 'pacman -Syu'
    [2011-10-15 10:35] synchronizing package lists
    [2011-10-15 10:35] starting full system upgrade
    [2011-10-15 10:35] upgraded nettle (2.2-1 -> 2.4-1)
    [2011-10-15 10:35] upgraded gnutls (3.0.3-1 -> 3.0.4-1)
    [2011-10-15 10:35] upgraded inetutils (1.8-5 -> 1.8-6)
    [2011-10-15 10:35] upgraded laptop-mode-tools (1.59-1 -> 1.60-1)
    [2011-10-17 08:08] Running 'pacman -Syu'
    [2011-10-17 08:08] synchronizing package lists
    [2011-10-17 08:08] starting full system upgrade
    [2011-10-17 08:08] upgraded gnutls (3.0.4-1 -> 3.0.4-2)
    [2011-10-17 08:08] upgraded hyphen (2.7.1-2 -> 2.8.3-1)
    [2011-10-17 08:08] upgraded imagemagick (6.7.3.0-1 -> 6.7.3.1-1)
    [2011-10-17 08:08] upgraded iso-codes (3.14-1 -> 3.29-1)
    [2011-10-17 08:08] upgraded libpulse (1.0-3 -> 1.0-4)
    [2011-10-17 08:08] upgraded man-pages (3.32-1 -> 3.35-1)
    [2011-10-17 08:09] upgraded pulseaudio (1.0-3 -> 1.0-4)
    [2011-10-17 08:09] upgraded syslog-ng (3.2.4-3 -> 3.3.1-1)
    [2011-10-17 08:09] upgraded telepathy-glib (0.15.9-1 -> 0.16.0-1)
    [2011-10-17 09:09] Running 'pacman -S consolekit'
    [2011-10-17 09:09] upgraded consolekit (0.4.5-1 -> 0.4.5-1)
    [2011-10-17 09:09] Running 'pacman -S gvfs-afc'
    [2011-10-17 09:09] installed gvfs-afc (1.10.0-2)
    [2011-10-17 09:09] Running 'pacman -Rsn gvfs-afc'
    [2011-10-17 09:09] removed gvfs-afc (1.10.0-2)
    Edit:
    Installed gvfs-afc and edited order on xinitrc to ck-launch-session dbus-launch startxfce4.  Seems to work.
    Never had to worry about any of these before though
    Last edited by android_808 (2011-10-17 08:57:25)

    Hi,
    I automount four NFS mounts from my ubuntu server through /etc/fstab. This used to work perfectly. Until the latest filesystem update. The removable devices do not get mounted. They do not appear in Nautilus. But when I plug in a USB, they all get activated.
    Anyway, I will try your solution.
    Regards,
    Alexander

  • What is the max clob length for Forms 6i with most recent updates.

    I am trying to determine what the largest clob is that can be handled by Forms 6i with the latest patches installed. I have searched the forum and the help files and have found a bunch of different answers, but nothing useful - nothing current.
    I have a record that has a clob field with 28,213 characters (including spaces) or 9902 characters (without spaces). Saved as a text file, it is 29kb.
    To read and work with the data in Forms, I have to set the DATA: Maximum Length to 110000, almost 3 times the length of the actual data. I can read and edit the field without problems.
    My questions are:
    1. what is the maximum size of data in a clob field that will work with Forms 6i and Oracle 10R2 database (Forms with the most recent update)?
    2. what is the Maximum Length - It certainly doesn't seem to be character. How do I set this - 3x Actual????
    Thanks for the help
    Glenn

    In theory it should be 64k bytes. In practice its often a bit less than that.

  • Help! I have recently updated LR5 and before doing so I was able to email files to clients! (Very Convenient) Now my problem is I have not been able to get pass this error message reading "failed to send" which gives no further detail about what to do to

    Help! I have recently updated LR5 and before doing so I was able to email files to clients! (Very Convenient) Now my problem is I have not been able to get pass this error message reading "failed to send" which gives no further detail about what to do to rectify the situation. Someone please guide me through this! Thanks in advance!

    Did this ever get resolved, as I am having the same issue.  Trying to learn LR5 AFTER a decade using Aperture.   I was able to set up a validated account but when I try to send an e-mail or photo I get the simple " Failed to Send " message.   Using latest version of Mac OS X.

  • After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!

    After the recent update on my Ipad Mini. It crashes frequently. The latest is that during saving, it crashed. Now I can't open my project file. It says, Not a valid Adobe Photoshop Touch file. What happened?!!

    Sufficient free storage.... tried the reboot and install... Just received an iOS update I'll install tonight and do another reboot...see what happens. Going to have to start saving double..

  • M4b files will not sync after recent update

    I recently updated the software on my ipod touch 4th gen. After updating, I tried to sync my playlists, but not all of the files would sync. After some investigation, I figured out that the files that wouldn't sync were audio books in m4b format. They synced just fine before the update. What is the problem here?

    Thank you for the response, I have not tried a restore, won't that wipe out everything on the phone? Leaving on vacation and don't have time to start over, I'll have to try this after I get back if the next response does not solve the problem.

  • Why does this keep popping up five tabs at a time: Index of file:///C:/Program Files/Mozilla Firefox/ - please note that I recently updated firefox and tried disabling plug-ins, etc. My virus software is up to date. Thanks.

    The page listed above pops up in a Firefox browser window with five tabs open usually when checking email but sometimes while surfing the net and repeatedly. Some include a 'problem loading page' notice with the following:
    Firefox can't find the server at www.xn---jca9qmb.com.
    or
    Firefox can't find the server at www.xn--dx%if-61a864d.com.
    These are the last two of the five tabs that pop up together.
    This has happened nine times in the past five to ten minutes.
    Since my Norton is up to date and I have recently updated Firefox and plug-ins, I assume this is a software problem however disabling plug-ins and other items has not solved the problem. Any help would be appreciated.

    Hi
    YES it does, HOWEVER in the past Most (not all) Beta auto updates did not trigger Comodo Firewall problem (BUT occasionally did) and I resolved the same way (namely uninstalling and installing a full install.
    I do not know if having Aurora AND BETA both installed causes any conflicts regarding this issue
    I am NOW going to uninstall Maintenance service, Beta and Aurora retaining only my add-on and preferences. I will delete all Comodo rules for them Then I will download an older update of both Beta and Aurora and see what happens
    Will report back in 30 mins

  • I cannot open camera raw in photoshop on my mac computer.  I have the most recent updates and was wondering what I should do next.

    I have downloaded the most recent updates on my computer to Photoshop and to Bridge and I am still unable to open images in camera raw to edit them.  When I try to open the "Camera Raw Preferences" in Bridge, nothing happens.  Could this be a problem with my computer and not the software?  Any advice would be GREATLY appreciated. 

    Sorry, I cannot take your word for your "the most recent updates".  Very often users think they have the latest and greatest and it turns out they are wrong.
    Please specify EXACT version numbers.
    Also, more info is needed.
    BOILERPLATE TEXT:
    If you give complete and detailed information about your setup and the issue at hand, such as your platform (Mac or Win), exact versions of your OS, of Photoshop and of Bridge, machine specs, what troubleshooting steps you have taken so far, what error message(s) you receive, if having issues opening raw files also the exact camera make and model that generated them, etc., someone may be able to help you.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email a

    Have recently updated Adobe Reader and now unable to open downloaded documents - Message received is could not open 'file name.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded). When I check the file it shows Zero KB downloaded but the file appears - any suggestions?

    Obviously your download was not successful.
    What is your operating system?  How exactly do you download such files?

Maybe you are looking for

  • How to plot with multi colors in a single XY graph?

    Hi,   I'm making hesteresis measurements. In this case, I collect data while sweeping voltage first from 0 to 2V, and then back from 2V to 0V, and the data are plotted in a single XY graph. In the XY graph, I want forward sweep plot of one color whil

  • Lookout "Client" Not Updating with Correct Numbers

    We have Lookout 6.6 processes running on full development servers at separate locations.  At Station  1, Lookout is communicating with plcs collecting data. The data here is updating properly.  At Station 2, we have expressions looking at data on the

  • IPhone 4 New SIM Card?

    I was told that I need to purchase a new SIM card for the new iPhone 4 for it to work. Can't I just take out my current SIM card and put it in the new iPhone? That is what they did when my wife got her new iPhone 3GS last year.

  • ORA-28522 error when reading data from DB2 via hsodbc

    Hi All, I'm trying to connect to a DB2 database running on an AS/400 system, via Oracle HS. I'm using Oracle 9.2.08. The DB2 version is V4R5. My ODBC DSN is called TEST_odbc. The initTEST_sid.ora file contains the following: HS_FDS_CONNECT_INFO = TES

  • Exchange DB Recovery

    Hi, While discussing some of the points with folks we just got in to a topic of Exchange DB recovery. If i am running a Exchange 2007/2010 and if my Disk drive where DB is resided is crashed completely and do not have any backup. Now i am left with o